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

What is the minimum number of nodes required to setup a functioning cloud as described in this tutorial:

I just want to run some tests and I don't have 10 computers lying around to do so. Is it possible to use 2-3 nodes(+1 for the MAAS server)?

share|improve this question

Each time juju deploy is called it starts a new machine. Also, juju bootstrap reserves a machine to start up zookeeper.

So it looks like that example needs about 9 nodes.

Since you don't have 10 machines, you could do the simple example here.

share|improve this answer
That link to the simple example is ... well not quite dead but not exactly leading to any example :-) – guntbert Jan 17 '13 at 19:42

You can use juju-jitsu to set the same in 6 machines.

In this case, glance and dashboard goes on same machine as keystone and rabbitmq-server goes along with mysql server. Thus you save 3 machines.


share|improve this answer

Actually, you might be able to get away with the MAAS server itself (1), add two nodes to that (2,3) and then lump up several services on the first actual node itself using the following syntax:

juju deploy --to lxc:0 keystone
juju deploy --to lxc:0 rabbitmq-server
juju deploy --to lxc:0 nova-cloud-controller
juju deploy --to lxc:0 openstack-dashboard
juju deploy --to lxc:0 glance
juju deploy --to lxc:0 juju-gui
juju deploy --to lxc:0 cinder
juju deploy --to lxc:1 nova-compute

I'm assuming an install of Ubuntu, MAAS, JuJu and OpenStack. You probably want to deploy ceph to there. Depending upon the network situation you may want to add the neutron-related stuff. Possibly you might want memcached.

If you look at the charms page for the openstack base you get an idea of what would be included by default: If you use this openstack base charm, though, it will deploy to one service per node, methinks. If you walk juju through its paces manually though and take advantage of the syntax I've described you can "co-locate" services on the same box.

See the following video: Deploy openstack to two servers. Be forgiving of the first ten minutes of the video as the author flounders a bit. He eventually gets down to the good stuff by the end.

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.