This document is an introduction to Amazon EC2 presented by Ian Massingham on April 30, 2014. It provides an overview of EC2's key functionality and growth over the past 7 years. EC2 allows users to provision compute capacity in the cloud and pay only for what they use. It offers choices for instance types, operating systems, storage options, and pricing models to meet different use cases. EC2 provides scalability, reliability, security, and cost savings compared to on-premises infrastructure.
5. Amazon EC2 – Seven years ago
• Single instance family and size
– m1.small (1 vCPU, 1.7 GiB RAM, 160 GB storage)
• Linux only
• On Demand pricing only
• No AWS Management Console
• No EBS
• No Elastic IPs
• No VPC
• No Auto Scaling
• No Elastic Load Balancing
Amazon EC2
6. Since then
• Many new families and sizes
– M1, M2, C1, C3, M3, CC1, CC2, CG1, G2, CR1, HS1, HI1, T1, G2, I2
• Windows (and Enterprise Linux)
• Reserved Instances and Spot Instances
• AWS Management Console
• Elastic Block Store
• Elastic IP Addresses
• Virtual Private Cloud (VPC)
• Auto Scaling
• Elastic Load Balancing
• Performance, security, manageability, and scalability improvements
8. Amazon EC2
• Resizable compute instances in the cloud
• Provision 1 or many instances
• Pay for what you use; no minimum commitment
• Familiar operating systems, with cloud benefits
11. Amazon EC2 Instances – Types*
c3.large
i2.xlarge
t1.micro
m3.medium
g2.2xlarge
m2.xlarge
*Note: Only instance type is shown from each family/generation, as an example
12. Recent Instance Highlights
• HI1– 120,000 random read IOPS on SSDs
• I2 - Next generation I/O optimized (350,000+ random read IOPS)
• M3 – Next generation general purpose
• HS1– 48 TB of storage per instance
• CR1– 244 GiB of RAM &Intel Xeon E5 2670 (Sandy Bridge) CPUs
• G2 – 1 NVIDIA GK104 GPU (Kepler)
• C3 - 2.8 GHz Intel Xeon E5-2680v2 (Ivy Bridge) CPUs (SSD)
13. A choice of block storage options
• Locally attached, “instance storage”
– Type/amount differs by instance
• Amazon EBS Standard Volumes
• Amazon EBS Provisioned IOPS Volumes
15. Using AWS, Dow Jones saved $40,000;
improves time-to-market by 30%
• Dow Jones & Company provides news and
business information for the global investment
market.
• Dow Jones needed to replace its Asian data
center with a flexible, cost-effective alternative
that allowed its staff to focus on building
products
• Moving its data center to AWS saved $40,000 in
hardware costs and enabled Dow Jones staff to
focus on creating revenue-producing
applications for the website
16. • One of the world's leading online travel
companies, providing leisure and business
travel to customers worldwide
• Expedia needed a global infrastructure to
support its commitment to create a great
experience for customers worldwide
• Using AWS, Expedia created a global
infrastructure for its critical applications while
reducing network latency to under 50
milliseconds and enabling a 230% CPU
consumption efficiency for data processing
Expedia uses AWS to run critical, high volume applications globally
19. Amazon EC2 is designed to help you:
• Simplify your operations
• Scale as required
• Improve resiliency
• Run applications securely
• Run any application
• Reduce your costs
27. Completely Controlled
• You have control of your instances
• Log on as root (Linux) / Administrator (Windows)
• Install the software you need
• Make the configuration changes you like
• Create an AMI (Amazon Machine Image)
• Start/Stop and control via console or APIs
29. Multiple Instance Types
• Choose the instance type that suits you
• Change the instance type when you want to
• Attach as much or as little storage as you need
• Choose your operating system
• Choose a pre-configured image (AMI)
34. Security
• Secured premises
• Secured storage
• Secured keys
• Secured communications
• Secured network access
• Secured users
• Secured logins
• Full control to add security
35. Amazon Virtual Private Cloud (VPC) - Default
• Provision a logically isolated section of the AWS
cloud
• Control your virtual networking environment
– Subnets
– Route Tables
– Security Groups
– Network ACLs
• Connect to your on-premises network via hw VPN
• Control if and how your instances access the
Internet
36. Availability Zone 1a Availability Zone 1b
Internet
10.0.0.5
10.0.0.6
10.0.3.17
10.0.3.5
10.0.1.5
10.0.1.25
10.0.1.8
10.0.1.6
VPC Subnet
VPC Subnet
VPC Subnet
Virtual Private Gateway
Customer Gateway
VPN Connection
Internet Gateway
Customer Data Center
38. Unix/Linux
instances
start
at
$0.02/
hour
Pay
as
you
go
for
compute
power
Low
cost
and
flexibility
Pay
only
for
what
you
use,
no
up-‐front
commitments
or
long-‐term
contracts
Use
Cases:
Applica'ons
with
short
term,
spiky,
or
unpredictable
workloads;
Applica'on
development
or
tes'ng
On-demand instances
On-Demand instances
39. Unix/Linux
instances
start
at
$0.02/
hour
Pay
as
you
go
for
compute
power
Low
cost
and
flexibility
Pay
only
for
what
you
use,
no
up-‐front
commitments
or
long-‐term
contracts
Use
Cases:
Applica'ons
with
short
term,
spiky,
or
unpredictable
workloads;
Applica'on
development
or
tes'ng
On-demand instances
1-‐
or
3-‐year
terms
Pay
low
up-‐front
fee,
receive
significant
hourly
discount
Low
Cost
/
Predictability
Helps
ensure
compute
capacity
is
available
when
needed
Use
Cases:
Applica'ons
with
steady
state
or
predictable
usage
Applica'ons
that
require
reserved
capacity,
including
disaster
recovery
Reserved instances
Reserved instances
40. Unix/Linux
instances
start
at
$0.02/
hour
Pay
as
you
go
for
compute
power
Low
cost
and
flexibility
Pay
only
for
what
you
use,
no
up-‐front
commitments
or
long-‐term
contracts
Use
Cases:
Applica'ons
with
short
term,
spiky,
or
unpredictable
workloads;
Applica'on
development
or
tes'ng
On-demand instances
1-‐
or
3-‐year
terms
Pay
low
up-‐front
fee,
receive
significant
hourly
discount
Low
Cost
/
Predictability
Helps
ensure
compute
capacity
is
available
when
needed
Use
Cases:
Applica'ons
with
steady
state
or
predictable
usage
Applica'ons
that
require
reserved
capacity,
including
disaster
recovery
Reserved instances
Reserved instances
Up
to
58%
Savings
Heavy utilization RI
41. Unix/Linux
instances
start
at
$0.02/
hour
Pay
as
you
go
for
compute
power
Low
cost
and
flexibility
Pay
only
for
what
you
use,
no
up-‐front
commitments
or
long-‐term
contracts
Use
Cases:
Applica'ons
with
short
term,
spiky,
or
unpredictable
workloads;
Applica'on
development
or
tes'ng
On-demand instances
1-‐
or
3-‐year
terms
Pay
low
up-‐front
fee,
receive
significant
hourly
discount
Low
Cost
/
Predictability
Helps
ensure
compute
capacity
is
available
when
needed
Use
Cases:
Applica'ons
with
steady
state
or
predictable
usage
Applica'ons
that
require
reserved
capacity,
including
disaster
recovery
Reserved instances
Reserved instances
>
80%
u2liza2on
Lower
costs
up
to
58%
Use
Cases:
Databases,
Large
Scale
HPC,
Always-‐on
infrastructure,
Baseline
Heavy utilization RI
42. Unix/Linux
instances
start
at
$0.02/
hour
Pay
as
you
go
for
compute
power
Low
cost
and
flexibility
Pay
only
for
what
you
use,
no
up-‐front
commitments
or
long-‐term
contracts
Use
Cases:
Applica'ons
with
short
term,
spiky,
or
unpredictable
workloads;
Applica'on
development
or
tes'ng
On-demand instances
1-‐
or
3-‐year
terms
Pay
low
up-‐front
fee,
receive
significant
hourly
discount
Low
Cost
/
Predictability
Helps
ensure
compute
capacity
is
available
when
needed
Use
Cases:
Applica'ons
with
steady
state
or
predictable
usage
Applica'ons
that
require
reserved
capacity,
including
disaster
recovery
Reserved instances
Reserved instances
>
80%
u2liza2on
Lower
costs
up
to
58%
Use
Cases:
Databases,
Large
Scale
HPC,
Always-‐on
infrastructure,
Baseline
Heavy utilization RI
Up to 49%
Savings
Medium utilization RI
43. Unix/Linux
instances
start
at
$0.02/
hour
Pay
as
you
go
for
compute
power
Low
cost
and
flexibility
Pay
only
for
what
you
use,
no
up-‐front
commitments
or
long-‐term
contracts
Use
Cases:
Applica'ons
with
short
term,
spiky,
or
unpredictable
workloads;
Applica'on
development
or
tes'ng
On-demand instances
1-‐
or
3-‐year
terms
Pay
low
up-‐front
fee,
receive
significant
hourly
discount
Low
Cost
/
Predictability
Helps
ensure
compute
capacity
is
available
when
needed
Use
Cases:
Applica'ons
with
steady
state
or
predictable
usage
Applica'ons
that
require
reserved
capacity,
including
disaster
recovery
Reserved instances
Reserved instances
>
80%
u2liza2on
Lower
costs
up
to
58%
Use
Cases:
Databases,
Large
Scale
HPC,
Always-‐on
infrastructure,
Baseline
Heavy utilization RI
41-79% utilization
Lower costs up to 49%
Use Cases: Web applications, many heavy
processing tasks, running much of the time
Medium utilization RI
44. Unix/Linux
instances
start
at
$0.02/
hour
Pay
as
you
go
for
compute
power
Low
cost
and
flexibility
Pay
only
for
what
you
use,
no
up-‐front
commitments
or
long-‐term
contracts
Use
Cases:
Applica'ons
with
short
term,
spiky,
or
unpredictable
workloads;
Applica'on
development
or
tes'ng
On-demand instances
1-‐
or
3-‐year
terms
Pay
low
up-‐front
fee,
receive
significant
hourly
discount
Low
Cost
/
Predictability
Helps
ensure
compute
capacity
is
available
when
needed
Use
Cases:
Applica'ons
with
steady
state
or
predictable
usage
Applica'ons
that
require
reserved
capacity,
including
disaster
recovery
Reserved instances
Reserved instances
>
80%
u2liza2on
Lower
costs
up
to
58%
Use
Cases:
Databases,
Large
Scale
HPC,
Always-‐on
infrastructure,
Baseline
Heavy utilization RI
41-79% utilization
Lower costs up to 49%
Use Cases: Web applications, many heavy
processing tasks, running much of the time
Medium utilization RI
15-‐40%
u2liza2on
Lower
costs
up
to
34%
Use
Cases:
Disaster
Recovery,
Weekly
/
Monthly
repor'ng,
Elas'c
Map
Reduce
Light utilization RI
46. Best RI for Utilization
$-
$2,000
$4,000
$6,000
$8,000
$10,000
$12,000
$14,000
$16,000
$18,000
Heavy
Medium
Light
O-Demand
47. Best RI for Utilization
$-
$2,000
$4,000
$6,000
$8,000
$10,000
$12,000
$14,000
$16,000
$18,000
Heavy
Medium
Light
O-Demand
48. 0
2
4
6
8
10
12
14
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
On Demand
Light Utilization RI
Medium Utilization RI
Heavy utilization RI
Optimizing costs with RIs
49. Unix/Linux
instances
start
at
$0.02/
hour
Pay
as
you
go
for
compute
power
Low
cost
and
flexibility
Pay
only
for
what
you
use,
no
up-‐front
commitments
or
long-‐term
contracts
Use
Cases:
Applica'ons
with
short
term,
spiky,
or
unpredictable
workloads;
Applica'on
development
or
tes'ng
On-demand instances
1-‐
or
3-‐year
terms
Pay
low
up-‐front
fee,
receive
significant
hourly
discount
Low
Cost
/
Predictability
Helps
ensure
compute
capacity
is
available
when
needed
Use
Cases:
Applica'ons
with
steady
state
or
predictable
usage
Applica'ons
that
require
reserved
capacity,
including
disaster
recovery
Reserved instances
Bid
on
unused
EC2
capacity
Spot
Price
based
on
supply/demand,
determined
automa2cally
Cost
/
Large
Scale,
dynamic
workload
handling
Use
Cases:
Applica'ons
with
flexible
start
and
end
'mes
Applica'ons
only
feasible
at
very
low
compute
prices
Spot instances
Spot instances
55. AWS Marketplace – in the console
Browse, search, discover
and launch thousand of AWS
Marketplace AMIs directly
from within the Amazon EC2
console.
56. AWS Marketplace
• AWS Online Software Store
• Find, research and buy software
• Simple pricing, aligns with the utility model
• 1-Click launch products - run in minutes
• Over 1300 products listed in 25 categories
• Free trials and Enterprise offerings
– Move seamlessly from PoC to production
57. Benefits for You
• 1-Click launch, no
procurement of
hardware and software
launches pre-configured
for AWS
• Minutes for deployment,
instead of weeks or
months
• Vetted, tested, secure
and approved products
• Use your AWS account
to purchase
• Supports Invoice Billing
• See charges for
software and AWS
services separately
• Clear pricing for all
products, hourly and
monthly options,
different instance size
and region choices
• Tools to track your
purchases and control
usage
• Ability to scale software
up or down on-demand
Find and Deploy Fast One Bill Simple Purchasing
http://aws.amazon.com/marketplace
58. Next Steps
• Sign-up for an AWS account!
• Take advantage of the free tier
– aws.amazon.com/free
• Learn more: aws.amazon.com/ec2
• Join us at the booth