Eclipse Tooling for          OpenShift    Steve Citron-Pousty    PaaS Dust Spreader, Red Hat    March 20, 20121
Agenda    • What is OpenShift?    • Showing off the Awesomeness in Eclpise    • Questions2
My Goal for today    1) Teach ya’ some cloud speak    2) Show you a little bit of OpenShift    3) Mostly to show off the p...
Assumptions    1) You use Eclipse with Java    2) You use a datastore with your apps    3) You know SVN and you might know...
What is OpenShift?    Red Hat’s free platform as a service for applications in the cloud.5
Kind of like Amazon, right? Nope.6
What’s Infrastructure as a Service?• Network, storage and compute offered as an on-  demand service• Basically, servers in...
What’s Platform as a Service?• It’s an application platform• Basically, an app run-time environment in the cloud• PaaS con...
What’s Software as a Service?• It’s an on-demand application• Nothing to install or configure• Example: Salesforce, Gmail ...
So, why should I use a PaaS?     • Realize the benefits of the cloud quickly     • Let the PaaS configure, manage & scale ...
What’s supported?11
Looks great, but how much does it     cost?• OpenShift is free-as-in-beer• Five 512 MB RAM / 1 GB Storage instances• Need ...
…and OpenShift rocks for Java               JBoss Tools and Eclipse      •        Jenkins for Continuous Integration      ...
How does it work?• Install Jboss studio  Version: 5.0.0.Beta2• Sign up on the web site and  create a domain• Use the tools...
But, First, Two Things….     Git     • Is used to push changes to apps on OpenShift     • Is a distributed revision contro...
So, Let’s Get Started!     1. Sign up     2. Install Jboss Studio or Plugin     3. Create a domain name     4. Use the too...
DEMO – Finally!17
So here are the steps1)       Create an account and a domain on openshift.com using the web console     •      Remember yo...
1. Sign Up!     • openshift.com     • All it takes is an email address (register with your       Accenture email address)19
Let’s install the Eclipse Tool 1) Grab the lastest beta version – there is a lot of active   work on the tools   http://ww...
Steps to creating an application in eclipse1            221
Next steps     322
Final Steps              423
When you will definitely need the Command linetools 1) Port Fowarding (for getting MySQL Workbench on    your machine to t...
Quick Tip: Client Tool Commands     rhc-* : prefix for all commands     rhc-create-domain : Create a namespace     rhc-cre...
4. Create an Application     $ rhc app create –a <your app name> -t jbossas-7     Password:     Wait! Let’s see that in ec...
FYI Grabbing a project from GitHub and pushing it to your   OpenShift Account http://github.com/openshift We are going to ...
Next Steps     • Ask Questions     • Go home and sign up to play      • Use code eclipsecon please     • Give us feedback ...
Upcoming SlideShare
Loading in...5
×

OpenShift with Eclipse Tooling - EclipseCon 2012

2,606

Published on

My talk at eclipsecon - focuses more on our eclipse tooling

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
2,606
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
34
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

OpenShift with Eclipse Tooling - EclipseCon 2012

  1. 1. Eclipse Tooling for OpenShift Steve Citron-Pousty PaaS Dust Spreader, Red Hat March 20, 20121
  2. 2. Agenda • What is OpenShift? • Showing off the Awesomeness in Eclpise • Questions2
  3. 3. My Goal for today 1) Teach ya’ some cloud speak 2) Show you a little bit of OpenShift 3) Mostly to show off the power of what our engineers did to leverage and eclipse3
  4. 4. Assumptions 1) You use Eclipse with Java 2) You use a datastore with your apps 3) You know SVN and you might know GIT 4) You are unfamiliar with PaaS4
  5. 5. What is OpenShift? Red Hat’s free platform as a service for applications in the cloud.5
  6. 6. Kind of like Amazon, right? Nope.6
  7. 7. What’s Infrastructure as a Service?• Network, storage and compute offered as an on- demand service• Basically, servers in the cloud• You’re still on the hook to configure & manage the cloud & stack• Example: Amazon EC2 “How do I use this?”7
  8. 8. What’s Platform as a Service?• It’s an application platform• Basically, an app run-time environment in the cloud• PaaS configures & manages the cloud & stack for you• Example: OpenShift “The cloud is now useful!”8
  9. 9. What’s Software as a Service?• It’s an on-demand application• Nothing to install or configure• Example: Salesforce, Gmail “This is all my customers and users care about!”9
  10. 10. So, why should I use a PaaS? • Realize the benefits of the cloud quickly • Let the PaaS configure, manage & scale the stack • Make deployments to the cloud easy • Focus on your app & users, not the stack10
  11. 11. What’s supported?11
  12. 12. Looks great, but how much does it cost?• OpenShift is free-as-in-beer• Five 512 MB RAM / 1 GB Storage instances• Need more resources, just ask!12
  13. 13. …and OpenShift rocks for Java JBoss Tools and Eclipse • Jenkins for Continuous Integration Maven for Build Management JBoss AS 7.1 delivers EE6 with CDI13
  14. 14. How does it work?• Install Jboss studio Version: 5.0.0.Beta2• Sign up on the web site and create a domain• Use the tools• Install the client tools• Create a domain name• Create an application rhc-create-app –a my_app –t my_lang• Congrats! You are now in the cloud!14
  15. 15. But, First, Two Things…. Git • Is used to push changes to apps on OpenShift • Is a distributed revision control and source code management system Github • Is where you’ll find dozens of OpenShift quickstarts • Pull and push these quickstart repos • github.com/openshift15
  16. 16. So, Let’s Get Started! 1. Sign up 2. Install Jboss Studio or Plugin 3. Create a domain name 4. Use the tools to get going 5. Create an application16
  17. 17. DEMO – Finally!17
  18. 18. So here are the steps1) Create an account and a domain on openshift.com using the web console • Remember your domain has to be unique to the rhcloud.com namespace. • It will be used in all your apps urls2) Then go ahead and create an app using the eclipse plugin • Make sure to add in your Database and the PHPAdmin • Make sure to store the usernames and passwords for the DB and PHPAdmin • The plugin will then prompt if you want to check out the source and create a project – SAY YES3) You can now modify the source and then commit and push to remote repository4) Any modifications after this you will need the command line tools18
  19. 19. 1. Sign Up! • openshift.com • All it takes is an email address (register with your Accenture email address)19
  20. 20. Let’s install the Eclipse Tool 1) Grab the lastest beta version – there is a lot of active work on the tools http://www.jboss.org/tools/download/dev 2) It has most of the functionality you will need20
  21. 21. Steps to creating an application in eclipse1 221
  22. 22. Next steps 322
  23. 23. Final Steps 423
  24. 24. When you will definitely need the Command linetools 1) Port Fowarding (for getting MySQL Workbench on your machine to talk to your OpenShift instance) 2) If you don’t want to use the Command line tools you can also SSH into the server for tasks 1) Non-standard user ID 2) Please don’t mess with Jboss server directly – use git to push code changes24
  25. 25. Quick Tip: Client Tool Commands rhc-* : prefix for all commands rhc-create-domain : Create a namespace rhc-create-app : Create an application rhc-ctl-app : Control an app and embed components rhc-snapshot : Backup and restore an application25
  26. 26. 4. Create an Application $ rhc app create –a <your app name> -t jbossas-7 Password: Wait! Let’s see that in eclipse!26
  27. 27. FYI Grabbing a project from GitHub and pushing it to your OpenShift Account http://github.com/openshift We are going to do the kitchen sink example.27
  28. 28. Next Steps • Ask Questions • Go home and sign up to play • Use code eclipsecon please • Give us feedback • Vote • File bugs • End of April you can download the code28
  1. A particular slide catching your eye?

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

×