How do I configure juju for local usage?

18,033

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:

Share:
18,033

Related videos on Youtube

Jorge Castro
Author by

Jorge Castro

Updated on September 18, 2022

Comments

  • Jorge Castro
    Jorge Castro almost 2 years

    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?

  • mfisch
    mfisch over 11 years
    I'd like to add that for people with more than one environment setup in the yaml file, you select the environment by passing -e <environment_name> to select which one to use.
  • Nathan Osman
    Nathan Osman almost 11 years
    After running juju init -w, I get an error: " invalid choice: 'init'". I am using the version of Juju in the Raring archives. Do I need to use the PPA?
  • s3v3n
    s3v3n almost 10 years
    I'm using ubuntu 12.04 and I had to add cloud-archive:tools PPA in order to be able to bootstrap.
  • Craig
    Craig over 4 years
    The documentation link is dead, I found it here instead: jaas.ai/docs/lxd-cloud