Back to Lessons

Amazon EC2 Fundamentals

April 5, 2026

Amazon EC2 Deep Dive

Resizable compute capacity with 750+ instance types.

EC2 Architecture

Instance Types (750+):
General: t3/m5 (balanced CPU/memory)
Compute: c5 (high CPU)
Memory: r5/x1 (databases)
Storage: i3/d2 (high I/O)
GPU: g4/p3 (ML/graphics)
HPC: h1/z1d (high performance)

Key Components:
AMI - OS + software template
EBS - Persistent block storage
Instance Store - Ephemeral high IOPS
Security Groups - Instance firewall
Elastic IP - Static public IP

EC2 Lifecycle

  • Launch -> Running -> Stopped -> Terminated
  • Auto Scaling Groups (ASG)
  • Elastic Load Balancing (ALB/NLB)
  • Launch Templates (vs Launch Configurations)