Service Orchestration In The Cloud With Juju

Jorge Castro (Canonical Ltd. / Ubuntu), Mark Mims (Silicon Valley Data Science)
Location: E143/144 Level: Intermediate
Average rating: ***..
(3.11, 9 ratings)


We’ll look at stacks of services managed by juju and the charms behind those services. Along the way we’ll go over some of the production (flexibility, scalability, repeatability, and automation) benefits that emerge from the paradigm shift from servers to services.

Be ready with questions… What’s the point? Which problems was it created to solve? What’s it really look like? What is a juju charm anyways? Do I need to go to charm school to get started?

This is what we’ll cover in the workshop:

  • Why Juju? What problems are we trying to solve?
  • quick demo to grok juju and service orchestration… it really speaks volumes for itself
  • walk through a more sophisticated stack of services (read-only
    replicasets, 2000-node hadoop clusters, or mongodb shard/config
    servers) to show it’s not a toy
  • walk through charms for a couple of services. They’re easy to develop and flexible. We’ll go over charms that the audience is interested in, as well as show you our Rails and Node.js charms which are designed to get your app up and running in a few commands.

Along the way, depending on the audience and their questions, we can
track into:

  • high-level stuff like how the explicit relation lifecycle provides forthis new paradigm of service orchestration
  • architecture of juju… it’s really just an eventing framework…
    zookeeper, a handful of agents that subscribe to zk changes, and a
    handful of providers for ec2, hp, lxc, maas
  • how charms free the developer from package constraints (i.e., ability to easily use rvm or gems instead of being stuck on the server with packaged tools only)
  • metal-as-a-service, what is it and how can juju be used to drive
    bare-metal service deployments?
  • future directions… juju provides some building blocks for your
    infrastructure and an API to drive it… how can you programmatically leverage that going forward?
  • lessons learned in scaling juju (gaming the ec2 api and not
    serializing yaml!)
  • lessons learned from dogfooding (charms for the automated testing of charms)

Attendees should know what a cloud is and have some experience deploying or developing cloud applications in order to understand the basic topics of this session. Though you can follow along without a laptop you will get more out of the session if you have:

* An Ubuntu laptop with Juju installed or a Mac OSX laptop with Juju installed
* Amazon AWS credentials or HP Cloud credentials so you can spawn remote instances (If you are using Ubuntu on your laptop you can just use Juju with LXC local containers as an option)
* You should be comfortable with the command line, though we will be highlighting the graphical user interface as well

QUESTIONS for the speaker?: Use the “Leave a Comment or Question” section at the bottom to address them.

Photo of Jorge Castro

Jorge Castro

Canonical Ltd. / Ubuntu

Jorge O. Castro currently works on the Community Team as Cloud Community Liaison for Canonical Ltd, sponsors of the Ubuntu project. Jorge has been using Linux since 1998, and his current passion is juju, the new cloud deployment tool. He has spoken at the Ohio Linux Fest, SCaLE, and OSCON as well as various LUGs over the years.

Photo of Mark Mims

Mark Mims

Silicon Valley Data Science

I’m a software developer and a Physics geek.

I love helping people use software to solve real-world business problems… especially the kind that involve crunching and munching lots of data in the process.

Clouds and Big Data are both rightfully all the rage right now, so I find I spend most of my time working in that dimly-lit space where Dealing with Data™ meets Infrastructure Engineering.

I’m really psyched to work on the Ubuntu Server Team for Canonical, the people behind the Ubuntu Linux distribution.

We’re building DevOps tools and juju charms to insure Ubuntu remains the clear and easy choice as a Cloud and BigData OS.


Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or

Contact Us

View a complete list of OSCON contacts