DEV Community

Discussion on: How to Run Docker Containers via AWS Elastic Container Service

Collapse
 
rafalpienkowski profile image
Rafal Pienkowski

Nice article. A quite good introduction to AWS's ECS service. I wouldn't recommend hosting the database as an ECS service. There are many better options to do that, for instance, AWS's RDS, which offers backups, monitoring, etc. I need to add that ECS's task definition may contain more than on Docker container. For those who are familiar with Kubernetes, you can compare task definition to k8s's pod. Lovely that you wrote this article. In my opinion, ECS is an excellent alternative to Kubernetes for projects which don't contain a lot of containers. You could write a little bit about ECS vs. Fargate. IMO that could make your post even better. For example, when you have less than 20-25 containers, hosting containers as Fargate ECS is cheaper. I'm glad that you mentioned CDK. I use it in my project. It's handy, but it could be more mature (on average, every week, a new version is released).
Could you tell me if you're using ECS in your projects? Could you share if and/or what problems with ECS you faced? It could be great if you share your experience with us.