Recommendation: Deploy Docker application to AWS
I got a local Docker stack running Node.js, MongoDB and Nginx.
It runs perfectly using
docker-compose up --build.
Now it’s time to deploy my application to a production environment.
I have considered EC2 Container Service and EC2, but can you recommend an easier approach? The learning curve is steep!
2 Solutions collect form web for “Recommendation: Deploy Docker application to AWS”
Elastic Beanstalk supports Docker, as documented here. Elastic Beanstalk would manage the EC2 resources for you so that you, which should make things a bit easier on you.
You can install Kontena to AWS and use that to deploy your application to production environment (of course other cloud providers are also supported). Transition from Docker Compose is very smooth since kontena.yml uses similar syntax and keys as docker-compose.yml.
With Kontena you will have private image registry, load balancer and secret management built-in that are very useful when running containers in production.