Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012.
-
Upload
kolby-swindlehurst -
Category
Documents
-
view
220 -
download
0
Transcript of Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012.
Openshift
Jason Shepherd
Middleware Support Engineer, Red Hat
August 15, 2012
Jason Shepherd2
What is it?
Platform as a Service (PaaS)
Hosted – openshift.redhat.com
Openshift Origin (community only)
– On-Premise planned
Freeshift vs. Megashift
– Planned EAP support for $42/month
– https://openshift.redhat.com/community/developers/pricing
Competition:
– Cloud Foundry by Spring/VMWare
– Google App Engine
Jason Shepherd3
Jason Shepherd4
Why use openshift.redhat.com?
It's a great way to collaborate
– Uses git for version control
– Access Openshift from any machine, home/work
– Share an Openshift account with your team
It's cheap
– Compared to shared hosting service eg. GoDaddy
– Compared to hosting your own Infrastructure
Create JEE apps
– Uses EAP 6
Jason Shepherd5
Why use Openshift On-Premise?
Let development teams manage their own infrastructure.
– Rapid provisioning
– Controlled environment
Auto scaling of applications based on demand
– Efficient use of resources
– Deallocation of unused applications
Jason Shepherd6
Jason Shepherd7
How to create an application?
https://openshift.redhat.com/app/getting_started
Sign up
Create an application from a quickstart
– Get a feel for the layout
– Can use an existing Maven application• Add an 'openshift' profile
– Can build with another framework• Copy the deployable into the 'deployments' dir or repo
• Do a git push
Jason Shepherd8
How do I update an application?
Use the 'jboss-tools' plugin for Eclipse, or JBDS
Push your changes to the Openshift git repo
Use Jenkins to run your test suite before deploying
https://github.com/openshift/crankcase/tree/master/cartridges/jbossas-7/template
Edit the Server config in git repo file:
– .openshift/config/standalone.xml
Jason Shepherd9
How Does it work?
Cartridge – An extensible and stackable method of adding functionality to the underlying platform
– Frameworks/Languages
– Datasources
Broker – Single Point of contact for application management
– Use CLI/ Eclipse / Webapp to contact
– User logins / DNS / Application state
Jason Shepherd10
Jason Shepherd11
How Does it work?
Gear
– Resource constrained container to run cartridges.
– Limits the amount of RAM/CPU available to cartridges
Node
– Enable sharing of resources
– Multiple gears per node
– Generally one per server or virtual machine
Jason Shepherd12
Simple view of an application
Jason Shepherd13
More typical view
Jason Shepherd14
Where do I get more information?
Search the forums on openshift.redhat.com
Browse the Documentation on docs.redhat.com
Ask for help in #openshift on Freenode
Download the slides from http://people.redhat.com/jshepher/
Openshift
Jason Shepherd
Middleware Support Engineer, Red Hat
August 15th, 2012