Migrating a Launch Configuration to a Launch Template
AWS has deprecated the launch configuration feature, which has been replaced by launch templates. You can migrate an existing launch configuration to a launch template by following the procedures given here. This procedure will use the AWS web UI (management console).
-
In AWS, locate and browse to the EC2 Configuration dashboard.
-
From the list of launch configurations, select the configuration you want to migrate.
-
Click Copy to launch template, and from the drop-down, select Copy Selected.
-
On the Copy to launch template dialog, validate the new launch template name and then click Copy.
-
The new template is displayed in the list of launch templates. You are now ready to replace your existing launch configuration (already in use) with the new launch template.
-
Navigate to the Auto Scaling groups console.
-
Select your Auto Scaling group and click Edit.
-
Scroll down to the Launch configuration section and then click Switch to launch template.
-
Select your newly-created launch template. On the Launch template dialog, review and verify your configuration, and when ready, scroll down and click Update.
-
You can now delete the old launch configuration. In the list of launch configurations, select the old configuration.
-
Click Actions, and from the drop-down select Delete launch configuration.
Next Step: Creating the AWS Auto Scaling Group