Mastering xPaaS

Get down and dirty in the OpenShift Cloud

Devoxx BE 2014
University Session
Room 4: 13:30 - 16:30
Eric D. Schabell
JBoss Technology Evangelist
Twitter: @ericschabell

Following along...

Need to register? Do it now...

University timeline

Taking the xPaaS tour

So what's


Repeat after me...




So what's the PaaS layer to me?

Never look back...

A Little History

  • Nov 2010: Makara acquired
  • In 2011: merged into OpenShift project
  • May 2012: Open Sourced
  • Dec 2012: OpenShift Primer (e-book)
  • 2013: Online Public PaaS / Enterprise Private PaaS / xPaaS Services
  • Apr 2014: OpenShift Primer revision 2 (e-book)
  • June 2014: OpenShift Online Market Place, extend reach to LTAM / APAC
  • Sep 2014: European hosting
  • Coming soon: v3 with Docker, Kubernetes, etc...

Events - JUG's, GOTO Aarhus, JAX London, JUDCon, Devoxx (2x), APAC Tech Exchange

OpenShift Primer

Devoxx 2013

Watch on

Now you can talk about

IaaS & PaaS

but what about


Enterprise apps are complex

PaaS reduces work & risk

Reduce more work with higher-level services

JBoss xPaaS services for OpenShift

Services for OpenShift

JBoss xPaaS Services

This is important

Follow along from here on out...

Need to register? Should have done it already...

The tools


  1. OpenShift Origin - upstream community.
  2. OpenShift Online - public cloud.
  3. OpenShift Enterprise (OSE) - on-premise.


  1. Sign up
  2. Install client tools
  3. Create domain
  4. Create application
  5. Deploy application (GIT)

Sign up, it's free!

Install Client Tools

  • Fedora / RHEL
    • openshift repo
    • /etc/yum.repos.d
    • sudo yum install rubygem-rhc
  • OSX / Unix
    • gem install rhc
    • see forum or blogs

Install for Windows

  • Windows article details following:
    • install Ruby for Windows
    • install GIT on Windows
    • install rhc tooling:
      • gem install rhc

RHC for Windows

  • Lastly we install rhc tooling:
    • gem install rhc

Create Domains

  • Use rhc command
    • $ rhc domain create {mydomain}
  • Use web admin console

Web Admin Console

Your account


Bronze upgrade

Some xPaaS need...

Into the Cloud

Open issues?

Application Details

Cartridge Additions

Other Options

  • name app and define type
    • $ rhc app create -t {apptype} {appname}
    • Node.js, DIY, Jenkins, PHP, Ruby, Python, Perl and most important Java!
  • add application to local repo
    • $ git add .
  • commit changes
    • $ git commit -m "Initial app import."

JBoss Developer Studio

Deploy to Cloud

  • Push the code
    • $ git push
  • Congratulations, your app is in the Cloud!

mPaaS: Java Mobile

Devoxx Mobile Registration

  • $ rhc app create -t jbosseap-6 devoxx
  • $ cd devoxx
  • $ git remote add upstream -m master git://
  • $ git pull -s recursive -X theirs upstream master
  • $ git push
  • http://devoxx-$

Devoxx mobile

Take a break

back in a bit...

University timeline