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
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).
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
Amazon.com Three main businesses: - retail Largest e-commerce player - merchants - developers (AWS)
Why Amazon Web Services? Low margin, high volume Operational excellence Tech expertise
Amazon Web Services S3 - Simple Storage Service CloudFfront EC2 - Elastic Compute Cloud SQS - Simple Queue Service Premium Support SimpleDB Elastic MapReduce Mechanical Turk
AWS principles Easy to use Security (working on SOX, SAS 70 type II) Flexible Pay per use (no investment) No commitment API platform neutral
How are we doing? AWS developers > 540,000 S3 Objects > 52 Billion (was 800 million in 2006) AWS Amazon's Global Websites
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/
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
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
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 %
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)
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
Partners The Amazon Web Services Ecosystem Microsoft IBM Oracle Sun Microsystems Red Hat Capgemini Facebook Salesforce Other forms
Once were startups: Smugmug Don MacAskill, founder, CTO: "We looked at Amazon S3’s pricing, design and ease-of-use and were blown away"
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"
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"
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"
The future EC2: load balancing EC2: auto scaling AWS: monitoring AWS certification (developers) Expansion in Asia More features US - EU Suggestions?
Amazon usage http://aws.amazon.com/
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
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
Windows Azure Your Service DNS LB Web Portal (API) LB Fabric Controller
Service Deployment Service Service Service Model Your Service DNS LB Web Portal (API) DNS config LB Fabric Controller
Service Scaling Your Service Service Service DNS Service Service Service Service Service LB Service Web Portal (API) LB Model Fabric Controller
Service Monitoring & Recovery Your Service Service DNS Service Service Service LB Web Portal (API) ! LB Model Fabric Controller
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
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
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
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
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
SQL AzureDeployment Web Portal (API) DB Script SQL Azure TDS
SQL AzureAccessing databases Web Portal (API) Your App SQL Azure TDS Change Connection String
Database Replicas Single Database Multiple Replicas Replica 1 Single Primary Replica 2 DB Replica 3
Shared Environment Hardware Boundary Hardware Boundary C D A B D Hardware Boundary Hardware Boundary C C B A A B D
SQL AzureDatabase Monitoring & Recovery Web Portal (API) ! Your App SQL Azure TDS
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
Pricing • Type specified by MAXSIZE on CREATE DATABASE command or portal (post-CTP1) • Cannot switch between Web and Business Editions • Monthly billing period
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
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
Pricing & SLA • $0.15 / 100k “transactions” • Transaction: • ACS Tokens • Messages on Service bus • Bandwidth • $0.10 /GB inbound • $0.15 /GB outbound