OpenShift with Eclipse Tooling - EclipseCon 2012
Upcoming SlideShare
Loading in...5
×
 

OpenShift with Eclipse Tooling - EclipseCon 2012

on

  • 2,579 views

My talk at eclipsecon - focuses more on our eclipse tooling

My talk at eclipsecon - focuses more on our eclipse tooling

Statistics

Views

Total Views
2,579
Views on SlideShare
2,446
Embed Views
133

Actions

Likes
0
Downloads
32
Comments
0

3 Embeds 133

http://www.scoop.it 129
http://us-w1.rockmelt.com 2
http://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    OpenShift with Eclipse Tooling - EclipseCon 2012 OpenShift with Eclipse Tooling - EclipseCon 2012 Presentation Transcript

    • 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 power of what our engineers did to leverage and eclipse3
    • 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
    • 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 the cloud• You’re still on the hook to configure & manage the cloud & stack• Example: Amazon EC2 “How do I use this?”7
    • 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
    • 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
    • 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
    • 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 more resources, just ask!12
    • …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
    • 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
    • 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
    • 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
    • DEMO – Finally!17
    • 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
    • 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://www.jboss.org/tools/download/dev 2) It has most of the functionality you will need20
    • 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 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
    • 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
    • 4. Create an Application $ rhc app create –a <your app name> -t jbossas-7 Password: Wait! Let’s see that in eclipse!26
    • 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
    • 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