SlideShare uma empresa Scribd logo
1 de 28
Eclipse Tooling for
          OpenShift

    Steve Citron-Pousty
    PaaS Dust Spreader, Red Hat
    March 20, 2012



1
Agenda


    • What is OpenShift?
    • Showing off the Awesomeness in Eclpise
    • Questions




2
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 eclipse




3
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 PaaS




4
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 stack




10
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 CDI



13
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/openshift

15
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 application




16
DEMO – Finally!




17
So here are the steps
1)       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 urls
2)       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 YES
3)       You can now modify the source and then commit and push to remote
         repository
4)       Any modifications after this you will need the command line tools



18
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 need




20
Steps to creating an application in eclipse

1




            2



21
Next steps

     3




22
Final Steps

              4




23
When you will definitely need the Command line
tools
 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 changes




24
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 application




25
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 code



28

Mais conteúdo relacionado

Mais procurados

Mongo db bangalore
Mongo db bangaloreMongo db bangalore
Mongo db bangalore
MongoDB
 
Workshop For pycon13
Workshop For pycon13Workshop For pycon13
Workshop For pycon13
Steven Pousty
 
Confessions of a relational addict
Confessions of a relational addictConfessions of a relational addict
Confessions of a relational addict
Chandra Patni
 
How to rewrite the OS using C by strong type
How to rewrite the OS using C by strong typeHow to rewrite the OS using C by strong type
How to rewrite the OS using C by strong type
Kiwamu Okabe
 
Блохин Леонид - "Mist, как часть Hydrosphere"
Блохин Леонид - "Mist, как часть Hydrosphere"Блохин Леонид - "Mist, как часть Hydrosphere"
Блохин Леонид - "Mist, как часть Hydrosphere"
Provectus
 

Mais procurados (20)

AGES Presentation on Web, Python, Django and GeoServer
AGES Presentation on Web, Python, Django and GeoServerAGES Presentation on Web, Python, Django and GeoServer
AGES Presentation on Web, Python, Django and GeoServer
 
Mongo db bangalore
Mongo db bangaloreMongo db bangalore
Mongo db bangalore
 
Workshop For pycon13
Workshop For pycon13Workshop For pycon13
Workshop For pycon13
 
Back to Basics German 3: Einführung in Replica Sets
Back to Basics German 3: Einführung in Replica SetsBack to Basics German 3: Einführung in Replica Sets
Back to Basics German 3: Einführung in Replica Sets
 
My Learnings on Setting up a Kubernetes Cluster on AWS using Kubernetes Opera...
My Learnings on Setting up a Kubernetes Cluster on AWS using Kubernetes Opera...My Learnings on Setting up a Kubernetes Cluster on AWS using Kubernetes Opera...
My Learnings on Setting up a Kubernetes Cluster on AWS using Kubernetes Opera...
 
Run C++ as serverless with GCP Cloud Functions
Run C++ as serverless with GCP Cloud FunctionsRun C++ as serverless with GCP Cloud Functions
Run C++ as serverless with GCP Cloud Functions
 
GPFS - graphical intro
GPFS - graphical introGPFS - graphical intro
GPFS - graphical intro
 
Restinio - header-only http and websocket server
Restinio - header-only http and websocket serverRestinio - header-only http and websocket server
Restinio - header-only http and websocket server
 
Redis clustering
Redis clusteringRedis clustering
Redis clustering
 
Cloud Firestore – From JSON Deserialization to Object Document Mapping (ODM)
Cloud Firestore – From JSON Deserialization to Object Document Mapping (ODM)Cloud Firestore – From JSON Deserialization to Object Document Mapping (ODM)
Cloud Firestore – From JSON Deserialization to Object Document Mapping (ODM)
 
Confessions of a relational addict
Confessions of a relational addictConfessions of a relational addict
Confessions of a relational addict
 
Dockerizing Rails
Dockerizing RailsDockerizing Rails
Dockerizing Rails
 
How to rewrite the OS using C by strong type
How to rewrite the OS using C by strong typeHow to rewrite the OS using C by strong type
How to rewrite the OS using C by strong type
 
Micro ORM vs Entity Framework
Micro ORM vs Entity FrameworkMicro ORM vs Entity Framework
Micro ORM vs Entity Framework
 
Bringing spatial love to your python application
Bringing spatial love to your python applicationBringing spatial love to your python application
Bringing spatial love to your python application
 
Reverse on go
Reverse on goReverse on go
Reverse on go
 
Docker and stuff
Docker and stuffDocker and stuff
Docker and stuff
 
Блохин Леонид - "Mist, как часть Hydrosphere"
Блохин Леонид - "Mist, как часть Hydrosphere"Блохин Леонид - "Mist, как часть Hydrosphere"
Блохин Леонид - "Mist, как часть Hydrosphere"
 
FaaS you like it (if Shakespeare had written Functions-as-a-Service)
FaaS you like it (if Shakespeare had written Functions-as-a-Service)FaaS you like it (if Shakespeare had written Functions-as-a-Service)
FaaS you like it (if Shakespeare had written Functions-as-a-Service)
 
xlwings performance
xlwings performancexlwings performance
xlwings performance
 

Semelhante a OpenShift with Eclipse Tooling - EclipseCon 2012

August Webinar - Water Cooler Talks: A Look into a Developer's Workbench
August Webinar - Water Cooler Talks: A Look into a Developer's WorkbenchAugust Webinar - Water Cooler Talks: A Look into a Developer's Workbench
August Webinar - Water Cooler Talks: A Look into a Developer's Workbench
Howard Greenberg
 
OpenShift Origin: Build a PaaS Just Like Red Hats
OpenShift Origin: Build a PaaS Just Like Red HatsOpenShift Origin: Build a PaaS Just Like Red Hats
OpenShift Origin: Build a PaaS Just Like Red Hats
Mark Atwood
 
Build software like a bag of marbles, not a castle of LEGO®
Build software like a bag of marbles, not a castle of LEGO®Build software like a bag of marbles, not a castle of LEGO®
Build software like a bag of marbles, not a castle of LEGO®
Hannes Lowette
 
Overview of PaaS: Java experience
Overview of PaaS: Java experienceOverview of PaaS: Java experience
Overview of PaaS: Java experience
Igor Anishchenko
 
Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...
Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...
Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...
AgileNCR2013
 
MEAN Stack WeNode Barcelona Workshop
MEAN Stack WeNode Barcelona WorkshopMEAN Stack WeNode Barcelona Workshop
MEAN Stack WeNode Barcelona Workshop
Valeri Karpov
 

Semelhante a OpenShift with Eclipse Tooling - EclipseCon 2012 (20)

August Webinar - Water Cooler Talks: A Look into a Developer's Workbench
August Webinar - Water Cooler Talks: A Look into a Developer's WorkbenchAugust Webinar - Water Cooler Talks: A Look into a Developer's Workbench
August Webinar - Water Cooler Talks: A Look into a Developer's Workbench
 
OpenShift Origin: Build a PaaS Just Like Red Hats
OpenShift Origin: Build a PaaS Just Like Red HatsOpenShift Origin: Build a PaaS Just Like Red Hats
OpenShift Origin: Build a PaaS Just Like Red Hats
 
AppScale @ LA.rb
AppScale @ LA.rbAppScale @ LA.rb
AppScale @ LA.rb
 
NLUUG Spring 2012 - OpenShift Primer
NLUUG Spring 2012 - OpenShift PrimerNLUUG Spring 2012 - OpenShift Primer
NLUUG Spring 2012 - OpenShift Primer
 
Build software like a bag of marbles, not a castle of LEGO®
Build software like a bag of marbles, not a castle of LEGO®Build software like a bag of marbles, not a castle of LEGO®
Build software like a bag of marbles, not a castle of LEGO®
 
DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2
 
Overview of PaaS: Java experience
Overview of PaaS: Java experienceOverview of PaaS: Java experience
Overview of PaaS: Java experience
 
Overview of PaaS: Java experience
Overview of PaaS: Java experienceOverview of PaaS: Java experience
Overview of PaaS: Java experience
 
Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...
Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...
Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...
 
OpenShift Primer - get your business into the Cloud today!
OpenShift Primer - get your business into the Cloud today!OpenShift Primer - get your business into the Cloud today!
OpenShift Primer - get your business into the Cloud today!
 
2020 oct zowe quarterly webinar series
2020 oct zowe quarterly webinar series2020 oct zowe quarterly webinar series
2020 oct zowe quarterly webinar series
 
MEAN Stack WeNode Barcelona Workshop
MEAN Stack WeNode Barcelona WorkshopMEAN Stack WeNode Barcelona Workshop
MEAN Stack WeNode Barcelona Workshop
 
What is cool with Domino V10, Proton and Node.JS, and why would I use it in ...
What is cool with Domino V10, Proton and Node.JS, and why would I use it in ...What is cool with Domino V10, Proton and Node.JS, and why would I use it in ...
What is cool with Domino V10, Proton and Node.JS, and why would I use it in ...
 
eZ Publish 5: from zero to automated deployment (and no regressions!) in one ...
eZ Publish 5: from zero to automated deployment (and no regressions!) in one ...eZ Publish 5: from zero to automated deployment (and no regressions!) in one ...
eZ Publish 5: from zero to automated deployment (and no regressions!) in one ...
 
Moving microsoft .net applications one container at a time
 Moving microsoft .net applications one container at a time  Moving microsoft .net applications one container at a time
Moving microsoft .net applications one container at a time
 
Untangling spring week11
Untangling spring week11Untangling spring week11
Untangling spring week11
 
What is Node.js? (ICON UK)
What is Node.js? (ICON UK)What is Node.js? (ICON UK)
What is Node.js? (ICON UK)
 
The ABC's of IaC
The ABC's of IaCThe ABC's of IaC
The ABC's of IaC
 
Manage your external libraries with CocoaPods
Manage your external libraries with CocoaPodsManage your external libraries with CocoaPods
Manage your external libraries with CocoaPods
 
Proper Connections Development for Proper Domino Developers
Proper Connections Development for Proper Domino DevelopersProper Connections Development for Proper Domino Developers
Proper Connections Development for Proper Domino Developers
 

Mais de Steven Pousty

APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker
APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + DockerAPPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker
APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker
Steven Pousty
 
Spatial script for CIMA
Spatial script for CIMASpatial script for CIMA
Spatial script for CIMA
Steven Pousty
 
Spatial script for my JS.Everywhere 2012
Spatial script for my JS.Everywhere 2012Spatial script for my JS.Everywhere 2012
Spatial script for my JS.Everywhere 2012
Steven Pousty
 
Spatial script for Spatial mongo for PHP and Zend
Spatial script for Spatial mongo for PHP and ZendSpatial script for Spatial mongo for PHP and Zend
Spatial script for Spatial mongo for PHP and Zend
Steven Pousty
 
Dropping Science on Your Developer Ecosystem - lessons from Ecosystem Management
Dropping Science on Your Developer Ecosystem - lessons from Ecosystem ManagementDropping Science on Your Developer Ecosystem - lessons from Ecosystem Management
Dropping Science on Your Developer Ecosystem - lessons from Ecosystem Management
Steven Pousty
 
Using PostGIS To Add Some Spatial Flavor To Your Application
Using PostGIS To Add Some Spatial Flavor To Your ApplicationUsing PostGIS To Add Some Spatial Flavor To Your Application
Using PostGIS To Add Some Spatial Flavor To Your Application
Steven Pousty
 

Mais de Steven Pousty (16)

APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker
APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + DockerAPPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker
APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker
 
Introduction to PaaS for application developers
Introduction to PaaS for application developersIntroduction to PaaS for application developers
Introduction to PaaS for application developers
 
London Cloud Summit 2014 - raising the tide: getting developers in the cloud
London Cloud Summit 2014  - raising the tide: getting developers in the cloudLondon Cloud Summit 2014  - raising the tide: getting developers in the cloud
London Cloud Summit 2014 - raising the tide: getting developers in the cloud
 
Build a PaaS with OpenShift Origin
Build a PaaS with OpenShift OriginBuild a PaaS with OpenShift Origin
Build a PaaS with OpenShift Origin
 
Monkigras - dropping science on your developer ecosystem
Monkigras - dropping science on your developer ecosystemMonkigras - dropping science on your developer ecosystem
Monkigras - dropping science on your developer ecosystem
 
Spatial script for MongoBoulder
Spatial script for MongoBoulderSpatial script for MongoBoulder
Spatial script for MongoBoulder
 
Spatial script for CIMA
Spatial script for CIMASpatial script for CIMA
Spatial script for CIMA
 
Spatial script for my JS.Everywhere 2012
Spatial script for my JS.Everywhere 2012Spatial script for my JS.Everywhere 2012
Spatial script for my JS.Everywhere 2012
 
Spatial script for Spatial mongo for PHP and Zend
Spatial script for Spatial mongo for PHP and ZendSpatial script for Spatial mongo for PHP and Zend
Spatial script for Spatial mongo for PHP and Zend
 
Dropping Science on Your Developer Ecosystem - lessons from Ecosystem Management
Dropping Science on Your Developer Ecosystem - lessons from Ecosystem ManagementDropping Science on Your Developer Ecosystem - lessons from Ecosystem Management
Dropping Science on Your Developer Ecosystem - lessons from Ecosystem Management
 
Open shift intro for Philly PUG
Open shift intro for Philly PUGOpen shift intro for Philly PUG
Open shift intro for Philly PUG
 
Open shift intro for Philly PUG
Open shift intro for Philly PUGOpen shift intro for Philly PUG
Open shift intro for Philly PUG
 
Script for Spatial Mongo
Script for Spatial MongoScript for Spatial Mongo
Script for Spatial Mongo
 
deCarta at BAPI
deCarta at BAPI deCarta at BAPI
deCarta at BAPI
 
LinuxFest NW - Using Postgis To Add Some Spatial Flavor To Your App
LinuxFest NW - Using Postgis To Add Some Spatial Flavor To Your AppLinuxFest NW - Using Postgis To Add Some Spatial Flavor To Your App
LinuxFest NW - Using Postgis To Add Some Spatial Flavor To Your App
 
Using PostGIS To Add Some Spatial Flavor To Your Application
Using PostGIS To Add Some Spatial Flavor To Your ApplicationUsing PostGIS To Add Some Spatial Flavor To Your Application
Using PostGIS To Add Some Spatial Flavor To Your Application
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Último (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

OpenShift with Eclipse Tooling - EclipseCon 2012

  • 1. Eclipse Tooling for OpenShift Steve Citron-Pousty PaaS Dust Spreader, Red Hat March 20, 2012 1
  • 2. Agenda • What is OpenShift? • Showing off the Awesomeness in Eclpise • Questions 2
  • 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 eclipse 3
  • 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 PaaS 4
  • 5. What is OpenShift? Red Hat’s free platform as a service for applications in the cloud. 5
  • 6. Kind of like Amazon, right? Nope. 6
  • 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. 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. 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. 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 stack 10
  • 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. …and OpenShift rocks for Java JBoss Tools and Eclipse • Jenkins for Continuous Integration Maven for Build Management JBoss AS 7.1 delivers EE6 with CDI 13
  • 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. 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/openshift 15
  • 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 application 16
  • 18. So here are the steps 1) 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 urls 2) 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 YES 3) You can now modify the source and then commit and push to remote repository 4) Any modifications after this you will need the command line tools 18
  • 19. 1. Sign Up! • openshift.com • All it takes is an email address (register with your Accenture email address) 19
  • 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 need 20
  • 21. Steps to creating an application in eclipse 1 2 21
  • 22. Next steps 3 22
  • 23. Final Steps 4 23
  • 24. When you will definitely need the Command line tools 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 changes 24
  • 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 application 25
  • 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. 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. 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 code 28