Skip to content

Commit

Permalink
And more tips ...
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Castro committed Jul 18, 2014
1 parent 46e4335 commit f66cc56
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
@@ -1,6 +1,6 @@
# Juju Cheatsheet

Sometimes you don't have all day to figure stuff out, here's a TLDR of how to use Juju:
Sometimes you don't have all day to figure stuff out, here's a TLDR of how to use Juju. Remember you can always `juju help` and then any of these subcommands to get the help for the command.

## Installing the PPA and all the goodies:

Expand Down Expand Up @@ -40,6 +40,12 @@ Sometimes you don't have all day to figure stuff out, here's a TLDR of how to us
- `juju deploy servicename --to 10` - Deploy service to the raw bare metal on machine #10
- `juju deploy servicename --constraints instance-type=m1.small` - Deploy to certain AWS types.

## Working with Units

- `juju ssh servicename/#` - ssh to a specific machine # for a service.
- `juju run --service servicename "uname -a"` - run a command on all machines of a service and return results to the console (useful!)
- `juju scp file.sh servicename/0:/tmp` - copy file.sh to /tmp on node 0 of servicename.


## Destroying Stuff

Expand Down

0 comments on commit f66cc56

Please sign in to comment.