Why do you want to use AWS ECS against ElasticBeanstalk for Docker?

I plan to use Docker and associate 1 instance of EC2 with 1 Microservice.

Why do I want to deploy Docker in AWS ECS or ElasticBeanstalk?

AWS ECS is said to have built-in Docker support. This is true?

It would be great if you could develop the pros and cons of running dockers on AWS ECS against ElasticBeanstalk.

+5
source share
1 answer

An elastic beanstalk (multi-container) is an abstraction layer on top of ECS (Elastic Container Service) with some loaded functions and some restrictions:

  • Automatically interacts with ECS and ELB
  • Cluster health and metrics are easily accessible and displayed without any extra effort.
  • The load balancer must complete HTTPS and all server connections must complete HTTP
  • Easily customizable autoscan and instance size
  • Container logs are collected in one place, but still segmented by an instance - therefore, in a clustered environment, finding the instance that serves the request that logs some important data is a problem.
  • Only hard memory limits can be set in container definitions
  • All cluster instances must run the same set of containers.

Compared to ECS IT, Amazons' response to container orchestration. Its a bit rough around the edges and certainly a jump from Elastic Beanstalk, but it has the advantage of significantly greater flexibility, including the ability to even define a custom scheduler.

All restrictions imposed by the elastic beanstalk are removed.

Contact them for more information:

Elastic bean stock vs ECS vs Coubernes

Amazon EC2 Container Serivce

Amazon elasticbeanstalk

+7
source

Source: https://habr.com/ru/post/1272873/


All Articles