openshift primer - get your code into the cloud

Post on 06-Sep-2014

805 Views

Category:

Technology

4 Downloads

Preview:

Click to see full reader

DESCRIPTION

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 an action-packed hour 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 - examples with JBoss 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 OpenShift PaaS and see how investing an hour of your time can change everything you thought you knew about putting your business applications in the cloud, this session is for you! (By Author: OpenShift Primer & OpenShift Primer revision 2)

TRANSCRIPT

OPENSHIFTPRIMER

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

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)

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

Tech Exchange

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

SIGN UP, IT'S FREE!

Example projects you can deploy now

Help

IRC freenode #openshift

forums

email: openshift@redhat.com

http://openshift.com

http://github.com/openshift

INSTALL CLIENT TOOLSFedora / RHEL

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

OSX / Windows / Unixgem install rhcsee forum or blogs

CREATE DOMAINSUse rhc command$ rhc domain create {mydomain}

Use web admin console

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

DEPLOY TO CLOUDPush the code$ git push

Congratulations, your app is in the Cloud!

JBOSS DEVELOPER STUDIO

ADVANCED QUICKSTARTS

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

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

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

OPTA PLANNER DEMO

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

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-*.propertiesxxxxxxxxxx@bam-inthe.rhcloud.com:~/jbossas/standalone/configuration/

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

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

LOVING YOUR HAMMERS?

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

ll

top related