简体   繁体   中英

What's the difference between Docker running on 64bit Amazon Linux 2 and ECS running on 64bit Amazon Linux 2 platforms when using Elastic Beanstalk?

I want to deploy a multicontainer Docker app using AWS Elastic Beanstalk. I see both Docker running on 64bit Amazon Linux 2 and ECS running on 64bit Amazon Linux 2 platform branches support it. By using any of them, each one of the EC2 instances will have the same containers running inside.

So what's the difference between Docker and ECS platforms?

The Docker option simply runs docker run commands to start a container (or docker-compose up to start multiple containers) on each EC2 instance.

The ECS option uses the much more advanced ECS service to orchestrate and monitor the containers on each EC2 instance, and opens up the possibility of using other ECS features, such as service discovery.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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