Amazon Web ServicesJeff Barr, Senior Evangelist@jeffbarr
My Background
Based in Seattle, WA
Education: BS in Computer Science, The American University, 1985 Graduate student in Digital Media, University of Washington, 2010
Background: Microsoft Visual Studio team Consulting to startups and VC’s Amazon employee since 2002
Author, “Host Your Web Site in the Cloud”
Email: [email protected]: @jeffbarr
AWS – Confidential - Copyright © 2011, Amazon Web Services LLC or its affiliates. All rights reserved.
The Cloud is Suddenly Everywhere
What is Cloud Computing?An analogy: think of electricity services…
Power is a utility service - available to you on-demand and you pay only for what you use.
You simply plug into a vast electrical grid managed by experts to get a low cost, reliable power supply – available to you with much greater efficiency than you could generate on your own.
What is Cloud Computing?
Cloud Computing is also a utility service - giving you access to technology resources managed by experts and available on-demand.
You simply access these services over the internet, with no up-front costs and you pay only for the resources you use.
Attributes of Cloud Computing
No capital expenditure
Pay as you go and pay only for what you use
True elastic capacity; Scale up and down
Improves time to market
You get to focus your engineering resources on what differentiates you vs. managing the undifferentiated infrastructure resources
What is Amazon Web Services?
Amazon Web Services is a cloud computing platform that provides flexible, scalable, and cost-effective technology infrastructure for businesses of all sizes around the world…
…utilizing the knowledge, expertise, and tools used to run Amazon.com’s global web properties for over a decade.
AWS Global Reach
US East (Northern Virginia)
US West (Northern California)
Europe (Dublin)
Asia Pacific (Singapore)
Asia Pacific (Tokyo)
AWS Regions
US East (Northern Virginia)
Availability Zone A
Availability Zone B
Availability Zone C
Availability Zone D
WHY ARE PEOPLE SO EXCITED?
The Dirty Little Secret
On-PremiseInfrastructure
YourBusiness
Managing All of the “Undifferentiated Heavy Lifting”
30% 70%
AWS Goal: Flip This Equation
AWSCloud-BasedInfrastructure
YourBusiness
More Time to Focus onYour Business
Configuring Your Cloud
Assets
70%
30%70%
On-PremiseInfrastructure
30%
Managing All of the “Undifferentiated Heavy Lifting”
Predicting Infrastructure UsageC
ompu
te P
ower
Time
Predicted Usage
Actual Usage
Waste
CustomerDissatisfaction
Example: Wall Street App on Amazon EC2
3000 CPU’s for one firm’s risk management processes
Num
ber
of E
C2
Inst
ance
s
300 CPU’s on weekends
Thursday4/23/2009
Friday4/24/2009
Sunday4/26/2009
Monday4/27/2009
Tuesday4/28/2009
Saturday4/25/2009
Wednesday4/22/2009
3000 -
300 -
Example: Video App on Amazon EC2N
um
be
r of
EC
2 In
sta
nce
s
4/12/2008
Launch of Facebook modification
Scaled to peak of 5,000 instances in 3 days
4/14/2008 4/15/2008 4/16/2008 4/18/2008 4/19/2008 4/20/20084/17/20084/13/2008
• Web site hosting
• Application hosting/SaaS hosting
• Internal IT application hosting
• Content delivery and media distribution
• High performance computing, batch data processing, and large scale analytics
• Storage, backup, and disaster recovery
• Development and test environments
Common Use Cases
Amazon Web Services
ComputeAmazon Elastic Compute Cloud (EC2)
StorageAmazon Simple Storage Service
(S3)
Cloud-Powered Applications
Content DeliveryAmazon CloudFront
MessagingAmazon Simple Queue Service (SQS)
Amazon Simple Notification Service (SNS)Amazon Simple Email Service (SES)
Parallel Processing
Amazon Elastic MapReduce
MonitoringAmazon CloudWatch
DatabaseAmazon RDS
Amazon SimpleDBThird-Party Offerings
ManagementAWS Management Console
AWS Elastic Beanstalk
ToolsAWS Toolkit for Eclipse
Java, PHP, Ruby, Python, .Net Developer
Centers
NetworkVirtual Private Cloud
Route 53
Metering and Billing
Identity and Access Management
AWS IN DETAIL!
Amazon Elastic Compute Cloud
Amazon EC2: on-demand compute power Obtain and boot new server instances in minutes Quickly scale capacity up or down Eleven instance types Hourly billing
Key features: Support for Windows, Linux, FreeBSD, and OpenSolaris Supports all major web and application platforms Deploy across Availability Zones for reliability
Region
Availability Zone
Amazon EC2 Architecture
EC2 Instance
Elastic IP Address
Security Group(s)
Load Balancing
Elastic Block
StorageCloudWatch
Auto Scaling
Ephemeral Storage
Amazon S3
EBS Snapshot
EBS Snapshot
Amazon Machine
Image (AMI)
Amazon EC2 Pricing Options
On-DemandInstances
Pay as you go for compute power
Pay only for what you use, no up-front commitments or long-term contracts
Unix/Linux instances start at $0.02/hour USD in the US East Region
ReservedInstances
Pay a low up-front fee and receive a significant discount on the hourly pricing for that instance
1- or 3-year terms
Helps ensure that compute capacity is available when it is needed
SpotInstances
Enables you to bid on unused Amazon EC2 capacity
Spot Price is based on supply/demand and is determined automatically
If the Spot Price is below your bid, your instances will start
If the Spot Price rises above your bid, your instances will stop
Amazon EC2 Instance Specs
Standard High-CPU High-Memory Cluster
Micro Small Large Extra Large
Medium Extra Large
Extra Large
Double Extra Large
Quadruple Extra Large
Cluster Compute Quadruple Extra
Large
Cluster GPU Quadruple Extra
Large
Bits 32 32 64 64 32 64 64 64 64 64 64
RAM 613 MB
1.7 GB
7.5 GB
15 GB 1.7 GB 7 GB 17.1 GB
34.2 GB 68.4 GB 23 22
Local Disk
0 160 GB
850 GB
1690 GB
350 GB 1690 GB 420 GB
850 GB 1690 GB 1690 GB 1690 GB
EC2 Compute Units
Burst to 2
1 4 8 5 20 6.5 13 26 33.5 33.5
Cores 1 1 2 4 2 8 2 4 8 8(Dual Processor)
8(Dual Processor)
GPU 2 x Nvidia Tesla "Fermi" M2050
Firewall Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Linux Per Hour
$0.02 $0.085
$0.34 $0.68 $0.17 $0.68 $0.50 $1.20 $2.40 $1.60 $2.10
Windows Per Hour
$0.03 $0.12 $0.48 $0.96 $0.29 $1.16 $0.62 $1.44 $2.88 N/A N/A
All prices subject to change
Amazon Relational Database Service
Provision a new relational database in seconds MySQL (5.1 and 5.5) - Now Oracle (11G) - Soon
Offload common administrative tasks to AWS OS upgrades DB upgrades and patches Scaling CPU and storage Backups & Restores
Use your existing code and toolsPay only for what you use, no up-front commitmentsSingle and Multi-AZRead Replicas
RDS in Action
RDS in Action
HOSTING APPLICATIONS ON AWS
https://aws.amazon.com/console
AWS Management Console
AWS CloudFormation Stack Creation
AMAZON CONFIDENTIAL
Define a JSON template of AWS Resources to provision (EC2 instances, AZ lists, AMIs, EIP, RDS, etc)
Parameterization supported
Use CLI, API, or Management Console to register and create an AWS stack
Service automatically determines interdependencies
AWS resources get created across tiers and AZs forming a CloudFormation Stack
JSON Template
Amazon Virtual Private Cloud - VPC
Create an isolated set of EC2 instances in the AWS cloud
Divide your IP address range into one or more public or private subnets
Control inbound and outbound access to and from individual subnets using stateless Network Access Control Lists
Protect your Instances with stateful filters for inbound and outbound traffic using Security Groups
Bridge your VPC and your onsite IT infrastructure with an encrypted VPN connection
Use Network Addess Translation (NAT)
Other Cloud Hosting Ideas
Easy scaling: Geographies CPU power RAM Bandwidth Storage
Servers on Demand: Development Test Servers Demo / Trial Use
Backup: Snapshot EC2 Snapshot RDS Data to S3
Disaster Recovery: Hot Spare Geographic Redundancy
For More Information
AWS Web Site: http://aws.amazon.com
AWS Blog: http://aws.typepad.com
Email: [email protected]
Twitter: @jeffbarr
THANK YOU!