How To Modify A Launch Template

How To Modify A Launch Template

How to modify a Launch template

Hello Everyone

Welcome to CloudAffaire and this is Debjeet

In the last blog post, we have discussed how to create an AWS EC2 instance using Launch Template.

https://cloudaffaire.com/create-an-aws-ec2-instance-using-launch-template/

In this blog post, we are going to discuss how to modify a launch template.

Prerequisites for this demo:

  • One active AWS account
  • One existing launch template

How to modify a Launch template:

Step 1: Login to AWS console and navigate to EC2 service and click on ‘Launch Templates’ under INSTANCES

How to modify a Launch template

Step 2: Click ‘Create launch template’

How to modify a Launch template

Note: We have already had an existing Launch template with version v1 and set as default.

Step 3: Select create a new template version and select Source launch template and Source template version to point to your existing launch template.

How to modify a Launch template

Step 4: Once we have selected the Source launch template and Source template version, launch parameters will be displayed for that Source template. In this demo, we are going to change the instance type from t2.micro to t2.medium.

How to modify a Launch template

Note: You can change any launch parameter. Launch parameters are not mandatory and are not validated during Launch Template configuration.

We will not change any other launch parameter in this demo.

How to modify a Launch template

How to modify a Launch template

How to modify a Launch template

Step 5: Click ‘Create Launch Template’. We will get a success message, click ‘Close’.

How to modify a Launch template

Our Launch template has been successfully modified with a new launch template version.

How to modify a Launch template

Note: Still the old version of launch template is selected as the default version. We need to manually change the new version to default.

Step 6: Click ‘Actions’ and select¬†‘Set default version’

How to modify a Launch template

Step 7: From the drop-down select the latest version and click Set as the default version. One success message will be displayed, click ‘Close’.

How to modify a Launch template

The new launch template version has been set the default version.

How to modify a Launch template

Hope you have enjoyed this blog post. In the next blog post, we are going to add additional volume to our existing EC2 instance.

 

This Post Has One Comment

  1. Nice!

Leave a Reply

Close Menu