Download
cloud solutions enn unapuu enn@cc ttu ee n.
Skip this Video
Loading SlideShow in 5 Seconds..
Cloud solutions Enn Õunapuu enn@cc.ttu.ee PowerPoint Presentation
Download Presentation
Cloud solutions Enn Õunapuu enn@cc.ttu.ee

Cloud solutions Enn Õunapuu enn@cc.ttu.ee

216 Views Download Presentation
Download Presentation

Cloud solutions Enn Õunapuu enn@cc.ttu.ee

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Cloud solutionsEnn Õunapuuenn@cc.ttu.ee

  2. Cloud computing “The rise of the cloud is more than just another platformshift that gets geeks excited. It will undoubtedly transform the IT industry, but it will alsoprofoundly change the waypeople work and companies operate.” —The Economist, “Let it Rise,” 10/23/08

  3. Cloud Computing There arethree main, accepted levels of cloud-computing offerings. They are: Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (Saas).

  4. IT is a friction Contract negotiations Bandwidth management Power/cooling management Purchasing decisions Etherogeneous hardware Physical growth, relocation Disasters Human effort The two prediction problems

  5. The two prediction problems

  6. Amazon.com Three main businesses: - retail Largest e-commerce player - merchants - developers (AWS)

  7. Why Amazon Web Services? Low margin, high volume Operational excellence Tech expertise

  8. 2. Amazon Web Services

  9. Amazon Web Services S3 - Simple Storage Service CloudFfront EC2 - Elastic Compute Cloud SQS - Simple Queue Service Premium Support SimpleDB Elastic MapReduce Mechanical Turk

  10. AWS principles Easy to use Security (working on SOX, SAS 70 type II) Flexible Pay per use (no investment) No commitment API platform neutral

  11. How are we doing? AWS developers > 540,000 S3 Objects > 52 Billion (was 800 million in 2006) AWS Amazon's Global Websites

  12. Amazon S3 Highly durable internet storage Multiple tier 1 bandwidth providers Simple Durable Cost effective No capacity planning is needed http://aws.amazon.com/s3/

  13. Amazon Cloudfront Reliable Content Delivery Content Delivery Service Easy setup, no commitment Elastic and reliable Cost effective 8 locations in the US 4 locations in Europe 2 locations in Asia

  14. Amazon EC2 Virtual servers on demand EC2 = Elastic Compute Cloud Pay by the hour from S(small), 0.10 $/h, to XL 0.80 $/h Linux, Windows, OpenSolaris Management Console / API Public AMIs, or bundle your own

  15. Amazon EC2 (continued) Virtual servers on demand EBS = Elastic Block Store (1 to 1,000 GB) EBS is redundant and persistent US/EU regions Multiple availability zones Elastic IP SLA 99.95 %

  16. EC2 reserved instances EC2 for steady state usage Reserved instances, 1 year (3 years) Small : 325 $ (500 $) + 0.03 $/h Instance - normal / r.i. 1 year / r.i. 3 years Small - 876 / 587.8 / 429.47 (costs for 1 year)

  17. Amazon Elastic MapReduce Hosted Hadoop Framework Hadoop: Java Framework Data Intensive distributed applications Amazon EC2 + Amazon S3 Use cases: Web Indexing Data Mining Machine Learning Financial Analysis Scientific Simulation

  18. Partners The Amazon Web Services Ecosystem Microsoft IBM Oracle Sun Microsystems Red Hat Capgemini Facebook Salesforce Other forms

  19. 3. Use cases

  20. Once were startups: Smugmug Don MacAskill, founder, CTO: "We looked at Amazon S3’s pricing, design and ease-of-use and were blown away"

  21. Web: Indy 500 Indianapolis 500 Allstate 400 Red Bull Indianapolis MotoGP 3.1 million online visitors Adrian Payne: "We selected AWS to quickly scale and have full control over computing resources"

  22. Enterprise: Eli Lilly Pharmaceutical company 34.5 Billion $ market cap 18.63 Billion $ revenue Amazon EC2 for research Dave Powers: "The speed of implementation, flexibility, and collaborative capabilities are absolutely disruptive"

  23. Academic: Harvard Harvard Medical School Dr. Peter Tonellato "The combination of AWS and Oracle allowed us to focus our time and energy on simulation development, rather than technology, to get results quickly"

  24. 4. Conclusions

  25. The future EC2: load balancing EC2: auto scaling AWS: monitoring AWS certification (developers) Expansion in Asia More features US - EU Suggestions?

  26. Amazon usage http://aws.amazon.com/

  27. Windows azure

  28. Platform Continuum On-Premises Servers Hosted Servers Cloud Platform • Bring your own machines, connectivity, software, etc. • Complete control • Complete responsibility • Static capabilities • Upfront capital costs for the infrastructure • Renting machines, connectivity, software • Less control • Fewer responsibilities • Lower capital costs • More flexible • Pay for fixed capacity, even if idle • Shared, multi-tenant infrastructure • Virtualized & dynamic • Scalable & available • Abstracted from the infrastructure • Higher-level services • Pay as you go

  29. Windows Azure Platform Compute: Virtualized compute environment based on Windows Server Storage: Durable, scalable, & available storage Management: Automated, model-driven management of the service Database:Relational processing for structured/unstructured data Service Bus: General purpose application bus Access Control: Rules-driven, claims-based access control AppFabric

  30. Windows Azure Your Service DNS LB Web Portal (API) LB Fabric Controller

  31. Service Deployment Service Service Service Model Your Service DNS LB Web Portal (API) DNS config LB Fabric Controller

  32. Service Scaling Your Service Service Service DNS Service Service Service Service Service LB Service Web Portal (API) LB Model Fabric Controller

  33. Service Monitoring & Recovery Your Service Service DNS Service Service Service LB Web Portal (API) ! LB Model Fabric Controller

  34. Roles • Windows Server 2008 x64 • IIS 7 • ASP.NET 3.5 SP1 • FastCGI – PHP • Native Code • Full Trust • User Mode • Windows Server 2008 x64 • .NET Start • Native Code • User Mode • Inbound any TCP Port Web Role Worker Role

  35. Service Models & Roles Bid Now Service Worker X Web A (port 80) Main Web 100 instances Image Resize 2 instances Worker Y Auction Processing 25 instances Web B (port 8081) Admin 2 instances Worker Z Notifications 10 instances

  36. Storage • Table • Entity Data Store • Partitioned by key • Unlimited keys • Not a RDBMS • Blob • Blob Storage • Partitioned by container • Unlimited containers • CDN Capable • Queue • Simple Queue • Read at least once • Delete to remove message, otherwise is returned to queue • Partitioned by Queue Name

  37. Pricing • Compute • $0.12 / CPU hour (or part thereof) • ~ 1.7 GHz, 2GB Ram, Single Core • $2.88 / Day • $86.4 / 30 days (billing period) • 2 instances = $172.80 / month • Storage • $0.15 / GB/Month • Bandwidth • $0.10 /GB inbound • $0.15 /GB outbound

  38. SQL Azure • Initial Services • Database – Core SQL Server database capabilities • Future Services • Data Sync – Enables the sync framework • Additional SQL Server capabilities available as a service: Business Intelligence and Reporting Data Sync Reporting Business Intelligence Database

  39. SQL AzureDeployment Web Portal (API) DB Script SQL Azure TDS

  40. SQL AzureAccessing databases Web Portal (API) Your App SQL Azure TDS Change Connection String

  41. Database Replicas Single Database Multiple Replicas Replica 1 Single Primary Replica 2 DB Replica 3

  42. Shared Environment Hardware Boundary Hardware Boundary C D A B D Hardware Boundary Hardware Boundary C C B A A B D

  43. SQL AzureDatabase Monitoring & Recovery Web Portal (API) ! Your App SQL Azure TDS

  44. Pricing WEB Edition Business Edition 10GB Database $99.99 / month Bandwidth $0.10 /GB inbound $0.15 /GB outbound • 1 GB Database • $9.99 / month • Bandwidth • $0.10 /GB inbound • $0.15 /GB outbound

  45. Pricing • Type specified by MAXSIZE on CREATE DATABASE command or portal (post-CTP1) • Cannot switch between Web and Business Editions • Monthly billing period

  46. Windows Azure Platform Benefits Windows Azure SQL Azure Higher Level of Abstraction Hardware Server OS Network Infrastructure Database Server Availability Automated Database Management & Replication Scalability Databases Partitioning Developer Experience Familiar SQL Environment • High Level of Abstraction • Hardware • Server OS • Network Infrastructure • Web Server • Availability • Automated Service Management • Scalability • Instance & Partitions • Developer Experience • Familiar Developer Tools

  47. AppFabric Extending .NET to the cloud with Internet Scale Utility Services ServiceBus AccessControl Service Bus: General purpose application bus Access Control: Rules-driven, claims-based access control

  48. Pricing & SLA • $0.15 / 100k “transactions” • Transaction: • ACS Tokens • Messages on Service bus • Bandwidth • $0.10 /GB inbound • $0.15 /GB outbound