Deploying on Amazon web services
Amazon Web Services (AWS) is a collection of application platforms maintained by Amazon and built on top of the same infrastructure that runs amazon.com. To deploy our Flask code, we will be using Amazon Elastic Beanstalk, while the database will be hosted on Amazon Relational Database Service, and our messaging queue for Celery will be hosted on Amazon Simple Queue Service.
Using Flask on Amazon Elastic Beanstalk
Elastic Beanstalk is a platform for web applications that offers many powerful features for developers, so web developers do not have to worry about maintaining servers.
For example, your Elastic Beanstalk application will automatically scale by utilizing more and more servers as the number of people using your app at once grows. For Python apps, Elastic Beanstalk uses Apache in combination with mod_wsgi
to connect to WSGI applications, so there is no extra configuration needed.
Before we begin, you will need an Amazon.com account and log in to http...