This chapter covers end-to-end software deployment of a Python-based web application. It will also introduce you to some common cookbooks and how to put them all together to create a fully automated deployment mechanism.
We will walk through the following topics:
Configuring your local settings to work with AWS
Modeling a simple
web.py
application with ChefInstalling the cookbooks you need
Provisioning EC2 instances for web and DB servers
Defining your roles
Adding users to hosts
Installing the required software
Configuring an application using Chef
Deploying the application