Creating an EBS-Backed Linux AMI

Lab Steps

Logging in to the Amazon Web Services Console
Connecting to the Virtual Machine using EC2 Instance Connect
Creating an Amazon Machine Image Using an EBS-Backed Instance
Creating an EC2 Instance from a Custom Amazon Machine Image

The hands-on lab is part of these learning paths

Ready for the real environment experience?

Time Limit30m


An Amazon Machine Image (AMI) provides the information required to launch an EC2 instance. You can customize an EC2 instance and then save the configuration as a custom AMI for your private or public use. Every EC2 instance launched using the customized AMI will contain any settings or software that you've previously configured.

In this lab, you will create a new AMI based on a preconfigured Linux EC2 instance.

Learning Objectives

Upon completion of this lab you will be able to:

  • Create an Amazon Machine Image from an existing EC2 instance

Intended Audience

  • Candidates for the AWS Cloud Practitioner Exam
  • Candidates for the AWS Solutions Architect Associate Exam


Familiarity with the following will be beneficial but is not required:

  • Amazon Elastic Compute Cloud (Amazon EC2)

If you need a refresher, refer to the following labs:


June 18th, 2021 - Updated lab format and included validation checks on each lab step

January 10th, 2019 - Added a validation lab step to check the work you perform in the lab

September 17th, 2018 - Updated instructions and images to improve the laboratory experience

Environment before
Environment after
About the Author

Antonio is an IT Manager and a software and infrastructure Engineer with 15 years of experience in designing, implementing and deploying complex webapps.

He has a deep knowledge of the IEEE Software and Systems Engineering Standards and of several programming languages (Python, PHP, Java, Scala, JS).

Antonio has also been using and designing cloud infrastructures for five years, using both public and private cloud services (Amazon Web Services, Google Cloud Platform, Azure, Openstack and Vmware vSphere).

During his past working experiences, he designed and managed large web clusters, also developing a service orchestrator for providing automatic scaling, self-healing and a Disaster Recovery Strategy.

Antonio is currently the Labs Product Manager and a Senior DevOps Engineer at Cloud Academy; his main goal is providing the best learn-by-doing experience possible taking care of the Cloud Academy Labs platform.