EC2 Instance Types and Family
Table of contents
PermalinkInstances Types
PermalinkOn-Demand Instances
PermalinkReserved Instances
PermalinkSpot Instances
PermalinkDedicated Host
Permalink1. On-Demand Instance
Fixed Price (Hourly)
Pay for what you have used
No commitment
No Prior Payment
No predictable usage
Permalink2. Reserved Instances
Long Term Commitment
Prior Payment(Full, Partial) 1 or 3 Years
75% discount on hourly price
Predictable usage
Permalink3. Spot Instances
Bidding
Auctioning
Huge Capacity for a cheaper price
Application with start and end times
Permalink4. Dedicated Instances
If any customer needs a diedcated physical machine Licensed software Dedicated host is much costlier than others
Note: AWS cloud minimum billing period is 1 hour
9 am 10 am ===> Used for 5 mins
11 am 12 pm ===> Used for 5 mins
AWS will consider this as 2 hours
PermalinkEC2 instance states
Launch
Running (Bill)
Stop (No Bill)
Reboot
Terminate (Killing)
PermalinkEC2 Families
EC2 has several Families
t1 , t2, t3, t4g, al, c1, c3, c4
Note: AWS Account is Free for 1 year 750 Hours / Month Free
PermalinkGeneral Instances
- For General Purpose
PermalinkMemory Instance:
- if you need more memory
PermalinkCPU instances:
- More CPU
PermalinkStorage instances:
- More storage
PermalinkGPU Instances:
- Graphics, Havey Machines
Permalinkgeneral instances
t2.nano = 0.5GB RAM
t2.micro = 1 GB RAM
t2.small = 2 GB RAM
t2.medium = 4 GB RAM
t2.large = 8 GB RAM
t2.xlarge = 16 GB RAM