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?

質問済み 5ヶ月前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
エキスパート
回答済み 5ヶ月前
profile pictureAWS
エキスパート
レビュー済み 4ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ