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

How to deploy Juju services Programmatically . Is there any API available to do the same?

share|improve this question

Yes there is a websocket-based Juju API. You can use it from Go directly (see, or you can use Juju Deployer Python wrapper around the API. It supports stack-like simple and complex scripted deployments.

The best way will be to get the source locally with bzr branch lp:juju-deployer and then see the README file with instructions how to use it. You might build an up-to-date Sphinx documentation by going into the doc/ directory and running make singlehtml (or your preferred format - run make to see a list of supported targets).

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.