Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

OpsWorks deployment cookbooks for plone web apps (buildout, Django, Plone)

Notifications You must be signed in to change notification settings

caffodian/opsworks-web-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookbooks for Deploying Python Web Applications on AWS OpsWorks

This repository contains cookbooks to assist with deploying python web applications (specifically buildout based applications and Django applications, along with some special helpers for deploying plone) on AWS OpsWorks. It uses OpsWorks Chef 11.10 and Berkshelf support to pull in required cookbook dependencies. See the included cookbooks (opsworks_deploy_python and plone_buildout) for documentation on their use.

Deploying with Your Own Cookbooks

The simplest way to use these cookbooks as the basis for your own cookbooks is to fork this repository and add your cookbook to it.

Ideally, you would be able to simply include the Berksfile from this repo in your own custom cookbooks repostory and add the cookbooks to it. However, the AWS cookbooks these cookbooks depend on cannot be easily resolved by Berkshelf. I hope to find a better solution for extending these cookbooks soon.

Testing your Deployments and Recipes Locally

Depending on the complexity of your deployment, you may be able to test your deployment and any custom recipes using vagrant, which has built-in support for chef-solo and Berkshelf server provisioning. There is an included example Vagrantfile, which demonstrates such an example configuration. The example Vagrantfile runs the example Plone 4.3 buildout and sets up mock layers to connect functionality. You'll need to modify the Berksfile when testing to explicitly pull in the OpsWorks cookbook dependencies, by uncommenting the commented section at the bottom.

Because of incompatibilities between recent versions of Vagrant and the vagrant-berkshelf plugin, it is best to use Vagrant 1.4.3 with the vagrant-berkshelf plugin version 1.3.7:

vagrant box add precise64 http://files.vagrantup.com/precise64.box
vagrant plugin install vagrant-berkshelf --plugin-version '1.3.7'
vagrant plugin install vagrant-vbguest
vagrant up

About

OpsWorks deployment cookbooks for plone web apps (buildout, Django, Plone)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published