on-demand flask environments
This blog is a work in progress, and shall be revisited with more details, script and validation of given references. Not yet tested.
- Reference: https://python.plainenglish.io/deploy-a-python-flask-application-to-aws-elastic-beanstalk-55fb39f4903a
This example doesn't explicitly cover how to spawn RDS cluster or connect to RDS database. Refer to https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.RDS.html for the same.
- Reference: https://www.serverless.com/examples/aws-python-flask-api
Doesn't cover reactjs part in the example. Might need a subsection or script for the same.
- Reference to build docker image: https://hevodata.com/learn/flask-api/ and deploying to fargate: https://www.learnaws.org/2018/02/06/Introduction-AWS-Fargate/
Both of them don't touch on RDS database. To be figured out from official documentation.