Chapter 12: Deploying Applications to the Cloud
In the previous chapter, we focused our efforts on integrating our models within the Flask framework to develop two main methods of serving data to end users: Graphical User Interfaces (GUIs), and Application Programming Interfaces (APIs). Using the Flask framework, we managed to locally deploy our models for development purposes only. In this chapter, we will take the next step forward and deploy our model to the cloud, thus making it available not only locally to ourselves but also across the web to many other users.
There are many different deployment platforms out there, such as Amazon Web Services (AWS), Google Cloud Platform (GCP), Azure, and Heroku, each of which serves to fulfill a number of needs. In each of these platforms, there are a number of solutions, each containing its respective pros and cons. For each of these solutions, there are a number of ways we can deploy a framework within them. Essentially, the number of...