简体   繁体   English

自定义触发器 AWS AutoScale

[英]Custom trigger AWS AutoScale

I have an EC2 server running on AWS (nonstop working).我有一个在 AWS 上运行的 EC2 服务器(不间断工作)。 I want to trigger another server group in Auto-scale group if this EC2 server's CPU reaches 70. How can I do this?如果此 EC2 服务器的 CPU 达到 70,我想触发 Auto-scale 组中的另一个服务器组。我该怎么做?

My Idea: Cloudwatch > Lambda > Trigger AutScale我的想法:Cloudwatch > Lambda > 触发 AutScale

If is there any good solution, i would like to hear that.如果有什么好的解决方案,我想听听。

An auto-scaling group can trigger off any CloudWatch Alarm.自动扩展组可以触发任何 CloudWatch 警报。 So just setup your CloudWatch alarm, and configure your auto-scaling group to use it.因此,只需设置您的 CloudWatch 警报,并配置您的自动扩展组以使用它。 No need to use Lambda for this.无需为此使用 Lambda。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM