Creating Customized AMI for EC2 instance - Part 2 | Scribe

    Creating Customized AMI for EC2 instance - Part 2

    • Hafeez Baig |
    • 26 steps |
    • 5 minutes
    information ordinal icon

    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 **Launch Templates** from the left bar to view Launch Templates

    4

    Select the "**MyEc2LaunchTemplate**" to view its details

    5

    Scroll to the Template Details overview section of the selected launch template to view the details

    6

    In the Template Details overview section click on the **Actions** dropdown

    7

    Select **"Modify template (Create new version)"** from the dropdown to update the template version

    8

    Enter the new Template version description, say - **v2-usingcustomami**

    9

    Scroll to the **Application and OS Images** section and click on **My AMIs** tab

    information ordinal icon

    Refer to this guide to learn how to create a Customized AMI for EC2 Instance<https://scribehow.com/shared/Creating_Customized_AMI_for_EC2_instance__Part_1__m6V5UUj0S_yApdVC1MEKzw>

    10

    Click the dropdown menu to choose the custom AMI "**MyCustomizedAMI**" that was created during the custom AMI creation process

    11

    Leave all settings as default and click on the "**Create template version**" button

    12

    The launch template "**v2-usingcustomami**" will be successfully updated with a new version and custom AMI

    13

    Click on the "**MyEc2LaunchTemplate**" link to view the updated details of the launch template

    14

    You will see all the Details of "**MyEc2LaunchTemplate**" Launch template

    15

    Click on the **Actions** dropdown and select **Launch instance from template** from the Action dropdown

    16

    Leave the Source template as default and select "**v2-usingcustomami**" from the versioning dropdown

    17

    Click on **Launch instance** button

    18

    Instance launch will be initiated