AWS ECS是否支持每个容器的动态可扩展性? [英] Does AWS ECS support per container dynamic scalability?

查看:162
本文介绍了AWS ECS是否支持每个容器的动态可扩展性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亚马逊的 EC2容器服务可让您运行任意数量的容器,它将选择一个EC2实例自动运行容器。哪些是伟大的功能但是,我们非常关心自动可伸缩性

Amazon's EC2 Container Service allows you to run any amount of containers you want, it will choose an EC2 instance(s) to run the containers on automatically. Which are great features. However, we are really concerned about automatic scalability.

场景:


  1. 我通过AWS ECS控制台启动一个容器。

  2. HTTP请求开始出现。

  3. HTTP负载增加

  4. 容器的CPU(或RAM)使用率已经接近100%。

  1. I launch a container via AWS ECS Console.
  2. The HTTP requests are starting to come up.
  3. The HTTP load increases significantly with time.
  4. CPU (or RAM) usage of the container is getting closer to 100%.


$ b $问题1:ECS会自动运行一个容器

问题2:ECS会自动关闭其中一个容器, CPU(或RAM)负载变低?

Question 2: Will ECS automatically shut one of the containers down when CPU (or RAM) load gets low?

推荐答案

不,您没有使用基本ECS完全自动缩放。您可以做的是为负载变高而报警触发更新以增加集群大小。

No, you don't get fully automated scaling with basic ECS. What you can do is create an alarm for when load gets high and have the alarm trigger an update to increase the cluster size.

这篇关于AWS ECS是否支持每个容器的动态可扩展性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆