I need to deploy a Flask app with Celery and Redis to Amazon AWS. I'm used to work with AWS Lightsail and this will be my option.
By the other side I must( as per company policy) deploy my Postgres DB to AWS RDS
Im planing to use Dockers with Ngix, Unicorn in the AWS Lightsail to deploy the app that as I said uses Celery and Redis. So all this will be in the docker in Lightsail
By the other side the DB will be in RDS without using docker
What I want with this approach is a quick deployment of changes and upgrades to the app .
What I want to know is this :
1-Is this a good approach to production, that will help me in quick deployments ? 2-Does anybody know of some examples of docker-compose files that could help me with this ? 3-Could someone please let me know some limitation in this approach and 4-Is Lightsail a good option in AWS for a Docker deployment of flask apps as the one described here ?
Thanks