Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)

Preview:

DESCRIPTION

Ever wondered about all the new Cloud offerings out there? What is a PaaS? What is this thing Garner keeps calling xPaaS? How can I as a beginner get started in a few hours? Whether your business is running on applications based on Java EE6, PHP or Ruby, the cloud is turning out to be the perfect environment for developing your business. There are plenty of clouds and platform-as-a-services to choose from, but where to start? Join us for three action-packed hours of power where we'll show you how to deploy your existing application written in the language of your choice - Java, Ruby, PHP, Perl or Python, with the project of your choice - jBPM, Ceylon, Switchyard, Drools Planner, Aerogear, GateIn, Drools (Rules / BPM) and more deployed into the OpenShift PaaS in just minutes. All this and without having to rewrite your app to get it to work the way the cloud provider thinks your app should work. If you want to learn about xPaaS and see how investing just a few hours of your time can change everything you thought you knew about putting your business applications in the cloud, this session is for you! (Part I of II, for part II see: http://www.slideshare.net/eschabell/devoxx-masteringx-paaspartii)

Citation preview

MASTERING XPAASGET DOWN AND DIRTY IN THE OPENSHIFT

CLOUD

DEVOXX BE 2014

ROOM 4: 13:30 - 16:30

UNIVERSITY SESSION

Eric D. SchabellJBoss Technology EvangelistTwitter: @ericschabellBlog: http://schabell.org

FOLLOWING ALONG...

MASTERINGXPAAS-ONTHE.RHCLOUD.COM

Need to register? Do it now...https://www.openshift.com

UNIVERSITY TIMELINE

Taking the xPaaS tourToolingInto the Cloud

30 minute break (14:45 - 15:15)

Learning PaaSMastering xPaaS

Part I (13:30 - 14:45)

Part II (15:15 - 16:30)

TAKING THE XPAAS TOUR

SO WHAT'S

IAAS

REPEAT AFTER ME...

I

DON'T

CARE

SO WHAT'S THE PAAS LAYER TO ME?

NEVER LOOK BACK...

A LITTLE HISTORYNov 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 PRIMERDEVOXX 2013

WATCH ON PARLEYS.COM

NOW YOU CAN TALK ABOUTIAAS & PAAS

BUT WHAT ABOUT

XPAAS

ENTERPRISE APPS ARE COMPLEX

PAAS REDUCES WORK & RISK

REDUCE MORE WORK WITH HIGHER-LEVEL SERVICES

JBOSS XPAAS SERVICES FOROPENSHIFT

SERVICES FOR OPENSHIFT

JBOSS XPAAS SERVICES

THIS IS IMPORTANTFOLLOW ALONG FROM HERE ON OUT...

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

THE TOOLS

INTERMEZZO1. - upstream community.

2. - public cloud.3. - on-premise.

OpenShift Origin

OpenShift Online

OpenShift Enterprise (OSE)

QUICKSTART1. Sign up2. Install client tools3. Create domain4. Create application5. Deploy application (GIT)

SIGN UP, IT'S FREE!

Example projects you can deploy now

HelpIRC freenode #openshiftforumsemail: openshift@redhat.com

OpenShift website

OpenShift GitHub

INSTALL CLIENT TOOLSFedora / RHEL

openshift repo/etc/yum.repos.dsudo yum install rubygem-rhc

OSX / Unixgem install rhcsee forum or blogs

INSTALL FOR WINDOWS details following:

install Ruby for Windowsinstall GIT on Windowsinstall rhc tooling:

gem install rhc

Windows article

RHC FOR WINDOWSLastly we install rhc tooling:

gem install rhc

CREATE DOMAINSUse rhc command$ rhc domain create {mydomain}

Use web admin console

WEB ADMIN CONSOLE

YOUR ACCOUNT

OPENSHIFT

BRONZE UPGRADE

SOME XPAAS NEED...

INTO THE CLOUD

OPEN ISSUES?

APPLICATION DETAILS

CARTRIDGE ADDITIONS

OTHER OPTIONSname 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 CLOUDPush 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 mastergit://github.com/eschabell/openshift-devoxx.git$ git pull -s recursive -X theirs upstreammaster$ git pushhttp://devoxx-$your_domain.rhcloud.com

DEVOXX MOBILE

TAKE A BREAKBACK IN A BIT...

UNIVERSITY TIMELINE

Learning PaaSMastering xPaaS

Part II (15:15 - 16:30)

Recommended