Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

  1. Blog
  2. Article

Guest
on 1 March 2016

Juju 2.0 and LXD opens a whole new dimension to developing BI apps


I’ve been itching to write this post since I got back from Config Mgmt Camp in Gent a few weeks ago.

The developers over at Canonical are gearing up to launch Juju 2.0. Maybe not yet a household name in the devops land but it is certainly making waves and with a company like Canonical and especially Mark Shuttleworth’ watchful eye leading the way, it is heading in the right direction….

Anyway, I digressed, I was wanting to explain how it can help data people like myself when it comes to building data platforms. Juju 1.x has an understanding of “local” deployment models, where I say “hey Juju I want a MySQL server and HA Proxy installed” and it will go away and do it. That’s great, but at the same time I could have used apt-get to do it for me without learning Juju. Juju 2.0 takes development to the container age. Canonical have also been helping drive the LXC/LXD container technology and this comes storming into Juju 2.0 in a big way. If I want to build a virtual platform on my laptop, or on a development server or on some cloud server, I can now do that using the LXD provider in Juju 2.0.

This is great for developers because it means I can, for example, test a cluster of Pentaho Data Integration servers or I can test Saiku’s clustering capabilities and fail over. Name a workload, you can simulate it! All from my laptop or from a development server, without spinning up and paying for 5 cloud servers that I don’t really need. Using containers of course means you keep the separation, you can install 3 MySQL servers and have master slave replication even though they are all running on the same server, in production that makes little sense, but in development, this makes a lot of sense.

As of today the GUI doesn’t run over 2.0 so this video has no flashy graphics, but this will arrive over the next day or so, but the GUI doesn’t offer any extra functionality apart from it being more visual, so, as I’m impatient I knocked up a video this afternoon, demonstrating how easy it is to setup an 8 node Hadoop/Flume/Spark cluster on my development server, tear it down, and install a scalable mediawiki cluster… as you do. Okay, so you may not do that, but you now have the ability to do so, if the want or need arises, of course the possibilities are endless, and when you’re done, you tear it all down and you’re back to a nice clean development server.

Of course to do all of this you need the relevant “charms” to deploy onto Juju, the charm store is rapidly expanding and in a future instalment we’ll take a look at charm development and deployment for personal workloads.

To find out more about Juju check out the Juju website. If you require help and support setting up Juju for your own development or production needs, let us know!

So without further ado, here is the video I put together this afternoon:

Original article

About the author

Tom Barber is the founder and technical director of Meteorite.bi, a consulting company specialising in the Saiku Analytics platform. His weekly duties include BI consulting, Scala & Java programming and tinkering with System Administration frameworks. In his spare time Tom is a regular blogger and open source committer. You can read more about Tom on the Meteorite.bi blog.

Related posts


Canonical
15 November 2024

Canonical announces the first MicroCloud LTS release 

Cloud and server Article

Canonical announces the first MicroCloud LTS release. MicroCloud 2.1.0 LTS features support for single-node deployments, improved security posture, and more flexibility during the initialization process. ...


Felipe Vanni
13 November 2024

Join Canonical in Paris at Dell Technologies Forum

AI Article

Canonical is thrilled to be joining forces with Dell Technologies at the upcoming Dell Technologies Forum – Paris, taking place on 19 November. This premier event brings together industry leaders and technology enthusiasts to explore the latest advancements and solutions shaping the digital landscape. Register to Dell Technologies Forum – ...


Felipe Vanni
4 November 2024

Join Canonical in Dallas at Dell Technologies Forum

AI Partners

Canonical is excited to be a sponsor of the Dell Technologies Forum in Dallas, taking place on November 14th. This is a great opportunity to learn about the latest open-source solutions from Canonical and Dell Technologies, and how they can help you transform your business. Register to Dell Technologies Forum – Dallas Empower your organiz ...