What are the benefits of using Docker with AWS Elastic Beanstalk?

I deployed several websites to AWS Elastic Beanstalk and then I heard about Docker, so I think that maybe I can try this time for the small business e-commerce website (Lumen + Angularjs). I searched all over the Internet, but since I have no experience with Docker, it’s still difficult to get a great idea of ​​the benefits of using Docker on AWS. All I can find are a few descriptions:

Arguments

  • Separated dependency and server hardware management
  • development environment is identical (internally) to the work environment
  • Dependency management means that not everyone needs deep knowledge of every part of your technology stack.
  • Easy customization of user tasks and services using the AWS SDK or a third-party tool.
  • Use available resources with ECS by assigning tasks to EC2 with enough free resources. Use automatic scaling when tasks require more resources.

against

  • The assembly creates a large file that needs to be downloaded
  • Docker NAT can increase network latency (use docker run -net = host, for more information on docker performance see here).
  • Some developers come up with the word docker
  • Some applications must be fixed to work with Docker

Can someone give me some simple examples or explanations?

+5
source share
2 answers

, Docker Elastic Beanstalk , , Elastic Beanstalk.

:

Elastic Beanstalk - Docker. Docker . , ( ), . Docker , -.

, , , Java, - Tomcat, Elastic Beanstalk. , Docker.

Elastic Beanstalk, Docker. AWS, AWS. , Docker - . , Elastic Beanstalk, Docker.

: , Docker Elastic Beanstalk, . , ECS Docker AWS. , , Docker EC2 .


10/5/2019: AWS, , Docker, . , Java Elastic Beanstalk - Java 8. , Java Elastic Beanstalk, Docker.

+6

, . - , . ebextensions.

beanstalk ebextensions. , .

, - , , .

+1

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


All Articles