Compute Services Design
EC2 Overview
Section titled “EC2 Overview”Elastic Compute Cloud: Virtual Machine (VM) in the cloud.
- Leverages pay as you go.
- Integrates with storage, networking and security.
EC2 Deployment
Section titled “EC2 Deployment”- Select an Amazon Machine Image (AMI).
- Configure networking and security.
- Choose the instance type.
- Choose AZ Zone.
- Attach storage (ABS).
- Start the instance.
EC2 Instance Types:
- General Purpose: T2 (burst), M5, M4, M3
- Provides a balance of memory and network resources.
- T2 provides burst performance, credits accrued on idle stored when bigger load.
- Storage Optimized: H1, I3, D2
- Useful for high memory requirements (in-mem dbs, large dbs)
- Advanced Computing: (P3, P2, G3 and F1)
- Specialty Hardware (GPU)
Instance types can be swapped at a later time.
EC2 Pricing
Section titled “EC2 Pricing”Pricing Categories:
- On Demand: Charged for usage at a flat-rate.
- Billed in 60-second increments rounded up.
- Reserved: Reserve usage for a minimum of 1 year, usually cheaper.
- Cheapest way is to do more years and pay everything up front.
- Spot Big on unused compute time (up to 90% cheaper than on-demand).