Decommission Group and Launch Configuration
A 3-step recipe with Amazon EC2 Auto Scaling. We can help you get access.
Recipe · 3 steps
Decommission Group and Launch Configuration
with Amazon EC2 Auto Scaling · Capacity & Performance Management
Delete an Auto Scaling group, verify removal, and delete its launch configuration.
- Delete the Auto Scaling group, optionally forcing termination of all its instances.
- Describe groups filtered by name and branch on whether the deleted group is fully gone before removing the launch configuration.
- Delete the launch configuration that backed the now-removed Auto Scaling group.
What you'll need to have ready
- autoScalingGroupName: The name of the Auto Scaling group to delete.
- launchConfigurationName: The name of the launch configuration to delete after the group is gone.
- forceDelete: Whether to delete the group along with all its instances without waiting for termination.
For your developer
Arazzo workflow amazon-ec2-auto-scaling:decommission-group-and-launch-configuration, 3 operations: DeleteAutoScalingGroup → DescribeAutoScalingGroups → DeleteLaunchConfiguration. Specs on APIs.io.