Your SlideShare is downloading. ×
0
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

From Code to Cloud - PHP on Red Hat's OpenShift

7,312

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
7,312
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
28
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. <ul>From Code to Cloud: <li>PHP on Red Hat's OpenShift </li></ul><ul>Eric D. Schabell <li>Solution Architect Red Hat </li></ul>
  • 2.  
  • 3. Exposure...
  • 4. Meditation...
  • 5. Immersion... Shift happens?
  • 6. Never look back...
  • 7.  
  • 8. SaaS?
  • 9. IaaS?
  • 10. PaaS?
  • 11. Why am i DORKING with the stack?!
  • 12.  
  • 13. OpenShift Express <ul><li>Sign Up
  • 14. Install Client Tools
  • 15. Create Domain
  • 16. Create Application
  • 17. Deploy Application (GIT) </li></ul>
  • 18. Sign Up openshift.com/try-it
  • 19. Install Client Tools <ul><li>Fedora / RHEL </li><ul><li>openshift.repo </li></ul><li>Move to yum.repos.d
  • 20. $ sudo mv openshift.repo /etc/yum.repos.d
  • 21. Install client tools
  • 22. $ sudo yum install rhc </li></ul><ul><li>The rest (osX, Ubuntu, Cygwin): </li><ul><li>gem install rhc
  • 23. see forums, blogs </li></ul></ul>
  • 24. Create Domain <ul><li>Use rhc-create-domain command </li><ul><li>$ rhc-create-domain -n mydomain -l openshiftlogin </li></ul><li>OR use the Express console! </li></ul>
  • 25. Create Application <ul><li>Name application and define type </li><ul><li>$ rhc-create-app -a appname -t apptype -l openshiftlogin
  • 26. (Java, Ruby, Python, Perl and most important, PHP!) </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>
  • 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>
  • 28.  
  • 29. Demo ZendFramework <ul>$ rhc-create-app -a zendphp -t php-5.3 $ cd zendphp $ git remote add upstream -m master git://github.com/eschabell/openshift-zendframework.git $ git pull -s recursive -X theirs upstream master $ git push http://zendphp-$your_domain.rhcloud.com </ul>
  • 30. Demo Cake <ul>$ rhc-create-app -a cake -t php-5.3 $ rhc-ctl-app -a cake -e add-mysql-5.1 $ cd cake $ git remote add upstream -m master git://github.com/openshift/cakephp-example.git $ git pull -s recursive -X theirs upstream master $ git push http://cake-$your_domain.rhcloud.com </ul>
  • 31. Demo Symfony <ul>$ rhc-create-app -a symfonyphp -t php-5.3 $ cd cake $ git remote add upstream -m master git://github.com/eschabell/openshift-symfony.git $ git pull -s recursive -X theirs upstream master $ git push http://sympfonyphp-$your_domain.rhcloud.com </ul>
  • 32. Enterprise Flexibility? Auto Scaling Log Mgmt Databases Monitoring Automation Roll-backs, Upgrades Speed Deployment Provisioning
  • 33. OpenShift Flex <ul><li>Setup Cloud Account
  • 34. Provision Cloud Servers
  • 35. Build Stack
  • 36. Upload Application Code
  • 37. Configure Components
  • 38. Deploy
  • 39. Performance Monitoring
  • 40. Log Management
  • 41. Auto-Scaling </li></ul>
  • 42. Login Creds
  • 43. Create cluster... check it out! Provision Events Clusters Servers
  • 44. Deploy Application Name Version App Components
  • 45. Add code Configure
  • 46. Congrat's, your in the Cloud! Deploy code
  • 47. Performance & Logs Trans levels Point-in-time Components Applications Search
  • 48. Define Scaling Strategy How? What? Why?
  • 49. Sign up, it's free! <ul><li>http://www.openshift .com – click “Try it!”
  • 50. Example projects you can deploy now! </li><ul><li>https://www.github.com/openshift </li></ul><li>Help? </li><ul><li>IRC: freenode #openshift
  • 51. Forums: http://www.redhat.com/openshift/forums
  • 52. Email: openshift at redhat dot com </li></ul></ul>
  • 53. Loving your hammer?

×