Compute

Amazon Machine Image (AMI)

A customized template (OS, software, configuration) used to launch EC2 instances.

How it works

An Amazon Machine Image (AMI) is a template that supplies the information needed to launch an Amazon EC2 instance. It defines the initial software, launch permissions, and storage device mappings for the instance. Launching multiple instances from one AMI helps establish a consistent starting configuration, but operators still need to maintain patches and configuration.

When to use it

Pre-package software for faster boot, or replicate an instance configuration.

Real-world example

A video platform creates a custom AMI containing its required software and libraries. When demand grows, its auto scaling mechanism uses that AMI to launch additional EC2 instances.

Key facts

  • Built for a specific Region; can be copied across Regions.
  • Public AMI, your own AMI or AWS Marketplace AMI.
  • Building an AMI also creates EBS snapshots.

Common pitfall

An AMI is a regional resource. To launch an instance in another Region, copy the AMI there and check the required permissions and dependencies.

Often confused with

EBS Snapshot, which backs up one volume only.

References

Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:

SAA-C03 study guide and learning resources

Keywords you will see in SAA-C03 questions

  • golden image
  • copy across Regions

Understand it for real with 3D models and simulated labs

Connect the concept to a working architecture.

Start learning