EC2 Flashcards
What is EC2?
Elastic Compute Cloud, a web service that provide resizable compute capacity in the cloud. You only pay for the capacity you use
EC2 Options
On Demand
Reserved
Spot
On Demand Pricing Structure
fixed rate by the hour with no commitment
Reserved Pricing Structure
you get a capacity reservation with a significant discount on hourly charge. 1 or 3 year terms
Spot
enables on to bid whatever price you want for instance capacity
On Demand uses cases include
Users wanting low cost and flexibility without upfront payment or long-term commitment
App with short-term, spiky or unpredictable workloads that cannot be interrupted
Apps being developed/tested
Reserved uses cases include
Apps with steady state or predictable usage
Apps that require reserved capacity
Users able to make upfront payment to reduce their total computing costs
Spot
Apps that have flexible start and end times
Apps that are only feasible at very low compute prices
Users with urgent computing needs for large amounts of additional capacity
EC2 instance types include:
T2, M3/4, C3/4, R3, G2, I2, D2 (T MaC RiGID)
What is EBS?
Elastic Block Storage. It is basically a disk in the cloud that can be attached to only one EC2 instance.
EBS volume types include:
General purpose SSD (GP2)
Provisioned IOPS SSD (IO1)
Magnetic (Standard)
General purpose SSD (GP2)
99.999% availability
Ratio of 3 IOPS per GB with up to 10,000 IOPS
Ability to burst up to 3000 IOPS for short periods for volumes under 1Gib
IOPS
Input/Output per second
Provisioned IOPS SSD (IO1)
Designed for I/O intensive applications. Use if you need more than 10,000 IOPS
Magnetic
Traditional disk storage - ideal for infrequently accessed data and for low-cost storage.