AWS EC2 Auto-Scaling and CloudWatch Alarm Trigger

0

I have a double.

You need to have CloudWatch with an alarm to trigger un action to Auto-Scaling works?

Problem.

I have EC2 instances that I would like to do Auto Scaling with a monitor CPU above a certain value add new instance ou below the CPU utilization for values remove a instance.

Auto Scale policies is not sufficient to do this monitoring? I need Cloud watch to trigger an action and call auto scaling to add a new instance?

已提问 4 个月前406 查看次数
1 回答
2
已接受的回答

Hello.

If you want to scale EC2 based on CPU usage, I think you can do it by creating a "target tracking scaling policy" by following the steps in the document below.
When you configure this setting, a CloudWatch Alarm will be created and used for scaling.
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html#policy_creating

profile picture
专家
已回答 4 个月前
profile pictureAWS
专家
已审核 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则