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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南