A collection of configuration templates for Application Auto Scaling as well as security controls for monitoring and protecting Application Auto Scaling configuration such as Config Rules, CloudWatch Alarms, EventBridge Rules, IAM policies, and more.

Application Auto Scaling
Application Auto Scaling Step Scaling Policy

This template creates a scaling policy using the `StepScaling` policy type and the `ChangeInCapacity` adjustment type. When an associated alarm is triggered, the policy increases the capacity of the scalable target based on step adjustments. The step adjustments are as follows: increase capacity by 1 when the value of the metric is greater than or equal to 70 percent but less than 85 percent, increase capacity by 2 when the value of the metric is greater than or equal to 85 percent but less than 95 percent, and increase capacity by 3 when the value of the metric is greater than or equal to 95 percent. The scaling policy has a 600 second cooldown period after every scaling activity.

CloudFormation
Application Auto Scaling Policy Example

This template creates a scaling policy using the `TargetTrackingScaling` policy type. The policy uses the `CassandraWriteCapacityUtilization` predefined metric. When the metric is at or exceeds 75 percent, the scaling policy increases the capacity of the scalable target, and when it falls below 75 percent, the scaling policy decreases the capacity of the scalable target. The scaling policy has a 60 second cooldown period after every scaling activity.

CloudFormation
Example Scalable Target Configuration for Cassandra

This template creates a scalable target for an AWS::Cassandra::Table resource. Application Auto Scaling can scale the write capacity throughput at a minimum of 1 capacity unit and a maximum of 20. The template specifies the service namespace, scalable dimension, resource ID, and values for minimum and maximum capacity.

CloudFormation