I want to migrate from Heroku to Amazon AWS and I would like to deploy my app in Docker image. So the app consists of:
- Web server (node.js -> docker image)
- Worker (node.js -> docker image)
- Postgres database (Amazon RDS)
- Redis instance (Amazon ElatiCache?)
With my app I (Web+Worker):
- I have to be able to scale both web and worker instances manually or auto.
- update with new image with zero-downtime
- see realtime/history metrics
- see realtime/history logs
And now when studying Amazon docs I found "Elastic Beanstalk" and "Amazon EC2 Container Services (ECS)". I was wondering which one should I use to manage my application (docker images)? What is a difference between them?
Aucun commentaire:
Enregistrer un commentaire