Have configured an auto scaling group and a launch configuration that will use a scaling policy bound to a target group metric (RequestCountPerTarget, specifically).
However, it is failing to trigger the scaling event.
Auto Scaling Group
- The auto scaling group is configured with a proper and existing launch configuration, where there is not an active limit on instances.
- The maximum instance count is higher than the desired count.
- The "Activity History" tab shows zero events fired.
CloudWatch Alarm
- Creation of the auto scaling group and scaling policy did create an automatic alarm.
- The alarm did update state to
ALARM
, and trigger an automatic action.
Automatic Alarm Trigger Action
{
"error": null,
"actionState": "Succeeded",
"notificationResource": "arn:aws:autoscaling:ap-southeast-1:0000:scalingPolicy:0000:autoScalingGroupName/WebScalingGroupV1:policyName/Scale API Requests",
"stateUpdateTimestamp": 1519937155623,
"publishedMessage": null
}
I have completely removed this group and configuration to recreate it -- as initially, I had spaces in the configuration and scaling group name; I am having the same issues.