Chapter 5. Python in the Cloud
The previous chapter introduced you to Celery and other tools that we can use to create distributed applications with Python. We explored a couple of different distributed computing architectures: distributed task queues and distributed objects. There is, however, an important theme that we did not cover in any depth so far. It is the deployment of our finished application on multiple machines. This is exactly what this chapter is about.
Here, we will look at Amazon Web Services (AWS), the leading provider of cloud services, and how to deploy our distributed applications on its infrastructure. Clearly, the cloud is not the only way to deploy applications, and in the next chapter, we will, in fact, look at another way to deploy applications—HPC clusters. However, deploying to AWS or one of its competitors can be an easy and relatively inexpensive way of bringing a complex application to life.