Mastering xPaaS
Get down and dirty in the OpenShift Cloud
Devoxx BE 2014
Room 4: 13:30 - 16:30
Following along...
masteringxpaas-onthe.rhcloud.com
Repeat after me...
I
don't
care
So what's the PaaS layer to me?
A Little History
- Nov 2010: Makara acquired
- In 2011: merged into OpenShift project
- May 2012: Open Sourced
- Dec 2012: OpenShift Primer (e-book)
- 2013: Online Public PaaS / Enterprise Private PaaS / xPaaS Services
- Apr 2014: OpenShift Primer revision 2 (e-book)
- June 2014: OpenShift Online Market Place, extend reach to LTAM / APAC
- Sep 2014: European hosting
- Coming soon: v3 with Docker, Kubernetes, etc...
Events - JUG's, GOTO Aarhus, JAX London, JUDCon, Devoxx (2x), APAC Tech Exchange
OpenShift Primer
Devoxx 2013
Now you can talk about
IaaS & PaaS
but what about
xPaaS
Enterprise apps are complex
Reduce more work with higher-level services
JBoss xPaaS services for OpenShift
This is important
Follow along from here on out...
Need to register? Should have done it already...
Quickstart
Sign up
Install client tools
Create domain
Create application
Deploy application (GIT)
Sign up, it's free!
Help
- IRC freenode #openshift
- forums
- email: openshift@redhat.com
Install Client Tools
- Fedora / RHEL
- openshift repo
- /etc/yum.repos.d
- sudo yum install rubygem-rhc
- OSX / Unix
- gem install rhc
- see forum or blogs
Install for Windows
-
Windows article details following:
- install Ruby for Windows
- install GIT on Windows
- install rhc tooling:
RHC for Windows
- Lastly we install rhc tooling:
Create Domains
- Use rhc command
- $ rhc domain create {mydomain}
- Use web admin console
Bronze upgrade
Some xPaaS need...
Other Options
- name app and define type
- $ rhc app create -t {apptype} {appname}
- Node.js, DIY, Jenkins, PHP, Ruby, Python, Perl and most important Java!
- add application to local repo
- commit changes
- $ git commit -m "Initial app import."
Deploy to Cloud
- Push the code
- Congratulations, your app is in the Cloud!
mPaaS: Java Mobile
- $ rhc app create -t jbosseap-6 devoxx
- $ cd devoxx
- $ git remote add upstream -m master git://github.com/eschabell/openshift-devoxx.git
- $ git pull -s recursive -X theirs upstream master
- $ git push
- http://devoxx-$your_domain.rhcloud.com