My application - a Postgres/Nginx/Django application powered by docker-compose. 3 separate containers.

My production setup - Nginx/Django containers hosted on Amazon ECR. Deployment to a single cluster/service on AWS Fargate.

My confusion - should I externalize my Postgres database into AWS managed service or is there a way to keep things persistent in Fargate?


Fargate only provides ephemeral storage (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-storage.html). Running a Database on Fargate is a no-go.

I would indeed recommend that you use RDS unless you have a clear requirement or limitation that drives you to manage it yourself.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.