Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been wondering if it is possible to deploy a charm, say for example, a wordpress charm to a single node. i.e. bootstrapped node + mysql node + wordpress node = 1 node

One scenario can be: deployments that do not require high availability and get very little traffic.

share|improve this question

If you're just looking to run a personal blog and want to save money you can run all of this on a single node, here's an entire single node installation from scratch

juju bootstrap
juju deploy --to 0 wordpress
juju deploy --to 0 mysql
juju add-relation wordpress mysql 
juju expose wordpress

This will run everything on one node, however we still have the flexibility to grow horizontally. If your blog gets more traffic and you need to scale:

juju add-unit wordpress

Since we're omitting the --to command Juju will fire up a new dedicated machine for Wordpress and relate it. You can also remove-unit when the surge is over and go back to a cheaper one node set up.

The --to command lets you do a bunch of options for deploying to units, you can check it out in the Deploying section of the documentation here:

share|improve this answer

You can also use jitsu, jitsu is the tool where they develop new ideas how juju should work. Jitsu has a "deploy-to" command.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.