通过AWS ECS在一个EC2实例中的多个Docker容器 [英] Multiple docker containers in one EC2 instance through AWS ECS
本文介绍了通过AWS ECS在一个EC2实例中的多个Docker容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以通过AWS ECS(EC2容器服务)在一个EC2实例中运行多个docker容器?
Is it possible to run multiple docker containers in one EC2 instance through AWS ECS (EC2 Container Service)?
推荐答案
是
AWS的文档/产品详细信息从来没有出来,但没有明确说出来,但是它谈到了将许多容器启动到集群中。集群可以是一个实例。
AWS's documentation/product details doesn't ever come out and say it explictly, but it talks about launching many containers to a cluster. A cluster can be one instance.
配置容器时,您可以指定内存和CPU使用率。 ECS使用它来计划(或打包)带有Docker容器的EC2。
When configuring a container, you specify memory and CPU usage. ECS uses that to "schedule" (or "pack") an EC2 with Docker containers.
这篇关于通过AWS ECS在一个EC2实例中的多个Docker容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文