Skip to content

Instantly share code, notes, and snippets.

@allomov
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allomov/9418465 to your computer and use it in GitHub Desktop.
Save allomov/9418465 to your computer and use it in GitHub Desktop.
juju cheatshit

juju cheatshit

containers are considers to be vm, lxc or chroots juju ignorant about provider

stable/dev versions

sudo add-apt-repository ppa:juju/stable sudo apt-get update sudo apt-get install juju-core juju-local

.juju folder

ssh folder local folder environments folder environments.yaml current-environment

Commands

juju init - creates juju environment file (by default ~/.juju/environments.yaml) with all providers that juju currenlty supports.

juju switch - switches to the given environment. with no parameters shows current environment. environment is a set of options that you have inside your environments.yml file.

juju bootstrap - creates scripts, turn your machine to a deploy node. juju bootstrap -e amazon

juju status

juju deploy

juju gui is a juju charm

juju add-relation

juju get get enviromnet variables in json juju set set enviromnet variables

juju expose service name juju open-port service name

juju charm proof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment