DEV Community

Discussion on: What are the kind of web application you have launched in AWS ECS in production?

Collapse
 
yloganathan profile image
Yuva

We have a python (Flask + Gunicorn) API running using ECS fargate in production and we use AWS RDS Postgres as a Database.

The common wisdom is never to run production databases in containers. There are many articles out there explaining why.

myopsblog.wordpress.com/2017/02/06...
vsupalov.com/database-in-docker/

Containers are meant for stateless applications that can be scaled without issues.

Yes, you can specify multiple containers in ECS. Check out task definitions in ECS.
docs.aws.amazon.com/AmazonECS/late...