通过 AWS ECS 在一个 EC2 实例中的多个 docker 容器 [英] Multiple docker containers in one EC2 instance through AWS ECS

查看:29
本文介绍了通过 AWS ECS 在一个 EC2 实例中的多个 docker 容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过 AWS ECS(EC2 Container Service)在一个 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屋!

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