0
votes

I'm trying to create an Auto-Scaling Group, which will work based upon CPUUtilization of the Target Group.

I managed to created an Auto-Scaling group. When I execute the Scaling Policies via some test data. It works.

I created 2 alarms in Cloudwatch. However, those are in "INSUFFICIENT_DATA".

The alarms should be able to checking the CPUUtilization of the Auto-Scaling Group.

So, how can I run the autoscaling based on CPUUtilization of Target Group?

The screentshots are below:

The loadbalancer configuration

The target group configuration

The autoscaling configuration

The scaling policies

The CloudWatch alarm config

Alarm configuration for Scale-UP

Alarm configuration for Scale-Down

1
Do you have any other working alarm?Mahdi
I have only 2 alarms.user9522155
Do you have Windows machines in your ASG?Mahdi
nope. i don't have windows.user9522155

1 Answers

0
votes

https://serverfault.com/questions/479689/cloudwatch-alarms-strange-behavior

I found this answer. My alarm works for period 1 minute. But my cloudwatch monitoring wasn't detailed.

When I change the alarm checking period from 1 minute to 1 hour, the alarm works. However, I need to execute the alarm for period 1 minute. I enabled the detailed monitoring but still doesn't work.