One of the great conveniences I've found of using docker is that it allows me to guarantee the environment my code is running in is very similar, if not identical, to the environment it will run in when running in production. (While I don't use docker for production deployments at the moment, my docker VMs all use the same puppet scripts as my deployment tools)

Juju seems like a great tool for deploying and linking services together, but I'm struggling to see what, if any, role it plays in the development of software. I'd like to be able to use Juju to locally deploy the code I'm writing, as well as the database servers it depends on. Is this a suitable use of Juju? I've found no documentation of this kind of use, which leads me to suspect it's not. (though there is plenty on just deploying locally, not developing and deploying).

up vote 6 down vote accepted

This is a great question, and you're right that this topic isn't discussed often. We have been using Juju for development in our day-to-day activities for over a year so I wrote a blog post about it hoping to illustrate the power of using Juju for development.

http://fromanegg.com/post/121456490632/using-juju-for-development

Also keep in mind that a Juju Charm can be written using any programming language or DSL that can be executed on the host machine. This means it can use Puppet, Chef, Python, JavaScript, Docker, and pretty much anything else you would like to use. So you can create a Charm using your existing scripts to take advantage of all the other features Juju has to offer.

  • Great, glad you liked it. I'm hoping to do some follow-ups with real code and workflows in the near future. – hatch Jun 15 '15 at 15:43

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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