Will it run in OpenShift?

From the first day I attended Red Hat's OpenShift v3 course, I began asking the question, "Will it run in OpenShift?" I use an open source knowledge management app called PiggyDB religiously, and I wanted to know if an instance running in OpenShift could really replace a full fledged VM.

After learning the basics of OpenShift, (a.k.a. launching basic webapps from templates), I immediately turned my attention to setting up an instance of PiggyDB.

The first thing I noticed...? It was pretty easy! I literally dropped the .war file into a specific folder in github, pointed a Tomcat template to that repo, attached a storage volume, and VOILA! I had a PiggyDB running in OpenShift!


So, this got me thinking.

What else can I run in OpenShift?

One of my first attempts to test the limits of OSE was to try to run a 3D game. That will never work, right? Wrong...


You can play this now at the link below!
http://racing.lab.powerninjas.net *Note: This game doesn't run in IE or Safari*

How about other games?


Okay, how about a gitlab server that I can loop back to and store my code for OpenShift apps? How cool would that be?

(Gitlab is no longer running in my OSE environment because it needs full "privileged container" rights. The Gitlab team is currently working with Red Hat to create a Gitlab image more suited for OpenShift. Read more about it here.)

Finally, after having all this fun, I started to consider customer use cases. What could customers possibly want that OpenShift may not be able to offer? Maybe a social media site like twitter? Or a blog? Or a Question and answer site like Stack Exchange? How about all three together in the same webapp...?

Note: There is no way to comment directly on this blog post, but feel free to "fake tweet" any comments here!

And last but not least, I attempted to give OSE 3 the toughest test I could think of...a full streaming webservice (ala NetFlix). Behold, full HD streaming video through OpenShift!

(Took this one down, too.)

To me, the most impressive application was the 3D game. I researched further and found that you can even do GPU passthrough and perform CUDA computation inside of an OpenShift application, if anyone ever decides to take it that far.

Equally impressive is the fact that, since these apps are containerized, they require much fewer resources to run. All of the apps linked above are running at the same time right now on my home lab, along with others that are "boring" enough that they didn't make this list.

Even the blog that you're currently readings is running in my OpenShift lab!

So, what challenges do you have for this amazing new technology? Do you have an app that you think OpenShift can't handle? If so, give it a try! You might be surprised. :D


comments powered by Disqus