Transcript
Page 1: OpenShift Primer - get your code into the cloud

OPENSHIFTPRIMER

GET YOUR CODE INTO THE CLOUDCreated by / Eric D. Schabell @ericschabell

Page 2: OpenShift Primer - get your code into the cloud
Page 3: OpenShift Primer - get your code into the cloud

NEVER LOOK BACK...

Page 4: OpenShift Primer - get your code into the cloud
Page 5: OpenShift Primer - get your code into the cloud
Page 6: OpenShift Primer - get your code into the cloud

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)

Events - JUG's, GOTO Aarhus, JAX London, JUDCon, Devoxx, APAC

Tech Exchange

Page 7: OpenShift Primer - get your code into the cloud

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

Page 8: OpenShift Primer - get your code into the cloud

SIGN UP, IT'S FREE!

Example projects you can deploy now

Help

IRC freenode #openshift

forums

email: [email protected]

http://openshift.com

http://github.com/openshift

Page 9: OpenShift Primer - get your code into the cloud

INSTALL CLIENT TOOLSFedora / RHEL

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

OSX / Windows / Unixgem install rhcsee forum or blogs

Page 10: OpenShift Primer - get your code into the cloud

CREATE DOMAINSUse rhc command$ rhc domain create {mydomain}

Use web admin console

Page 11: OpenShift Primer - get your code into the cloud
Page 12: OpenShift Primer - get your code into the cloud
Page 13: OpenShift Primer - get your code into the cloud
Page 14: OpenShift Primer - get your code into the cloud
Page 15: OpenShift Primer - get your code into the cloud
Page 16: OpenShift Primer - get your code into the cloud

APPLICATION DETAILS

Page 17: OpenShift Primer - get your code into the cloud

CARTRIDGE ADDITIONS

Page 18: OpenShift Primer - get your code into the cloud

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 19: OpenShift Primer - get your code into the cloud

DEPLOY TO CLOUDPush the code$ git push

Congratulations, your app is in the Cloud!

Page 20: OpenShift Primer - get your code into the cloud
Page 21: OpenShift Primer - get your code into the cloud
Page 22: OpenShift Primer - get your code into the cloud

JBOSS DEVELOPER STUDIO

Page 23: OpenShift Primer - get your code into the cloud

ADVANCED QUICKSTARTS

Page 24: OpenShift Primer - get your code into the cloud

JAX LONDON MOBILE REGISTRATION

$ rhc app create -t jbosseap-6 jaxlondon$ cd jaxlondon$ git remote add upstream -m mastergit://github.com/eschabell/openshift-jaxlondon.git$ git pull -s recursive -X theirs upstreammaster$ git pushhttp://jaxlondon-$your_domain.rhcloud.com

Page 25: OpenShift Primer - get your code into the cloud

HOST AWESTRUCT PRESENTATIONS$ rhc app create -t ruby-1.9 --from-codegit://github.com/eschabell/openshift-presos-awstruct.git presoshttp://presos-$your_domain.rhcloud.com

Page 26: OpenShift Primer - get your code into the cloud

JBPM MIGRATION PROJECT

$ rhc app create -t jbossas-7 --from-codegit://github.com/eschabell/openshift-jbpmmigration.git jbpmmigrationhttp://jbpmmigration-$your_domain.rhcloud.com/jbpmmigration_upload-0.5

Page 27: OpenShift Primer - get your code into the cloud

OPTA PLANNER DEMO

$ rhc app create -t jbosseap-6 --from-codegit://github.com/eschabell/openshift-droolsplanner.git droolsplannerhttp://droolsplanner-$your_domain.rhcloud.com/droolsplanner

Page 28: OpenShift Primer - get your code into the cloud

BUSINESS ACTIVITY MONITORING

$ rhc app create -t jbossas-7 --from-codegit://github.com/eschabell/openshift-bpm-bam-dashboard.git bamsetup user login:$ rhc app show bam$ scp bampreview/.openshift/config/bam-*[email protected]:~/jbossas/standalone/configuration/

http://bam-$your_domain.rhcloud.com (u:erics/p:erics)

Page 29: OpenShift Primer - get your code into the cloud

OPENSHIFT PRIMER WORKSHOP$ rhc app create -t ruby-1.9 --from-code=https://github.com/eschabell/jaxlondon-2013-workshop.git jaxlondon2013http://jaxlondon2013-$your_domain.rhcloud.com

Page 30: OpenShift Primer - get your code into the cloud

LOVING YOUR HAMMERS?

Page 31: OpenShift Primer - get your code into the cloud
Page 32: OpenShift Primer - get your code into the cloud

OpenShift Primer Workshop -

OpenShift -

Blogs -

Repository for all OpenShift demos shown here -

OpenShift demo repository -

Rise above the Cloud hype with OpenShift -

http://presos-

onthe.rhcloud.com

http://openshift.redhat.com

https://www.redhat.com/openshift/community/blogs

https://github.com/eschabell

https://github.com/openshift

http://www.schabell.org/2012/01/rise-above-cloud-hype-

with-openshift.html

Page 33: OpenShift Primer - get your code into the cloud

ll


Recommended