EC2 101 Flashcards
Per second billing
Available for instances launched in:
On-Demand, Reserved and Spot forms
All regions and Availability Zones
Amazon Linux and Ubuntu
on-demand instance overview
pay fixed rate by hour or second with no commitment
reserved instance overview
provide capacity reservation
significant discount on charges
1-3 year terms
spot instances overview
let you bid on pricing
allow for greater savings if you have flexible start and stop times
If you terminate, you pay for full hour
if AWS terminates, you get hour for free
dedicated hosts overview
physical EC2 server
allow for using existing licenses
on-demand instance use cases
users need low cost & flexibility
no upfront payment
applications with short-term, spiky or unpredictable workloads
applications being tested in EC2 for first time
reserved instance use cases
applications with steady state or predictable usage
applications requiring reserved capacity
users make upfront payments to reduce costs
spot instance use cases
applications that have flexible start, stop times
applications only feasible at very low prices
users with urgent need for large amount of extra capacity
dedicated host use cases
if regulations or licensing prevent multi-tenant virtualization
licensing based on cpu, or cores
can buy at hourly rate
can buy as a reservation
Types of Reserved Instances
standard RI up to 75% discount
convertible RI’s up to 54% discount. Allow changing attributes of instances\
scheduled RI’s let you set time they run
EC2 Instance Types
DRMCGIFTPX
dense storage memory optimized (RAM) general purpose (Main choice for gp) compute optimized graphics intensive high speed storage (I for IOPS) FPGA general purpose, lowest cost (T2 micro) graphics general purpose GPU (machine learning) memory optimized (extreme memory)
Elastic Block Storage
block based storage
create volumes and attach them to EC2 instances
for running databases, operating systems
placed in specific AZ and automatically replicated within that AZ
EBS Volume Type
GP2
General Purpose SSD
balance price and performance
ratio of 3 IOPS per gig, up to 10,000 IOPS
bursts to 3000 IOPS for volumes over 3334 Gb
EBS Volume Type
Provisioned IOPS SSD (IO-1)
for IO intense apps like NoSQL or large relational databases
use if you need more than 10,000 IOPS
can go up to 20,000 IOPS
EBS Volume Type
Throughput Optimized HDD (ST1)
Magnetic HD
use for big data, log processing
use if large amounts of sequential data
CANNOT be a boot volume