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 would have thought that juju shutdown would move the instances in the deployment from "running" to "stopped." Instead it actually terminates all instances. Are juju deployments inherently ephemeral? Is there any way to stop and restart an juju deployment?

share|improve this question
up vote 4 down vote accepted

The short answers are, "no" and "no".

The shutdown command has always made me a little nervous, because of the finality of these terminations. The default AMI's used are for EBS instances, so you can at least snapshot all the instances before the shutdown, but I don't think there's an easy way to then start new instances with these EBS volumes just yet. I do think that it would be useful to have the ability to stop / start services or the whole deployment.

We've talked about having various options for saving and restoring the data before/after shutdown, which is related to your question. I'd suggest renewing this discussion on the Juju mailing list, which is more appropriate for development discussions:

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.