---
title: "POST /#Action=CreateAutoScalingGroup"
method: POST
path: "/#Action=CreateAutoScalingGroup"
---

# POST /#Action=CreateAutoScalingGroup

`POST /#Action=CreateAutoScalingGroup`

**We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.**

Creates an Auto Scaling group with the specified name and attributes.

If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit, call the DescribeAccountLimits API. For information about updating this limit, see [Quotas for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html) in the _Amazon EC2 Auto Scaling User Guide_.

For introductory exercises for creating an Auto Scaling group, see [Getting started with Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html) and [Tutorial: Set up a scaled and load-balanced application](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-register-lbs-with-asg.html) in the _Amazon EC2 Auto Scaling User Guide_. For more information, see [Auto Scaling groups](https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html) in the _Amazon EC2 Auto Scaling User Guide_.

Every Auto Scaling group has three size properties (`DesiredCapacity`, `MaxSize`, and `MinSize`). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.

## Query parameters

- `Action` 'CreateAutoScalingGroup', required
- `Version` '2011-01-01', required

## Response `200`

Success

## Other responses

- `480` — AlreadyExistsFault
- `481` — LimitExceededFault
- `482` — ResourceContentionFault
- `483` — ServiceLinkedRoleFailure

---

[API](https://skmtc.net/aws/apis/autoscaling.md) · [All operations](https://skmtc.net/aws/apis/autoscaling/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/autoscaling/revisions/5e07057bfecf/schema)
