Home » AWS Creating an AMI

AWS Creating an AMI

by Online Tutorials Library

Creating an AMI

  • Sign in to the AWS Management Console.
  • Move to the EC2 service.
  • We have one running instance whose name is WebServer.

Creating an AMI

  • Now, I want to create a consistent snapshot. In order to achieve this, stop the instance. Click on the Actions dropdown menu.

Creating an AMI

  • Move to the Volumes appearing on the left side of the console. Click on the Actions dropdown menu to create a snapshot.

Creating an AMI

  • Create a snapshot.

Creating an AMI

  • To view the snapshot, click on the Snapshots appearing on the left side of the console.

Creating an AMI

  • We can also copy the snapshot to another region. Click on the Actions dropdown menu, and then click on the copy.

Creating an AMI

From the above screen, we observe that we can also encrypt the snapshot, so check the encryption box to enable the encryption.

  • Move to the US east (N.Virginia) region where we have copied the snapshot.
  • Now, we will create an image. Click on the Actions dropdown menu, and then click on the create image.

Creating an AMI

  • Enter the name of the image and its description.

Creating an AMI

  • Click on the AMI appearing on the left side of the console.

Creating an AMI

  • Click on the Launch button.
  • Choose an instance type and click on the Next.

Creating an AMI

  • Configure Instance details. Keep all the instance details as default, and then Click on the Next button.

Creating an AMI

  • (Optional) You can add new EBS Volume.
  • Add tags. Click on the Next.

Creating an AMI

  • Configure Security Group. Click on the Review and Launch button.
  • Click on the Launch button.

Important points to remember:

  • To create a snapshot for Amazon EBS Volumes that serve as root devices, you should stop the instance before taking the snapshot.
  • Snapshots of encrypted volumes are encrypted automatically.
  • Volumes restored from the encrypted snapshots are encrypted automatically.
  • You can share snapshots, but only if they are unencrypted.
  • These snapshots can be shared with other AWS accounts or made public.

Next TopicAWS Load Balancing

You may also like