EC2 Flashcards
EC2 Pricing Types (other than Free)
On-Demand Spot Savings Plans Reserved Instances Dedicated Hosts
On-Demand Instance
Pay per second or hour. ‘Normal’ pricing
Spot Instances
Spare computing capacity. Save up to 90% from On-Demand
Reserved Instances
Up to 75% Off On-Demand
Commit to 1 or 3 year terms
Can be ‘Convertible’
Discount (L -> H): No Upfront, Partial , All
Dedicated Host
Physical EC2 Host
Pay via On-Demand (Hr) Or Reserved ( <= 70%)
Convertible Reserved
Allow flexibility to change instance types (equal or greater value)
Discount (L -> H): No Upfront, Partial , All
Reserved vs Convertible Instance Price Hierarchy (Lowest to highest discount)
Discount (L -> H): Con-1 -> Stan-1 -> Con-3 -> Stan-3
EBS
SSD Backed / HDD Backed
Elastic Block Storage
Virtual Disk
Persistent across instances
Security Groups
Apply to EC2 instances
Port Protocol Source: - IP Range - Security Group
ACL vs Security Group
ACL = Subnet level / in the VPC
SecurityGroup = Apply to EC2 Instances