I want to create a backup or launch multiple copies of my Amazon Elastic Compute Cloud (Amazon EC2) instance, or I received a maintenance notification suggesting that I create an Amazon Machine Image (AMI) of my instance. What’s an AMI, and how do I create one?  

Amazon Machine Images (AMIs) are archival copies of instances that you can use to launch other instances. If you have an Amazon Elastic Block Store (Amazon EBS)-backed Amazon EC2 instance, use custom AMIs to launch multiple copies of one instance, or use a custom AMI as a backup solution.

By default, when you create an AMI from an instance, snapshots are also taken of each EBS volume that is attached to the instance. This means that AMIs can launch with multiple EBS volumes attached, allowing you to replicate both an instance's configuration and the state of all the EBS volumes that are attached to that instance.

Note: Instances created from AMIs do not retain or copy any data stored in instance store volumes. The source instance you create the AMI from retains all data that is stored in the instance store.

To create an AMI

If your instance is running Linux, follow the instructions at Creating an Amazon EBS-Backed Linux AMI.

If your instance is running Windows, see Creating a Custom Windows AMI.

Note: To confirm data consistency, your instance reboots during the AMI creation process, but the public IP address and instance store volumes for your instance remain the same.


Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2016-09-02

Updated: 2018-05-21