An OpenShift Primer     Get your code into the Cloud!              Eric D. Schabell                   NLUUG Spring 2012   ...
Sign up, its free!• http://openshift.redhat.com – “Sign  up and Try it!”• Example projects you can deploy  now!   – https:...
Immersion...Shift happens?
Never look back...
PaaS?
Why am i DORKING with the stack?!
Express     1.Sign Up     2.Install Client Tools     3.Create Domain     4.Create Application     5.Deploy Application (GIT)
Sign Up          http://openshift.redhat.com
Install Client Tools                                   • The rest (osX,• Fedora / RHEL                      Ubuntu, Cygwin...
Create Domain• Use rhc command   $ rhc domain create -n mydomain -l openshiftlogin• use Express console!
Gears        500MB memory + 1GB storage
Web Administration
Create Application
Configure Application
Ready to code!
Application Details
Why OpenShift? Its you.
Your language / framework
Other Options: create apps• Name app and define type     $ rhc app create -a appname -t apptype -l openshiftlogin     (Nod...
Deploy to Cloud• Push the code to  Express    $ git push• Congratulations,  your app is in the  cloud!
Demo CloudTour Mobile App$ rhc app create -a cloudtour -t jbossas-7$ cd cloudtour$ git remote add upstream -m mastergit://...
Demo Wordpress$ rhc app create -a wordpress -t php-5.3$ rhc app cartridge add -a wordpress -c mysql-5.1$ cd wordpress$ git...
JBoss Developer Studio
JBDS in action...
Remove Application
Time for a new project!
What will the future bring?   Express / Flex unification   JBoss++   Commercial Service / Pricing   Mobile                ...
Loving your hammer?
•   OpenShift: http://openshift.redhat.com•   OpenShift Express: https://openshift.redhat.com/app/express•   Blogs: https:...
NLUUG Spring 2012 - OpenShift Primer
NLUUG Spring 2012 - OpenShift Primer
NLUUG Spring 2012 - OpenShift Primer
Upcoming SlideShare
Loading in...5
×

NLUUG Spring 2012 - OpenShift Primer

1,325

Published on

Ever wondered about the new Cloud offerings out there? What is a PaaS? What is this thing called OpenShift?

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 framework of your choice - EE6, CDI, Seam, Spring, Zend, Cake, Rails, Sinatra, PerlDancer or Django to 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.

You can have your business applications running in the cloud on 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 about OpenShift PaaS and see how investing 45 mins of your time can change everything you thought you knew about putting your business applications in the cloud, this session is for you!

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

No Downloads
Views
Total Views
1,325
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
33
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

NLUUG Spring 2012 - OpenShift Primer

  1. 1. An OpenShift Primer Get your code into the Cloud! Eric D. Schabell NLUUG Spring 2012 JBoss Senior Solution Architect erics@redhat.com / @ericschabell
  2. 2. Sign up, its free!• http://openshift.redhat.com – “Sign up and Try it!”• Example projects you can deploy now! – https://www.github.com/openshift• Help? Promotional Code: NLUUG – IRC: freenode #openshift – Forums: http://www.redhat.com/openshift/c ommunity/forums – Email: openshift at redhat dot com
  3. 3. Immersion...Shift happens?
  4. 4. Never look back...
  5. 5. PaaS?
  6. 6. Why am i DORKING with the stack?!
  7. 7. Express 1.Sign Up 2.Install Client Tools 3.Create Domain 4.Create Application 5.Deploy Application (GIT)
  8. 8. Sign Up http://openshift.redhat.com
  9. 9. Install Client Tools • The rest (osX,• Fedora / RHEL Ubuntu, Cygwin): – openshift.repo – gem install rhc• Move to yum.repos.d (json_pure) $ sudo mv openshift.repo – see forums, blogs /etc/yum.repos.d• Install client tools $ sudo yum install rubygem-rhc
  10. 10. Create Domain• Use rhc command $ rhc domain create -n mydomain -l openshiftlogin• use Express console!
  11. 11. Gears 500MB memory + 1GB storage
  12. 12. Web Administration
  13. 13. Create Application
  14. 14. Configure Application
  15. 15. Ready to code!
  16. 16. Application Details
  17. 17. Why OpenShift? Its you.
  18. 18. Your language / framework
  19. 19. Other Options: create apps• Name app and define type $ rhc app create -a appname -t apptype -l openshiftlogin (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.”
  20. 20. Deploy to Cloud• Push the code to Express $ git push• Congratulations, your app is in the cloud!
  21. 21. Demo CloudTour Mobile App$ rhc app create -a cloudtour -t jbossas-7$ cd cloudtour$ git remote add upstream -m mastergit://github.com/eschabell/openshift-cloudtour.git$ git pull -s recursive -X theirs upstream master$ git pushhttp://cloudtour-$your_domain.rhcloud.com
  22. 22. Demo Wordpress$ rhc app create -a wordpress -t php-5.3$ rhc app cartridge add -a wordpress -c mysql-5.1$ cd wordpress$ git remote add upstream -m mastergit://github.com/openshift/wordpress-example.git$ git pull -s recursive -X theirs upstream master$ git pushhttp://wordpress-$your_domain.rhcloud.com
  23. 23. JBoss Developer Studio
  24. 24. JBDS in action...
  25. 25. Remove Application
  26. 26. Time for a new project!
  27. 27. What will the future bring? Express / Flex unification JBoss++ Commercial Service / Pricing Mobile 2012 Open Source (SDK + project)
  28. 28. Loving your hammer?
  29. 29. • OpenShift: http://openshift.redhat.com• OpenShift Express: https://openshift.redhat.com/app/express• Blogs: https://www.redhat.com/openshift/community/blogs• CloudTour mobile application demo on OpenShift: https://github.com/eschabell/openshift-cloudtour• Deploy an application to OpenShift with JBossTools (video): http://vimeo.com/33988381• Deploying mobile application with JBoss Dev Studio: https://community.jboss.org/wiki/DeployingHTML5ApplicationsToOpenshift• Rise above the Cloud hype with OpenShift: http://www.schabell.org/2012/01/rise-above-cloud-hype-with-openshift.html
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×