Written by Kent Baxley, Canonical Field Engineer
Juju is orchestration software from Canonical used to easily and quickly deploy and manage cloud services. For example, say you want to deploy a blog web site using the open source Wordpress application. This can be done in 3 easy steps with Juju:
1. Deploy the Wordpress Juju charm2. This charm requires a database backend, deploy the MySQL Juju charm.3. Associate both charms together.
This process illustrates the simplicity involved in deploying a new application in a matter of minutes. In addition, you can easily scale up or down in one simple step by adding or removing charm units.
Juju's primary intent is to work either with various cloud providers or on bare metal in a MAAS environment. However, Juju can be configured to run on a single machine via the Local Provider.
The Local Provider furnishes a way to use Juju to deploy services in Linux Containers (LXC) on your local machine instead of on a cloud or several bare metal systems.
◦ This helps speed up the process of evaluating or developing charms and charm bundles.
◦ A charm can be written in a local environment and be deployed straight to a cloud environment with little to no modifications.
This document will focus on using Ubuntu 14.04 LTS for the local Juju environment. The first thing to be done is connect the Ubuntu system to the Juju stable PPA. This will provide the latest, stable versions of Juju.
To download the entire PDF, click here.