Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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:

https://lists.ubuntu.com/mailman/listinfo/juju

share|improve this answer
add comment

Your Answer

 
discard

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.