What is Amazon Machine Image (AMI)? (original) (raw)

Last Updated : 11 Jun, 2026

An Amazon Machine Image (AMI) is a template containing the software configuration (operating system, application server, and applications) required to launch an Amazon EC2 instance. You cannot launch an EC2 instance without specifying one.

AWS-ami

Core Components

AMI Storage Types

The backing storage type is the most critical architectural distinction when selecting or creating an AMI.

**Feature **EBS-Backed AMI **Instance Store-Backed AMI
**Boot Time Fast (usually < 1 min); boots from a network snapshot. Slow (minutes); must copy the image from S3 to the host.
**Persistence Persistent; data survives instance stop/start. Ephemeral; data is lost if the instance stops or fails.
**Stop/Start Support Supported; you can "Stop" the instance to save costs. Not supported; you can only Reboot or Terminate.
**Root Volume Limit Up to 64 TB (depending on volume type). 10 GB for the AMI image bundle.
**Data Durability High; backed by EBS snapshots (replicated). Low; tied to the physical hardware of the host.
**Cost Pay for the instance + EBS storage used. Pay for the instance + S3 storage for the AMI.
**Use Cases Databases, production apps, long-running servers. Caches, temp files, stateless distributed workloads.

**Note: Use EBS-Backed AMIs in almost all cases. Instance Store-backed AMIs are a legacy or niche option suited only for stateless, high-I/O workloads.

AMI Lifecycle

**Note: Deregistering an AMI does **not delete the underlying EBS snapshot. You must delete the snapshot separately to stop incurring storage charges.

Types

Steps to Create Your Own AMI

**Step 1: Launch an EC2 Instance

Screenshot-2026-06-03-144927

**Step 2: Configure Instance

Screenshot-2026-06-03-151105

**Step 3: After Instance Starts

Screenshot-2026-06-03-154428

Screenshot-2026-06-03-154553

**Step 4. Once the status changes to available, your custom AMI is ready to use for launching new instances.

Screenshot-2026-06-03-155054

Best Practices