Q12Cloud Computing
Question
4 marks
What is Amazon EC2? Explain its core features.
Answer
An architectural review of Amazon EC2, detailing its position as the foundational IaaS compute engine, and explaining its core features including AMIs, Instance Types, and Auto-Scaling groups.
Amazon EC2 is the absolute beating heart of the AWS ecosystem. It is the definitive implementation of Infrastructure as a Service (IaaS). Rather than purchasing physical silicon, racking servers, and wiring ethernet, engineers utilize EC2 APIs to mathematically summon and violently destroy virtual servers (Instances) in milliseconds.
Core Architectural Features of EC2
- 1. Amazon Machine Images (AMI): An AMI is a highly optimized, cryptographically signed binary template containing the exact Operating System (Linux/Windows), application server, and software required to boot an instance. Engineers can bake their own custom AMIs for instant, mathematically identical deployments.
- 2. Instance Types (Hardware Matrix): EC2 does not offer a "one-size-fits-all" server. It provides a massive matrix of mathematically optimized hardware families. - Compute Optimized (C-Family): Massive CPU ratios for gaming servers. - Memory Optimized (R-Family): Massive RAM for in-memory databases. - GPU Instances (P-Family): Hardware-attached Nvidia GPUs for Machine Learning.
- 3. Elastic Block Store (EBS): EC2 instances are inherently ephemeral; if they reboot, local disk data is violently wiped. EC2 couples with EBS to provide persistent, mathematically durable, network-attached block storage volumes that survive instance termination.
- 4. Auto-Scaling and Elasticity: The absolute most critical feature. Engineers configure Auto-Scaling Groups mathematically tied to CloudWatch metrics. If CPU utilization violently spikes above 80%, EC2 automatically provisions 10 new instances. When traffic drops, it ruthlessly terminates them to halt financial bleeding.