EC2实例故障自动扩容

0

【以下的问题经过翻译处理】 你好, 我们在AWS EC2实例中是否有像Docker容器一样的功能,当一个容器崩溃或出现故障时会自动创建一个新的容器? 自动缩放有些类似于这个功能,但据我所知,它只会在主要实例不符合我们已经设置好的健康检查参数时启动,比如CPU超过80%。 请分享你的知识。 谢谢。

1 Answer
0

【以下的回答经过翻译处理】 您可以使用自动缩放组来设置可启动机器的最小数量。 即使服务上没有CPU负载,当发生故障并且实例崩溃或健康检查失败时,自动缩放组也会自动启动新实例以保持实例数量超过最小数量的增加。

https://dev.classmethod.jp/articles/ec2-autohealing/(抱歉,此为日文文章,请翻译)

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions