SlideShare una empresa de Scribd logo
1 de 39
Descargar para leer sin conexión
OpenShift
                              State of the Union
                                 Devoxx 2012


Marco Rietveld
JBoss Software Engineer
http://mriet.wordpress.com/
@marcorietveld
14 Nov 2012, Antwerp
Sign up (It’s free!)      Sorry spam bots!
                          No OpenShift for you!




Got a laptop?
(Why not?!?)

Promo code:
DEVOXX2012
http://openshift.com/

This way you can follow
along with the demos.
OpenShift status

“A speech given by
the US President to
Congress every
year describing the
condition of the
country...”
History Lesson
  •   November 2010: Makara acquired by Red Hat

  •   2011: Makara merged into the OpenShift
      project

  •   May 2012: OpenShift open sourced!
      •   Live CD launched for local PaaS

      •   GitHub code base

      •   Activity: blogs, howto’s, quickstarts, webinars...

  •   June 2012: JBoss World, OpenShift Enterprise
      PaaS announced.
Getting started
You start with 3
And you never look back



          Tekst
PaaS?!?




Widescreen.. <drool>
STOP DORKING WITH THE STACK

Time spent setting up the server:
14 hours

Time spent finding
and fixing the problem:
45 minutes

There are some things that you
can spend all day(s) on.

This is NOT ONE OF THEM!
HOW-TO
         1. Sign Up
         2. Install Client Tools
         3. Create Domain
         4. Create Application
         5. Deploy Application (GIT)
         6. ROCK OUT!
Sign up (It’s free!)      Sorry spam bots!
                          No OpenShift for you!




Got a laptop?
(Why not?!?)

Promo code:
DEVOXX2012
http://openshift.com/

This way you can follow
along with the demos.
Install Client Tools
 Command line (https://openshift.redhat.com/community/developers/install-the-client-tools)
Fedora                                                                    Ubuntu
$ sudo yum install rubygem-rhc
                                  Windows
                                  Install Ruby (RubyInstaller 1.9)        $ sudo apt-get instal
$ rhc
                                  Install Git for Windows (1.8.0)         $ ruby -e ‘puts “Test
$ sudo gem update rhc                                                     Test
                                  C:Program Files> gem install rhc      $ git --version
                                  C:Program Files> rhc                  git version 1.8.0
                                                                          $ sudo getm install r
         Other                                                            $ rhc
         See link above
                             Mac OS X
                             $ ruby -e ‘puts “Ruby is installed”’
                             Ruby is installed
                             $ git --version
                             git version 1.8.0
                             $ sudo gem install rhc
                             $ rhc
Create your Domain
- Use the rhc command
$ rhc domain create -n mydomain -l openshiftlogin




 - Use the
 admin console
Web Cartridges
Currently:
JBoss EAP 6.0,
JBoss AS 7.1,
Tomcat,
Zend 5.6,
Node.js 0.6,
PHP 5.3,
Perl 5.10,
Python 2.6, Ruby 1.9,
Jenkins, DIY...
Instant applications
Creating an Application
• Web Cartridge   • Choose a name




• Create!
Ready, Set, Code!
Extend... (or start over!)
Gears


    • 500 Mb memory
    • 1 Gb Storage    Tekst
Embedded Gears:
MySQL,
PostgreSQL,
MongoDB,
PHPMyAdmin,
RockMongo,
Jenkins,
HAProxy,
Metrics,
Cron,
Gen-MMS-Agent
And Now with the
Command Line
 • Name app and define type
$ rhc app create -a <appname> -t <apptype> -l <openshiftlogin>

 •   Add application to local repo
$ cd <appname>
$ # add files, change them, etc!
$ git add .

 •   Commit changes
$ git commit -m “Initial app import.”
DEPLOY
$ git push            (Git hooks)

In your git repository:
.openshift/action_hooks/pre_build
.openshift/action_hooks/build
.openshift/action_hooks/deploy
.openshift/action_hooks/post_deploy
EASY!
Oh yeah, Developer Studio!
1, 2, 3, Go
Tips &                   No More Passwords! (bash)
                         Save password in ~/.openshift/.pwd

Tricks                   $ chmod 600 ~/.openshift/.pwd
                         $ function rhc() {
                           `which rhc` “$@” -p “`cat ~/.openshift/.pwd`”
                           # -l $login also, if you want
                         }

Hot Deployments!
Works for JBoss AS7, PHP and Ruby.                   Git Config
Add marker file:                                      autosetuprebase=true
$ touch .openshift/markers/hot_deploy
                                                     can cause problems...
... remember, you still have to live inside the      unless you’re a git guru!
memory footprint -- there’s also Jenkins!
DEMO TIME!
Designer
$ rhc app create -a editor -t jbossas-7
$ cd editor
$ git remote add upstream -m master
  git://github.com/eschabell/openshift-webdesigner-
jbpmmigration.git
$ git pull -s recursive -X theirs upstream master
$ git push

http://editor-$yourDomain.rhcloud.com/designer/editor?profile=jbpm&uuid=123
$ rhc app create -a swyesb -t jbossas-7
$ cd swyesb
$ git remote add upstream -m master
  git://github.com/eschabell/switchyard-openshift.git
$ git pull -s recursive -X theirs upstream master
$ git apply standalone.diff
$ git push

http://swyesb-$yourDomain.rhcloud.com/swydws/OrderService?wsdl
$ rhc app create -a ceylon -t jbossas-7
$ cd ceylon
$ git remote add upstream -m master
  git://github.com/eschabell/ceylon-openshift.git
$ git pull -s recursive -X theirs upstream master
$ git push
http://ceylon-$yourDomain.rhcloud.com
Redmine
$ rhc app create -a redmine -t ruby-1.9
$ rhc app cartridge add -a redmine -c mysql-5.1
$ cd redmine
$ git remote add upstream -m master
  git://github.com/openshift/redmine-2.0-openshift-
quickstart.git
$ git pull -s recursive -X theirs upstream master
$ git push

http://portal-$yourDomain.rhcloud.com/portal
$ rhc app create -a capedwarf -t jbossas-7
$ cd capedwarf
$ git remote add upstream
  git://github.com/openshift/capedwarf-example.git
$ git pull -s recursive -X theirs upstream master
$ git push

http://capedwarf-$yourDomain.rhcloud.com/
$ rhc app create -a nodejs -t nodejs-0.6
$ cd nodejs
$ git remote add upstream
  git://github.com/openshift/nodejs-example.git
$ git pull -s recursive -X theirs upstream master
$ git push

http://nodejs-$yourDomain.rhcloud.com/
DIY: Do It Yourself
$ rhc app create -a diy -t diy-0.1
$ cd diy
$ git remote add upstream
  git://github.com/openshift/openshift-diy-java-demo.git
$ git pull -s recursive -X theirs upstream master
# modify html/index.html and commit
$ git push

http://diy-$yourDomain.rhcloud.com/
Getting
 finished
Local PaaS
Runs on Virtual Box
(or virtmanager on linux)

Amazon AMI’s can also
be created.

Open Source
Oct 17, 2011
Progress
Nov 15, 2011
Dec 9, 2011
Dec 20, 2011     • Frequent releases
Jan 17, 2012
Feb 7, 2012      • Vote on Features
                 https://openshift.redhat.com/community/ideas
Feb 21, 2012
March 5, 2012
March 22, 2012
                 • Get involved
                 https://openshift.redhat.com/community/get-involved
May 15, 2012
June 26, 2012
July 18, 2012
Aug 8, 2012
Aug 28, 2012
Sep 18, 2012
Oct 21, 2012
Links, Info, IRC, email, ...
  Openshift                             http://openshift.redhat.com

  Example projects you can deploy now https://www.github.com/openshift
  as in -- during this talk -- but, you wouldn’t right? I’m still talking!



  Help?
  IRC                                   freenode #openshift

                                        http://www.redhat.com/openshift/
  Forums                                community/forums

  Email                                 openshift at redhat dot
Questions?
Credits:
Photos/Images:
all. OpenShift http://www.openshift.com

5, 34. “The Endeavor Lifts Off” http://www.flickr.com/photos/stuckincustoms/5896504098/
6. “Hammers” http://www.nytimes.com/2011/08/11/garden/roy-mackeys-hammer-art.html
7. “Warp Speed” http://www.flickr.com/photos/19942094@N00/4937185452/ (Randy Le’Moine Photography)
8. “NEC wide screen” http://www.finalsense.com/news/image/display/nec-crvd-lcd.jpg
9. “Damn!” (borking) http://www.flickr.com/photos/lore/431644237/
19. “Inner Gears” http://terrifyingteddy.deviantart.com/art/Inner-Gears-185076865
21. “Happy Dance” http://www.flickr.com/photos/jefito/2926851715/
26. “Blue Explosion” http://kyoakuno.deviantart.com/art/Blue-Explosion-93694376
27, 28, 29, 31. Logo’s (various projects) http://design.jboss.org/
30. “Ruby on Rails logo” http://media.smashingmagazine.com/images/introduction-to-rails/rails.jpg
32. “Node.js logo” http://nodejs.org/logos/
38. “Wat” http://knowyourmeme.com/photos/173583, http://knowyourmeme.com/photos/195379



                                                                                             THANKS:
                                                                                             Eric D. Schabell, John Graham, Devoxx, JBoss, the convenience
                                                                                             store around the corner, Linux, Eclipse, Staffworld (UMD CS),
                                                                                             “Steal This Presentation!”, Noise Pop, Skip Grant, and last, but
                                                                                             not least, the OpenShift team!

Más contenido relacionado

La actualidad más candente

Wonderful world of (distributed) SCM or VCS
Wonderful world of (distributed) SCM or VCSWonderful world of (distributed) SCM or VCS
Wonderful world of (distributed) SCM or VCSVlatko Kosturjak
 
Ripping web accessible .git files
Ripping web accessible .git filesRipping web accessible .git files
Ripping web accessible .git filesVlatko Kosturjak
 
Slides Aquarium Paris 2008
Slides Aquarium Paris 2008Slides Aquarium Paris 2008
Slides Aquarium Paris 2008julien.ponge
 
Virtualenv
VirtualenvVirtualenv
VirtualenvWEBdeBS
 
Introduction to Docker, Meetup at University of Bamberg by Hypriot
Introduction to Docker, Meetup at University of Bamberg by HypriotIntroduction to Docker, Meetup at University of Bamberg by Hypriot
Introduction to Docker, Meetup at University of Bamberg by HypriotTeam Hypriot
 
Tools and Process for Streamlining Mac Deployment
Tools and Process for Streamlining Mac DeploymentTools and Process for Streamlining Mac Deployment
Tools and Process for Streamlining Mac DeploymentTimothy Sutton
 
Culerity and Headless Full Stack Integration Testing
Culerity and Headless Full Stack Integration TestingCulerity and Headless Full Stack Integration Testing
Culerity and Headless Full Stack Integration TestingPatrick Huesler
 
DevOps for Opensource Geospatial Applications
DevOps for Opensource Geospatial ApplicationsDevOps for Opensource Geospatial Applications
DevOps for Opensource Geospatial Applicationstlpinney
 
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊Po-Jen Lai
 
Docker italia fatti un container tutto tuo
Docker italia fatti un container tutto tuoDocker italia fatti un container tutto tuo
Docker italia fatti un container tutto tuoGiulio De Donato
 
slides.pdf
slides.pdfslides.pdf
slides.pdfvidsvagi
 
IzPack at LyonJUG'11
IzPack at LyonJUG'11IzPack at LyonJUG'11
IzPack at LyonJUG'11julien.ponge
 
コンテナ仮想、その裏側 〜user namespaceとrootlessコンテナ〜
コンテナ仮想、その裏側 〜user namespaceとrootlessコンテナ〜コンテナ仮想、その裏側 〜user namespaceとrootlessコンテナ〜
コンテナ仮想、その裏側 〜user namespaceとrootlessコンテナ〜Retrieva inc.
 
Buildr In Action @devoxx france 2012
Buildr In Action @devoxx france 2012Buildr In Action @devoxx france 2012
Buildr In Action @devoxx france 2012alexismidon
 
Null Xposed Framework internals and writing modules
Null Xposed Framework internals and writing modulesNull Xposed Framework internals and writing modules
Null Xposed Framework internals and writing modulesAbhinav Chourasia, GMOB
 

La actualidad más candente (20)

Wonderful world of (distributed) SCM or VCS
Wonderful world of (distributed) SCM or VCSWonderful world of (distributed) SCM or VCS
Wonderful world of (distributed) SCM or VCS
 
Introduction to Kalabox
Introduction to KalaboxIntroduction to Kalabox
Introduction to Kalabox
 
Ripping web accessible .git files
Ripping web accessible .git filesRipping web accessible .git files
Ripping web accessible .git files
 
Smartgears
SmartgearsSmartgears
Smartgears
 
Slides Aquarium Paris 2008
Slides Aquarium Paris 2008Slides Aquarium Paris 2008
Slides Aquarium Paris 2008
 
Virtualenv
VirtualenvVirtualenv
Virtualenv
 
Introduction to Docker, Meetup at University of Bamberg by Hypriot
Introduction to Docker, Meetup at University of Bamberg by HypriotIntroduction to Docker, Meetup at University of Bamberg by Hypriot
Introduction to Docker, Meetup at University of Bamberg by Hypriot
 
Intro to-venv-py3
Intro to-venv-py3Intro to-venv-py3
Intro to-venv-py3
 
Tools and Process for Streamlining Mac Deployment
Tools and Process for Streamlining Mac DeploymentTools and Process for Streamlining Mac Deployment
Tools and Process for Streamlining Mac Deployment
 
Culerity and Headless Full Stack Integration Testing
Culerity and Headless Full Stack Integration TestingCulerity and Headless Full Stack Integration Testing
Culerity and Headless Full Stack Integration Testing
 
DevOps for Opensource Geospatial Applications
DevOps for Opensource Geospatial ApplicationsDevOps for Opensource Geospatial Applications
DevOps for Opensource Geospatial Applications
 
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊
 
Vitaly ̈_Vi ̈ Shukela - Dive
Vitaly  ̈_Vi ̈ Shukela - DiveVitaly  ̈_Vi ̈ Shukela - Dive
Vitaly ̈_Vi ̈ Shukela - Dive
 
Docker italia fatti un container tutto tuo
Docker italia fatti un container tutto tuoDocker italia fatti un container tutto tuo
Docker italia fatti un container tutto tuo
 
slides.pdf
slides.pdfslides.pdf
slides.pdf
 
IzPack at LyonJUG'11
IzPack at LyonJUG'11IzPack at LyonJUG'11
IzPack at LyonJUG'11
 
DevstackPY
DevstackPYDevstackPY
DevstackPY
 
コンテナ仮想、その裏側 〜user namespaceとrootlessコンテナ〜
コンテナ仮想、その裏側 〜user namespaceとrootlessコンテナ〜コンテナ仮想、その裏側 〜user namespaceとrootlessコンテナ〜
コンテナ仮想、その裏側 〜user namespaceとrootlessコンテナ〜
 
Buildr In Action @devoxx france 2012
Buildr In Action @devoxx france 2012Buildr In Action @devoxx france 2012
Buildr In Action @devoxx france 2012
 
Null Xposed Framework internals and writing modules
Null Xposed Framework internals and writing modulesNull Xposed Framework internals and writing modules
Null Xposed Framework internals and writing modules
 

Similar a OpenShift State of the Union: An Update on Red Hat's Platform-as-a-Service

OpenShift State of the Union, brought to you by JBoss
OpenShift State of the Union, brought to you by JBossOpenShift State of the Union, brought to you by JBoss
OpenShift State of the Union, brought to you by JBossEric D. Schabell
 
NLUUG Spring 2012 - OpenShift Primer
NLUUG Spring 2012 - OpenShift PrimerNLUUG Spring 2012 - OpenShift Primer
NLUUG Spring 2012 - OpenShift PrimerEric D. Schabell
 
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)Eric D. Schabell
 
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!Eric D. Schabell
 
Codemotion 2012 Rome - An OpenShift Primer
Codemotion 2012 Rome - An OpenShift PrimerCodemotion 2012 Rome - An OpenShift Primer
Codemotion 2012 Rome - An OpenShift PrimerEric D. Schabell
 
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShiftFrom Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShiftEric D. Schabell
 
The Modern Developer Toolbox
The Modern Developer ToolboxThe Modern Developer Toolbox
The Modern Developer ToolboxPablo Godel
 
OpenShift: Java EE in the clouds
OpenShift: Java EE in the cloudsOpenShift: Java EE in the clouds
OpenShift: Java EE in the cloudsMax Andersen
 
Getting started with developing Nodejs
Getting started with developing NodejsGetting started with developing Nodejs
Getting started with developing NodejsPhil Hawksworth
 
Docker module 1
Docker module 1Docker module 1
Docker module 1Liang Bo
 
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis OverviewLeo Lorieri
 
Red Hat Developer Day London: Advanced Java & JBoss in the Cloud
Red Hat Developer Day London: Advanced Java & JBoss in the Cloud Red Hat Developer Day London: Advanced Java & JBoss in the Cloud
Red Hat Developer Day London: Advanced Java & JBoss in the Cloud Eric D. Schabell
 
Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
Ceph, Docker, Heroku Slugs, CoreOS and Deis OverviewCeph, Docker, Heroku Slugs, CoreOS and Deis Overview
Ceph, Docker, Heroku Slugs, CoreOS and Deis OverviewLeo Lorieri
 
Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18Pierre Joye
 
Dockerizing a Symfony2 application
Dockerizing a Symfony2 applicationDockerizing a Symfony2 application
Dockerizing a Symfony2 applicationRoman Rodomansky
 
State ofappdevelopment
State ofappdevelopmentState ofappdevelopment
State ofappdevelopmentgillygize
 
CI workflow in a web studio
CI workflow in a web studioCI workflow in a web studio
CI workflow in a web studiodeWeb
 
Тарас Кирилюк та Олена Пустовойт — CI workflow у веб-студії
Тарас Кирилюк та Олена Пустовойт — CI workflow у веб-студіїТарас Кирилюк та Олена Пустовойт — CI workflow у веб-студії
Тарас Кирилюк та Олена Пустовойт — CI workflow у веб-студіїLEDC 2016
 
Django dev-env-my-way
Django dev-env-my-wayDjango dev-env-my-way
Django dev-env-my-wayRobert Lujo
 

Similar a OpenShift State of the Union: An Update on Red Hat's Platform-as-a-Service (20)

OpenShift State of the Union, brought to you by JBoss
OpenShift State of the Union, brought to you by JBossOpenShift State of the Union, brought to you by JBoss
OpenShift State of the Union, brought to you by JBoss
 
NLUUG Spring 2012 - OpenShift Primer
NLUUG Spring 2012 - OpenShift PrimerNLUUG Spring 2012 - OpenShift Primer
NLUUG Spring 2012 - OpenShift Primer
 
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
 
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!
 
Codemotion 2012 Rome - An OpenShift Primer
Codemotion 2012 Rome - An OpenShift PrimerCodemotion 2012 Rome - An OpenShift Primer
Codemotion 2012 Rome - An OpenShift Primer
 
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShiftFrom Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
 
The Modern Developer Toolbox
The Modern Developer ToolboxThe Modern Developer Toolbox
The Modern Developer Toolbox
 
OpenShift: Java EE in the clouds
OpenShift: Java EE in the cloudsOpenShift: Java EE in the clouds
OpenShift: Java EE in the clouds
 
Getting started with developing Nodejs
Getting started with developing NodejsGetting started with developing Nodejs
Getting started with developing Nodejs
 
Docker module 1
Docker module 1Docker module 1
Docker module 1
 
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
 
Red Hat Developer Day London: Advanced Java & JBoss in the Cloud
Red Hat Developer Day London: Advanced Java & JBoss in the Cloud Red Hat Developer Day London: Advanced Java & JBoss in the Cloud
Red Hat Developer Day London: Advanced Java & JBoss in the Cloud
 
Discover System Facilities inside Your Android Phone
Discover System Facilities inside Your Android Phone Discover System Facilities inside Your Android Phone
Discover System Facilities inside Your Android Phone
 
Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
Ceph, Docker, Heroku Slugs, CoreOS and Deis OverviewCeph, Docker, Heroku Slugs, CoreOS and Deis Overview
Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
 
Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18
 
Dockerizing a Symfony2 application
Dockerizing a Symfony2 applicationDockerizing a Symfony2 application
Dockerizing a Symfony2 application
 
State ofappdevelopment
State ofappdevelopmentState ofappdevelopment
State ofappdevelopment
 
CI workflow in a web studio
CI workflow in a web studioCI workflow in a web studio
CI workflow in a web studio
 
Тарас Кирилюк та Олена Пустовойт — CI workflow у веб-студії
Тарас Кирилюк та Олена Пустовойт — CI workflow у веб-студіїТарас Кирилюк та Олена Пустовойт — CI workflow у веб-студії
Тарас Кирилюк та Олена Пустовойт — CI workflow у веб-студії
 
Django dev-env-my-way
Django dev-env-my-wayDjango dev-env-my-way
Django dev-env-my-way
 

Último

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 MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
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...Neo4j
 
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 2024Rafal Los
 
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...Drew Madelung
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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 Servicegiselly40
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
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...Martijn de Jong
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
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...Igalia
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 

Último (20)

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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
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...
 
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
 
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...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
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...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

OpenShift State of the Union: An Update on Red Hat's Platform-as-a-Service

  • 1. OpenShift State of the Union Devoxx 2012 Marco Rietveld JBoss Software Engineer http://mriet.wordpress.com/ @marcorietveld 14 Nov 2012, Antwerp
  • 2. Sign up (It’s free!) Sorry spam bots! No OpenShift for you! Got a laptop? (Why not?!?) Promo code: DEVOXX2012 http://openshift.com/ This way you can follow along with the demos.
  • 3. OpenShift status “A speech given by the US President to Congress every year describing the condition of the country...”
  • 4. History Lesson • November 2010: Makara acquired by Red Hat • 2011: Makara merged into the OpenShift project • May 2012: OpenShift open sourced! • Live CD launched for local PaaS • GitHub code base • Activity: blogs, howto’s, quickstarts, webinars... • June 2012: JBoss World, OpenShift Enterprise PaaS announced.
  • 7. And you never look back Tekst
  • 9. STOP DORKING WITH THE STACK Time spent setting up the server: 14 hours Time spent finding and fixing the problem: 45 minutes There are some things that you can spend all day(s) on. This is NOT ONE OF THEM!
  • 10. HOW-TO 1. Sign Up 2. Install Client Tools 3. Create Domain 4. Create Application 5. Deploy Application (GIT) 6. ROCK OUT!
  • 11. Sign up (It’s free!) Sorry spam bots! No OpenShift for you! Got a laptop? (Why not?!?) Promo code: DEVOXX2012 http://openshift.com/ This way you can follow along with the demos.
  • 12. Install Client Tools Command line (https://openshift.redhat.com/community/developers/install-the-client-tools) Fedora Ubuntu $ sudo yum install rubygem-rhc Windows Install Ruby (RubyInstaller 1.9) $ sudo apt-get instal $ rhc Install Git for Windows (1.8.0) $ ruby -e ‘puts “Test $ sudo gem update rhc Test C:Program Files> gem install rhc $ git --version C:Program Files> rhc git version 1.8.0 $ sudo getm install r Other $ rhc See link above Mac OS X $ ruby -e ‘puts “Ruby is installed”’ Ruby is installed $ git --version git version 1.8.0 $ sudo gem install rhc $ rhc
  • 13. Create your Domain - Use the rhc command $ rhc domain create -n mydomain -l openshiftlogin - Use the admin console
  • 14. Web Cartridges Currently: JBoss EAP 6.0, JBoss AS 7.1, Tomcat, Zend 5.6, Node.js 0.6, PHP 5.3, Perl 5.10, Python 2.6, Ruby 1.9, Jenkins, DIY...
  • 16. Creating an Application • Web Cartridge • Choose a name • Create!
  • 19. Gears • 500 Mb memory • 1 Gb Storage Tekst Embedded Gears: MySQL, PostgreSQL, MongoDB, PHPMyAdmin, RockMongo, Jenkins, HAProxy, Metrics, Cron, Gen-MMS-Agent
  • 20. And Now with the Command Line • Name app and define type $ rhc app create -a <appname> -t <apptype> -l <openshiftlogin> • Add application to local repo $ cd <appname> $ # add files, change them, etc! $ git add . • Commit changes $ git commit -m “Initial app import.”
  • 21. DEPLOY $ git push (Git hooks) In your git repository: .openshift/action_hooks/pre_build .openshift/action_hooks/build .openshift/action_hooks/deploy .openshift/action_hooks/post_deploy
  • 22. EASY!
  • 24. 1, 2, 3, Go
  • 25. Tips & No More Passwords! (bash) Save password in ~/.openshift/.pwd Tricks $ chmod 600 ~/.openshift/.pwd $ function rhc() { `which rhc` “$@” -p “`cat ~/.openshift/.pwd`” # -l $login also, if you want } Hot Deployments! Works for JBoss AS7, PHP and Ruby. Git Config Add marker file: autosetuprebase=true $ touch .openshift/markers/hot_deploy can cause problems... ... remember, you still have to live inside the unless you’re a git guru! memory footprint -- there’s also Jenkins!
  • 27. Designer $ rhc app create -a editor -t jbossas-7 $ cd editor $ git remote add upstream -m master git://github.com/eschabell/openshift-webdesigner- jbpmmigration.git $ git pull -s recursive -X theirs upstream master $ git push http://editor-$yourDomain.rhcloud.com/designer/editor?profile=jbpm&uuid=123
  • 28. $ rhc app create -a swyesb -t jbossas-7 $ cd swyesb $ git remote add upstream -m master git://github.com/eschabell/switchyard-openshift.git $ git pull -s recursive -X theirs upstream master $ git apply standalone.diff $ git push http://swyesb-$yourDomain.rhcloud.com/swydws/OrderService?wsdl
  • 29. $ rhc app create -a ceylon -t jbossas-7 $ cd ceylon $ git remote add upstream -m master git://github.com/eschabell/ceylon-openshift.git $ git pull -s recursive -X theirs upstream master $ git push http://ceylon-$yourDomain.rhcloud.com
  • 30. Redmine $ rhc app create -a redmine -t ruby-1.9 $ rhc app cartridge add -a redmine -c mysql-5.1 $ cd redmine $ git remote add upstream -m master git://github.com/openshift/redmine-2.0-openshift- quickstart.git $ git pull -s recursive -X theirs upstream master $ git push http://portal-$yourDomain.rhcloud.com/portal
  • 31. $ rhc app create -a capedwarf -t jbossas-7 $ cd capedwarf $ git remote add upstream git://github.com/openshift/capedwarf-example.git $ git pull -s recursive -X theirs upstream master $ git push http://capedwarf-$yourDomain.rhcloud.com/
  • 32. $ rhc app create -a nodejs -t nodejs-0.6 $ cd nodejs $ git remote add upstream git://github.com/openshift/nodejs-example.git $ git pull -s recursive -X theirs upstream master $ git push http://nodejs-$yourDomain.rhcloud.com/
  • 33. DIY: Do It Yourself $ rhc app create -a diy -t diy-0.1 $ cd diy $ git remote add upstream git://github.com/openshift/openshift-diy-java-demo.git $ git pull -s recursive -X theirs upstream master # modify html/index.html and commit $ git push http://diy-$yourDomain.rhcloud.com/
  • 35. Local PaaS Runs on Virtual Box (or virtmanager on linux) Amazon AMI’s can also be created. Open Source
  • 36. Oct 17, 2011 Progress Nov 15, 2011 Dec 9, 2011 Dec 20, 2011 • Frequent releases Jan 17, 2012 Feb 7, 2012 • Vote on Features https://openshift.redhat.com/community/ideas Feb 21, 2012 March 5, 2012 March 22, 2012 • Get involved https://openshift.redhat.com/community/get-involved May 15, 2012 June 26, 2012 July 18, 2012 Aug 8, 2012 Aug 28, 2012 Sep 18, 2012 Oct 21, 2012
  • 37. Links, Info, IRC, email, ... Openshift http://openshift.redhat.com Example projects you can deploy now https://www.github.com/openshift as in -- during this talk -- but, you wouldn’t right? I’m still talking! Help? IRC freenode #openshift http://www.redhat.com/openshift/ Forums community/forums Email openshift at redhat dot
  • 39. Credits: Photos/Images: all. OpenShift http://www.openshift.com 5, 34. “The Endeavor Lifts Off” http://www.flickr.com/photos/stuckincustoms/5896504098/ 6. “Hammers” http://www.nytimes.com/2011/08/11/garden/roy-mackeys-hammer-art.html 7. “Warp Speed” http://www.flickr.com/photos/19942094@N00/4937185452/ (Randy Le’Moine Photography) 8. “NEC wide screen” http://www.finalsense.com/news/image/display/nec-crvd-lcd.jpg 9. “Damn!” (borking) http://www.flickr.com/photos/lore/431644237/ 19. “Inner Gears” http://terrifyingteddy.deviantart.com/art/Inner-Gears-185076865 21. “Happy Dance” http://www.flickr.com/photos/jefito/2926851715/ 26. “Blue Explosion” http://kyoakuno.deviantart.com/art/Blue-Explosion-93694376 27, 28, 29, 31. Logo’s (various projects) http://design.jboss.org/ 30. “Ruby on Rails logo” http://media.smashingmagazine.com/images/introduction-to-rails/rails.jpg 32. “Node.js logo” http://nodejs.org/logos/ 38. “Wat” http://knowyourmeme.com/photos/173583, http://knowyourmeme.com/photos/195379 THANKS: Eric D. Schabell, John Graham, Devoxx, JBoss, the convenience store around the corner, Linux, Eclipse, Staffworld (UMD CS), “Steal This Presentation!”, Noise Pop, Skip Grant, and last, but not least, the OpenShift team!