OpenShift: Java EE in the clouds
-
Upload
max-andersen -
Category
Technology
-
view
636 -
download
4
description
Transcript of OpenShift: Java EE in the clouds
OPENSHIFT: JAVA EE IN THE CLOUDS Max Rydahl Andersen, Red Hat
Re
What is OpenShift ?Red Hat's free, auto-scaling Platform as a Service
(PaaS) for applications in the cloud.
What is supported on OpenShift ?
How to get started…
SSH
Using Github
$ rhc domain create man $ rhc app create alpejugs jbosseap $ cd alpejugs … $ git push origin $ rhc tail alpejugs
DEMO TIME!
10,000 feet overview
Broker
App
Reverse Proxy
HTTP/REST
SSH
http(s)://<appname>-<domain>.rhcloud.com
Dev Host
User Host
Gear
...
Node
Red Hat Managed
Locally Managed
Enterprise IT Developer Managed
Using Github quick starts
$ rhc app create etheralpes nodejs-0.10 $ rhc cartridge add -a etheralpes -c mongodb-2.2 $ cd etheralpes $ git remote add upstream -m master git://github.com/openshift/etherpad-example.git $ git pull -s recursive -X theirs upstream master … ... rhc tail etheralpes
Pause ?
OpenShift, Java and Eclipse
OpenShift Eclipse ToolingAvailable from JBoss Tools and Red Hat JBoss Developer Studio
Provide basic management and developer related features
Explorer
Application Wizards
(Portable) Port Forwarding
Server Adapter
Supports All Application types, but JavaEE especially
DEMO TIME!
Demo Recap
Setup OpenShift Connection
Create OpenShift Application
Browse Existing applications
Push via Server Adapter
Tail files
Advanced Features
.openshift folder magic
Jenkins
Database
Port Forwarding
Remote Debugging
Extend OpenShift
.openshift/*
action_hooks/
config/
cron/
markers/
Jenkins
Full blown Jenkins
Takes 1 gear
Used when pushing
Database
mysql, postgresql, mongodb
Connection setup in .openshift/
Port Forwarding
Connect to any remote exposed service locally
Useful for database, debugging and other evil
Remote Debugging
enable jpda
Links
http://openshift.com
https://github.com/openshift
http://devstudio.jboss.com