Chapter 6. From Development to Deployment

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 Chef
  • Installing 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

Describing the setup

From a high level, here is what needs to happen in order to take an application that we have developed from a desktop to ...

Get Chef: Powerful Infrastructure Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.