capabilities.work

Provision Auto Scaling Group

A 3-step recipe with Amazon EC2 Auto Scaling. We can help you get access.

Recipe · 3 steps

Provision Auto Scaling Group

with Amazon EC2 Auto Scaling · Capacity & Performance Management

Create a launch configuration and an Auto Scaling group, then verify the group.

  1. Create the launch configuration that the Auto Scaling group will use to launch instances.
  2. Create the Auto Scaling group referencing the launch configuration, with the requested sizing.
  3. Describe the newly created Auto Scaling group to confirm it exists and to capture its ARN and current desired capacity.
What you'll need to have ready
  • launchConfigurationName: The name of the launch configuration to create (unique per Region per account).
  • imageId: The ID of the Amazon Machine Image (AMI) the instances are launched from.
  • instanceType: The EC2 instance type for launched instances (e.g. t3.micro).
  • keyName: The name of the EC2 key pair to assign to launched instances.
  • autoScalingGroupName: The name of the Auto Scaling group to create.
  • minSize: The minimum size of the Auto Scaling group.
  • maxSize: The maximum size of the Auto Scaling group.
  • desiredCapacity: The initial desired capacity of the Auto Scaling group.
  • availabilityZones: The Availability Zones where instances in the group can be created.
For your developer

Arazzo workflow amazon-ec2-auto-scaling:provision-auto-scaling-group, 3 operations: CreateLaunchConfiguration → CreateAutoScalingGroup → DescribeAutoScalingGroups. Specs on APIs.io.