OpenShift Primer - get your code into the cloud


Published on

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)

Published in: Technology

OpenShift Primer - get your code into the cloud

  1. 1. OPENSHIFT PRIMER GETYOURCODEINTO THECLOUD Created by /Eric D. Schabell @ericschabell
  3. 3. ALITTLEHISTORY 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) Events - JUG's, GOTO Aarhus, JAX London, JUDCon, Devoxx, APAC Tech Exchange
  4. 4. QUICKSTART 1. Sign up 2. Install client tools 3. Create domain 4. Create application 5. Deploy application (GIT)
  5. 5. SIGNUP,IT'SFREE! Example projects you can deploy now Help IRC freenode #openshift forums email:
  6. 6. INSTALLCLIENTTOOLS Fedora / RHEL openshift repo /etc/yum.repos.d sudo yum install rubygem-rhc OSX / Windows / Unix gem install rhc see forum or blogs
  7. 7. CREATEDOMAINS Use rhc command $ rhc domain create {mydomain} Use web admin console
  10. 10. OTHEROPTIONS 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."
  11. 11. DEPLOYTOCLOUD Push the code $ git push Congratulations, your app is in the Cloud!
  14. 14. JAXLONDONMOBILEREGISTRATION $ rhc app create -t jbosseap-6 jaxlondon $ cd jaxlondon $ git remote add upstream -m master git:// jaxlondon.git $ git pull -s recursive -X theirs upstream master $ git push http://jaxlondon-$
  15. 15. HOSTAWESTRUCTPRESENTATIONS $ rhc app create -t ruby-1.9 --from-code git:// presos-awstruct.git presos http://presos-$
  16. 16. JBPMMIGRATIONPROJECT $ rhc app create -t jbossas-7 --from-code git:// jbpmmigration.git jbpmmigration http://jbpmmigration- $ 0.5
  17. 17. OPTAPLANNERDEMO $ rhc app create -t jbosseap-6 --from-code git:// droolsplanner.git droolsplanner http://droolsplanner- $
  18. 18. BUSINESSACTIVITYMONITORING $ rhc app create -t jbossas-7 --from-code git:// dashboard.git bam setup user login: $ rhc app show bam $ scp bampreview/.openshift/config/bam-*.prope xxxxxxxxxx@bam- http://bam-$ (u:erics/p:e
  19. 19. OPENSHIFTPRIMERWORKSHOP $ rhc app create -t ruby-1.9 --from- code= 2013-workshop.git jaxlondon2013 http://jaxlondon2013- $
  21. 21. OpenShift Primer Workshop - OpenShift - Blogs - Repository for all OpenShift demos shown here - OpenShift demo repository - Rise above the Cloud hype with OpenShift - http://presos- with-openshift.html
  22. 22. ll