55
MASTERING XPAAS GET DOWN AND DIRTY IN THE OPENSHIFT CLOUD DEVOXX BE 2014 ROOM 4: 13:30 - 16:30 UNIVERSITY SESSION Eric D. Schabell JBoss Technology Evangelist Twitter: @ericschabell Blog: http://schabell.org

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

Embed Size (px)

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

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

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

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

FOLLOWING ALONG...

MASTERINGXPAAS-ONTHE.RHCLOUD.COM

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

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

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)

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

TAKING THE XPAAS TOUR

Page 5: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 6: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 7: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)

SO WHAT'S

IAAS

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

REPEAT AFTER ME...

I

DON'T

CARE

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

SO WHAT'S THE PAAS LAYER TO ME?

Page 10: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 11: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)

NEVER LOOK BACK...

Page 12: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 13: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 14: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)

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

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

OPENSHIFT PRIMERDEVOXX 2013

WATCH ON PARLEYS.COM

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

NOW YOU CAN TALK ABOUTIAAS & PAAS

BUT WHAT ABOUT

XPAAS

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

ENTERPRISE APPS ARE COMPLEX

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

PAAS REDUCES WORK & RISK

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

REDUCE MORE WORK WITH HIGHER-LEVEL SERVICES

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

JBOSS XPAAS SERVICES FOROPENSHIFT

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

SERVICES FOR OPENSHIFT

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

JBOSS XPAAS SERVICES

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

THIS IS IMPORTANTFOLLOW ALONG FROM HERE ON OUT...

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

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

THE TOOLS

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

INTERMEZZO1. - upstream community.

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

OpenShift Origin

OpenShift Online

OpenShift Enterprise (OSE)

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

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

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

SIGN UP, IT'S FREE!

Example projects you can deploy now

HelpIRC freenode #openshiftforumsemail: [email protected]

OpenShift website

OpenShift GitHub

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

INSTALL CLIENT TOOLSFedora / RHEL

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

OSX / Unixgem install rhcsee forum or blogs

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

INSTALL FOR WINDOWS details following:

install Ruby for Windowsinstall GIT on Windowsinstall rhc tooling:

gem install rhc

Windows article

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

RHC FOR WINDOWSLastly we install rhc tooling:

gem install rhc

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

CREATE DOMAINSUse rhc command$ rhc domain create {mydomain}

Use web admin console

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

WEB ADMIN CONSOLE

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

YOUR ACCOUNT

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

OPENSHIFT

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

BRONZE UPGRADE

SOME XPAAS NEED...

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

INTO THE CLOUD

Page 37: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 38: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 39: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 40: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 41: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)

OPEN ISSUES?

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

APPLICATION DETAILS

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

CARTRIDGE ADDITIONS

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

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."

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

JBOSS DEVELOPER STUDIO

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

DEPLOY TO CLOUDPush the code$ git push

Congratulations, your app is in the Cloud!

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

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

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

DEVOXX MOBILE

Page 49: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 50: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 51: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 52: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 53: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)
Page 54: Mastering xPaaS - get down and dirty in the OpenShift Cloud (part I)

TAKE A BREAKBACK IN A BIT...

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

UNIVERSITY TIMELINE

Learning PaaSMastering xPaaS

Part II (15:15 - 16:30)