Change the launch configuration for an Auto Scaling group
Important
We provide information about launch configurations for customers who have not yet migrated from launch configurations to launch templates. For information about migrating your Auto Scaling groups to launch templates, see Migrate your Auto Scaling groups to launch templates.
This topic describes how to associate a different launch configuration with your Auto Scaling group.
After you change the launch configuration, any new instances are launched using the new configuration options, but existing instances are not affected. For more information, see Update Auto Scaling instances.
To change the launch configuration for an Auto Scaling group (console)
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
. -
On the left navigation pane, under Auto Scaling, choose Auto Scaling Groups.
-
Select the check box next to the Auto Scaling group.
A split pane opens up in the bottom of the page.
-
On the Details tab, choose Launch configuration, Edit.
-
For Launch configuration, choose the launch configuration.
-
When you have finished, choose Update.
To change the launch configuration for an Auto Scaling group using the command line
You can use one of the following commands:
-
update-auto-scaling-group (AWS CLI)
-
Update-ASAutoScalingGroup (AWS Tools for Windows PowerShell)