AWS service / Compute
Amazon EC2
Elastic Compute Cloud — On-demand virtual machines with control over the operating system, instance type, and network placement.
How it works
Instance families vary in CPU, memory, storage, and accelerators. AWS operates the physical infrastructure, while the customer manages the guest OS, applications, and their patching.
Exam keywords
Picture this
Rent a bare apartment and decide how to furnish and maintain everything inside.
EC2 means you control the guest OS.
When to use it
A team needs to deploy a vendor package that requires a custom Linux kernel module and root access, with selectable instance sizes and private subnet placement.
When not to use it
Do not assume AWS patches the guest OS, or choose a VM when an event handler needs no host control.
On the exam
AWS Certified Cloud Practitioner (CLF-C02) · Domain 3: Technology & Services · Task 3.3