Host Docker Containers in the Cloud via IBM Bluemix

By Niklas Heidloff, posted on Apr 27, 2015

Over the last weeks I've attended two bigger Java conferences in Germany - JavaLand and JAX. It felt like most of the sessions at these conferences were about Docker and microservices. For people who haven't had a chance to learn more about Docker I describe below on a high level what value Docker provides and how to get started with Docker when using IBM Bluemix for the hosting of the containers in the cloud. I blogged about this earlier this year but since then things have evolved and new resources have become available.

The big benefit of Docker images is that they can be ported very easily to other environments. For example developers can work locally and then hand over images to their quality engineers or host these images in the cloud. This addresses the problem that probably every professional in software development has experienced where especially new software runs only on the machine of the developer but not in other environments. When these problems are reported developers often respond with "but it works on my machine".

The reason why Docker images can be ported so easily is because they don't contain only the application but also the application server and the necessary configuration. Rather than deploying a packaged application to another application server, a new container is created containing everything needed to run the application. So in that sense containers are similar to virtual machines. The big difference to virtual machines is that they don't contain their own operating system and multiple containers can share the same resources which makes containers much more lightweight than classic virtual machines. IBM Research published recently an interesting document An Updated Performance Comparison of Virtual Machines and Linux Containers.

In December 2014 IBM announced a Strategic Partnership to Deliver Enterprise Applications in the Cloud and On Prem and the IBM Containers Beta based on Docker. In February at IBM InterConnect 2015 more functionality was announced in this context. In the Bluemix user interface containers show up now in their own category on the same level as CloudFoundry and OpenStack as opposed to just another integration service. At InterConnect IBM also previewed the new capability to build and deploy Docker in the cloud via IBM DevOps pipelines.

IBM product manager Chris Rosen wrote some blog entries recently about Docker in IBM Bluemix that I encourage you to check out. In one of his blog he describes the 5 game-changing capabilities from IBM Containers on Bluemix. The main capability Bluemix adds here is an access controlled registry of your images and the ability to host and manage containers in the cloud.

In order to get started with Docker on Bluemix check out the documentation, the Docker webinar, the redbook, a quick demo or the other blog entries from Chris Rosen (getting started, ice tool).

Last week Ryan Baxter and I presented at JAX how Java developers can use Bluemix. Ryan extended a sample I did earlier to show how to run it not only via CloudFoundry but also via Docker. I don't want to steal Ryan's thunder since I'm sure he'll blog about it, but essentially he used the IBM Docker image for WebSphere Liberty which is one of the curated images that show up by default in Bluemix. Check out the InterConnect session to learn more.

Pictures from IBM Bluemix at JAX in Germany

By Niklas Heidloff, posted on Apr 24, 2015

This week the JAX conference took place in Mainz, Germany. JAX describes itself as "the leading conference for enterprise technology, software architecture, agility and Java in Europe". The conference covers the topics Java, Enterprise, Web, Mobile, Internet of Things and Big Data. To me it felt like this year half of the sessions were related to Docker and/or microservices.

IBM had a booth, we did two lotteries and we gave a keynote and two sessions. I really liked the event. We had a lot of traffic at our booth and really good discussions, the attendees were the people we are targeting - developers - and the organization including location, receptions, etc. was very good too. Below are some pictures from the event.

Our team: Rene Meyer, Thomas Bueck, Anna Bekkerman, Ryan Baxter and myself. Missing on this picture are David Barnes and Karim Abousedera.

David Barnes presenting the keynote in front of 2000 people.

David before the keynote with the Sphero ball that the audience got to dance via a chat application he set up during the session.

Our two lotteries where we gave out GoPro Hero 4 cameras.

David in his big data session.

David is being interviewed. I'll post the interview separately once published.

Our booth.

In addition to t-shirts we also had earbuds as give aways which were popular.

When implementing new applications or new functionality I always try to use an existing piece of code as starting point that comes close to what I'm looking for. Even for simple functionality this has proven to be a good practice for me since I don't loose time trying to find the right APIs and dependencies. Fortunately for IBM Bluemix developers many samples have been made available under open source licenses over the last months.

Most Bluemix samples have been posted to GitHub, e.g. generic Bluemix samples or Watson samples, but finding the ones you're looking for can be a challenge. Below are the different options to find samples in addition to internet searches.

In the documentation for every runtime and service there are links to available samples at the very top that showcase the functionality of the different services, e.g. the bluelist sample for the iOS push service.

The website displays links to 150 samples. You can find samples by full text search, used service and language. From here the samples can be deployed easily via the Bluemix Deploy Button.

The Bluemix Dev page also lists some samples.

In addition to GitHub several projects have been posted on IBM Bluemix DevOps. You can find public Bluemix projects via search.

There is also a big number of Bluemix tutorials on IBM developerWorks which come with sample code.

Two cool Bluemix Keynote Demos

By Niklas Heidloff, posted on Apr 13, 2015

I've the pleasure to work in a team of awesome people in IBM's Emerging Technologies group. Below are two short videos of demos my colleagues David Barnes and Mark VanderWiele have given recently that show some of the capabilities of IBM Bluemix.

In the following video David demonstrates how to quickly deploy a chat application to Bluemix and how to connect to a Sphero ball based on content in the chat. He gave this demo at the NY Tech Meetup.

In the next video Mark demonstrates how to communicate to the same Sphero ball via speech recognition in the keynote of the O'Reilly Software Architecture Conference.

IBM Bluemix at JAX in Mainz/Germany this Month

By Niklas Heidloff, posted on Apr 1, 2015

From April 20th until April 23th the JAX conference will take place in Main, Germany. I have never attended this conference but heard many good things about it. We will present IBM Bluemix in sessions and at our booth.

JAX describes itself as "the leading conference for enterprise technology, software architecture, agility and Java in Europe". It's a technical conference covering various topics: Java, Enterprise, Web Technologies, Engineering, Mobile, Internet of Things, Agile, Architecture, Big Data. Last year they've had more than 2000 attendees and more than 200 high quality sessions. Check out this year's agenda.

My colleague David Barnes will do a keynote on Tuesday 04/21 at 2:15 PM and a second session about big data on Tuesday 04/21 at 11:45 PM.
Innovate. Create. Take it to the Masses. A Cloud Platform for the World’s Ideas
What’s Next for Big Data Analytics?

Ryan and I will do an extended version of our Bluemix Java session on Wednesday at 8:30 AM.
IBM Bluemix – The Cloud Platform Java Developers have been looking for

If you come to our booth you'll also get a chance to win one of two GoPro HERO4 black cameras that we give out in lotteries on Wednesday and Thursday.

More Blog Entries ...

Hi, my name is Niklas Heidloff. I work for IBM as an IBM Bluemix Developer Advocate. The blog contains information about IBM Bluemix and articles about my previous work in IBM Collaboration Solutions, esp. IBM Connections and XPages.



The postings on this site are my own and don't necessarily represent my employer IBM's positions, strategies or opinions.