← Amazon Web Services (AWS) learning pathAmazon Web Services (AWS) · Module 3 of 10
EC2 compute
Run virtual servers with EC2.
📖 Key ideas
- EC2 provides virtual machines called instances.
- Choose an AMI (OS image) and instance type (CPU/RAM).
- Security groups act as virtual firewalls.
- Connect via SSH using a key pair (or Session Manager).
- Pricing: On-Demand, Reserved/Savings Plans, Spot.
💡 Real-life example: EC2 is renting a computer in AWS's building and controlling it from your laptop.
InstanceA virtual server
AMIAmazon Machine Image
Security groupInstance-level firewall
Spot instanceCheap spare capacity that can be reclaimed