An OpenShift Primer Get your code into the Cloud! Eric D. Schabell  JBoss Senior Solution Architect
Sign up, it's free! <ul><li>http://openshift.redhat.com –  “Sign up and Try it!”
Example projects you can deploy now! </li><ul><li>https://www.github.com/openshift </li></ul><li>Help? </li><ul><li>IRC: f...
Forums: http://www.redhat.com/openshift/community/forums
Email: openshift at redhat dot com </li></ul></ul>
 
Immersion... Shift happens?
Never look back...
 
PaaS?
Why am i DORKING with the stack?!
 
OpenShift Express <ul><li>Sign Up
Install Client Tools
Create Domain
Create Application
Deploy Application (GIT) </li></ul>
Sign Up http://openshift.com/try-it
Install Client Tools <ul><li>Fedora / RHEL </li><ul><li>openshift.repo </li></ul><li>Move to yum.repos.d
$ sudo mv openshift.repo /etc/yum.repos.d
Install client tools
$ sudo yum install rubygem-rhc </li></ul><ul><li>The rest (osX, Ubuntu, Cygwin): </li><ul><li>gem install json_pure, rhc
see forums, blogs </li></ul></ul>
Create Domain <ul><li>Use rhc-create-domain command </li><ul><li>$ rhc-create-domain -n mydomain -l openshiftlogin </li></...
Create App <ul><li>Name application and define type </li><ul><li>$ rhc-create-app -a appname -t apptype -l openshiftlogin
(PHP, Ruby, Python, Perl and most important, Java!) </li></ul><li>Add application to local repo </li><ul><li>$ git add . <...
Upcoming SlideShare
Loading in …5
×

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

3,014 views

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
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,014
On SlideShare
0
From Embeds
0
Number of Embeds
925
Actions
Shares
0
Downloads
34
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

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
  2. 2. Sign up, it's free! <ul><li>http://openshift.redhat.com – “Sign up and Try it!”
  3. 3. Example projects you can deploy now! </li><ul><li>https://www.github.com/openshift </li></ul><li>Help? </li><ul><li>IRC: freenode #openshift
  4. 4. Forums: http://www.redhat.com/openshift/community/forums
  5. 5. Email: openshift at redhat dot com </li></ul></ul>
  6. 7. Immersion... Shift happens?
  7. 8. Never look back...
  8. 10. PaaS?
  9. 11. Why am i DORKING with the stack?!
  10. 13. OpenShift Express <ul><li>Sign Up
  11. 14. Install Client Tools
  12. 15. Create Domain
  13. 16. Create Application
  14. 17. Deploy Application (GIT) </li></ul>
  15. 18. Sign Up http://openshift.com/try-it
  16. 19. Install Client Tools <ul><li>Fedora / RHEL </li><ul><li>openshift.repo </li></ul><li>Move to yum.repos.d
  17. 20. $ sudo mv openshift.repo /etc/yum.repos.d
  18. 21. Install client tools
  19. 22. $ sudo yum install rubygem-rhc </li></ul><ul><li>The rest (osX, Ubuntu, Cygwin): </li><ul><li>gem install json_pure, rhc
  20. 23. see forums, blogs </li></ul></ul>
  21. 24. Create Domain <ul><li>Use rhc-create-domain command </li><ul><li>$ rhc-create-domain -n mydomain -l openshiftlogin </li></ul><li>use Express console! </li></ul>
  22. 25. Create App <ul><li>Name application and define type </li><ul><li>$ rhc-create-app -a appname -t apptype -l openshiftlogin
  23. 26. (PHP, Ruby, Python, Perl and most important, Java!) </li></ul><li>Add application to local repo </li><ul><li>$ git add . </li></ul><li>Commit changes </li><ul><li>$ git commit -m “Initial app import.” </li></ul></ul>
  24. 27. Deploy to Cloud <ul><li>Push the code to Express </li><ul><li>$ git push </li></ul><li>Congratulations, your app is in the cloud! </li></ul>
  25. 29. Demo BPM Web Designer <ul>$ rhc-create-app -a editor -t jbossas-7.0 $ cd editor $ git remote add upstream -m master git://github.com/eschabell/openshift-webdesigner-jbpmmigration.git $ git pull -s recursive -X theirs upstream master $ git push http://editor-$your_domain.rhcloud.com </ul>
  26. 30. Enterprise Flexibility? Auto Scaling Log Mgmt Databases Monitoring Automation Roll-backs, Upgrades Speed Deployment Provisioning
  27. 31. OpenShift Flex <ul><li>Setup Cloud Account
  28. 32. Provision Cloud Servers
  29. 33. Build Stack
  30. 34. Upload Application Code
  31. 35. Configure Components
  32. 36. Deploy
  33. 37. Performance Monitoring
  34. 38. Log Management
  35. 39. Auto-Scaling </li></ul>
  36. 40. Login Creds
  37. 41. Deploy Application Name Version App Components
  38. 42. Congrat's, you're in the Cloud! Deploy code
  39. 43. Performance & Logs Trans levels Point-in-time Components Applications Search
  40. 44. Define Scaling Strategy How? What? Why?
  41. 45. What will the future bring? <ul><li>Express / Flex unification
  42. 46. JBoss++
  43. 47. No SQL
  44. 48. Mobile
  45. 49. Open Source (SDK + project) </li></ul>2012
  46. 50. Loving your hammer?

×