Ubuntu – How to configure juju for local usage


I'm too cheap to pay for EC2, and I don't have enough servers to set up my own openstack, how do I configure juju to use Linux Containers (LXC) on something like my laptop?

Best Answer

Install Juju:

sudo add-apt-repository ppa:juju/devel
sudo apt-get update
sudo apt-get install juju-core lxd

You just need to configure the local provider:

newgrp lxd

Then bootstrap a new controller:

juju bootstrap lxd-test lxd

Follow the documentation for the rest of the configuration steps: