Creating Customized AMI for EC2 instance - Part 1
This guide offers steps to create a custom AMI (Amazon Machine Image) for an EC2 instance.
Hafeez Baig
11 steps
48 seconds
Amazon Web Services
Refer to the following guide to learn how to use IAM in the cloud\ <https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg> Refer to this guide to learn how to create a Launch Template for an EC2 instance<https://scribehow.com/shared/Creating_Launch_Templates_for_EC2_instances__cPATKkwbTkSqsAvJNxhlLA>
1
Sign in to **AWS Management Console** as an **IAM User** **Pre-requisite** - Ensure you have selected the AWS region closest to your location\ For this guide, we will be using us-east-2 (Ohio) as a preferred choice
2
Type **EC2** in the search bar and click on **EC2** to view the EC2 Dashboard
3
On the EC2 dashboard click on the **Instances** from the left bar to view instances
4
Select the EC2 instance created via the EC2 launch template to create an **Amazon machine image (AMI)**
5
Click on the **Actions** button from the top right of the page to select the **Image and templates** option from the Action dropdown
6
From the **Image and templates** list select **Create image** option
7
Create image wizard will open. Enter Image name and description
8
Click the "**Create Image**" button on the same page to generate an **AMI/Image**
9
The **AMI** creation process will be initiated and it will take a few minutes to get completed
10
On the same page click on the **AMIs** under the Images dropdown from the left bar
11
On the **Amazon Machine Images (AMIs)** dashboard, the custom image (**MyCustomizedAMI**) will be shown once the **AMI** process is completed successfully
Congratulations on completing this lab and Creating a Customized AMI for an EC2 Instance! Good job!