Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

OSC11 - An OpenShift Primer for Developers to get your Code into the Cloud


Published on

Whether you’re a seasoned Java developer looking to start hacking on EE6 or you just wrote your first line of Ruby yesterday, the cloud is turning out to be the perfect environment for developing applications in just about any modern language or framework. 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 an application written in the language of your choice – Java, Ruby, PHP, Perl or Python, with the framework of your choice – EE6, CDI, Seam, Spring, Zend, Cake, Rails, Sinatra, PerlDancer or Django to the OpenShift PaaS in just minutes. And without having to rewrite your app to get it to work the way the cloud provider thinks your app should work.

Check the command-line fu as we leverage Git to onboard apps onto OpenShift Express in seconds, while also making use of the web browser do the heavy-lifting of provisioning clusters, deploying, monitoring and auto-scaling apps in OpenShift Flex.

If you want to learn how the OpenShift PaaS and investing an hour of your time can change everything you thought you knew about developing applications in the cloud, this session is for you!

Published in: Technology
  • Be the first to comment

OSC11 - An OpenShift Primer for Developers to get your Code into the Cloud

  1. 1. An OpenShift Primer Get your code into the Cloud! Eric D. Schabell JBoss Senior Solution Architect Eric D. Schabell | | @ericschabell
  2. 2. Eric D. Schabell | | @ericschabell
  3. 3. Immersion...Shift happens? Eric D. Schabell | | @ericschabell
  4. 4. Never look back... Eric D. Schabell | | @ericschabell
  5. 5. Eric D. Schabell | | @ericschabell
  6. 6. PaaS? Eric D. Schabell | | @ericschabell
  7. 7. Why am i DORKING with the stack?! Eric D. Schabell | | @ericschabell
  8. 8. Eric D. Schabell | | @ericschabell
  9. 9. OpenShift Express 1.Sign Up 2.Install Client Tools 3.Create Domain 4.Create Application 5.Deploy Application (GIT) Eric D. Schabell | | @ericschabell
  10. 10. Sign Up Eric D. Schabell | | @ericschabell
  11. 11. Install Client Tools• Fedora / RHEL • The rest (osX, – openshift.repo Ubuntu, Cygwin):• Move to yum.repos.d – gem install rhc $ sudo mv openshift.repo – see forums, blogs /etc/yum.repos.d• Install client tools $ sudo yum install rubygem-rhc Eric D. Schabell | | @ericschabell
  12. 12. Create Domain• Use rhc-create-domain command $ rhc-create-domain -n mydomain -l openshiftlogin• use Express console! Eric D. Schabell | | @ericschabell
  13. 13. Create Application• Name application and define type $ rhc-create-app -a appname -t apptype -l openshiftlogin (Java, Ruby, Python, Perl and most important, PHP!)• Add application to local repo $ git add .• Commit changes $ git commit -m “Initial app import.” Eric D. Schabell | | @ericschabell
  14. 14. Deploy to Cloud• Push the code to Express $ git push• Congratulations, your app is in the cloud! Eric D. Schabell | | @ericschabell
  15. 15. Eric D. Schabell | | @ericschabell
  16. 16. Demo BPM Web Designer$ rhc-create-app -a editor -t jbossas-7.0$ cd editor$ git remote add upstream -m mastergit://$ git pull -s recursive -X theirs upstream master$ git pushhttp://editor-$ Eric D. Schabell | | @ericschabell
  17. 17. Auto ScalingEnterprise Speed DeploymentFlexibility? Provisioning Monitoring Automation Log Mgmt Roll-backs, Upgrades Databases Eric D. Schabell | | @ericschabell
  18. 18. OpenShift Flex1.Setup Cloud Account2.Provision Cloud Servers3.Build Stack4.Upload Application Code5.Configure Components6.Deploy7.Performance Monitoring8.Log Management9.Auto-Scaling Eric D. Schabell | | @ericschabell
  19. 19. Login Creds Eric D. Schabell | | @ericschabell
  20. 20. Deploy ApplicationName AppVersion Components Eric D. Schabell | | @ericschabell
  21. 21. Deploy code Congrats, youre in the Cloud! Eric D. Schabell | | @ericschabell
  22. 22. Performance & Logs Point-in-time Trans levelsSearchApplicationsComponents Eric D. Schabell | | @ericschabell
  23. 23. Define Scaling StrategyHow?What?Why? Eric D. Schabell | | @ericschabell
  24. 24. Sign up, its free!• – click “Try it!”• Example projects you can deploy now! –• Help? – IRC: freenode #openshift – Forums: – Email: openshift at redhat dot com Eric D. Schabell | | @ericschabell
  25. 25. Loving your hammer? Eric D. Schabell | | @ericschabell