openshift jason shepherd middleware support engineer, red hat august 15, 2012
TRANSCRIPT
![Page 1: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/1.jpg)
Openshift
Jason Shepherd
Middleware Support Engineer, Red Hat
August 15, 2012
![Page 2: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/2.jpg)
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
![Page 3: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/3.jpg)
Jason Shepherd3
![Page 4: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/4.jpg)
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
![Page 5: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/5.jpg)
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
![Page 6: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/6.jpg)
Jason Shepherd6
![Page 7: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/7.jpg)
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
![Page 8: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/8.jpg)
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
![Page 9: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/9.jpg)
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
![Page 10: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/10.jpg)
Jason Shepherd10
![Page 11: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/11.jpg)
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
![Page 12: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/12.jpg)
Jason Shepherd12
Simple view of an application
![Page 13: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/13.jpg)
Jason Shepherd13
More typical view
![Page 14: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/14.jpg)
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/
![Page 15: Openshift Jason Shepherd Middleware Support Engineer, Red Hat August 15, 2012](https://reader035.vdocuments.mx/reader035/viewer/2022062303/5519ecd45503469c0b8b4772/html5/thumbnails/15.jpg)
Openshift
Jason Shepherd
Middleware Support Engineer, Red Hat
August 15th, 2012