SlideShare a Scribd company logo
1 of 33
Download to read offline
OPENSHIFT
PRIMER
GETYOURCODEINTO THECLOUD
Created by /Eric D. Schabell @ericschabell
NEVERLOOKBACK...
ALITTLEHISTORY
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)
Events - JUG's, GOTO Aarhus, JAX London, JUDCon, Devoxx, APAC
Tech Exchange
QUICKSTART
1. Sign up
2. Install client tools
3. Create domain
4. Create application
5. Deploy application (GIT)
SIGNUP,IT'SFREE!
Example projects you can deploy now
Help
IRC freenode #openshift
forums
email: openshift@redhat.com
http://openshift.com
http://github.com/openshift
INSTALLCLIENTTOOLS
Fedora / RHEL
openshift repo
/etc/yum.repos.d
sudo yum install rubygem-rhc
OSX / Windows / Unix
gem install rhc
see forum or blogs
CREATEDOMAINS
Use rhc command
$ rhc domain create {mydomain}
Use web admin console
APPLICATIONDETAILS
CARTRIDGEADDITIONS
OTHEROPTIONS
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
$ git add .
commit changes
$ git commit -m "Initial app import."
DEPLOYTOCLOUD
Push the code
$ git push
Congratulations, your app is in the Cloud!
JBOSSDEVELOPERSTUDIO
ADVANCEDQUICKSTARTS
JAXLONDONMOBILEREGISTRATION
$ rhc app create -t jbosseap-6 jaxlondon
$ cd jaxlondon
$ git remote add upstream -m master
git://github.com/eschabell/openshift-
jaxlondon.git
$ git pull -s recursive -X theirs upstream
master
$ git push
http://jaxlondon-$your_domain.rhcloud.com
HOSTAWESTRUCTPRESENTATIONS
$ rhc app create -t ruby-1.9 --from-code
git://github.com/eschabell/openshift-
presos-awstruct.git presos
http://presos-$your_domain.rhcloud.com
JBPMMIGRATIONPROJECT
$ rhc app create -t jbossas-7 --from-code
git://github.com/eschabell/openshift-
jbpmmigration.git jbpmmigration
http://jbpmmigration-
$your_domain.rhcloud.com/jbpmmigration_upload-
0.5
OPTAPLANNERDEMO
$ rhc app create -t jbosseap-6 --from-code
git://github.com/eschabell/openshift-
droolsplanner.git droolsplanner
http://droolsplanner-
$your_domain.rhcloud.com/droolsplanner
BUSINESSACTIVITYMONITORING
$ rhc app create -t jbossas-7 --from-code
git://github.com/eschabell/openshift-bpm-bam-
dashboard.git bam
setup user login:
$ rhc app show bam
$ scp bampreview/.openshift/config/bam-*.prope
xxxxxxxxxx@bam-
inthe.rhcloud.com:~/jbossas/standalone/configu
http://bam-$your_domain.rhcloud.com (u:erics/p:e
OPENSHIFTPRIMERWORKSHOP
$ rhc app create -t ruby-1.9 --from-
code=https://github.com/eschabell/jaxlondon-
2013-workshop.git jaxlondon2013
http://jaxlondon2013-
$your_domain.rhcloud.com
LOVINGYOURHAMMERS?
OpenShift Primer Workshop -
OpenShift -
Blogs -
Repository for all OpenShift demos shown here -
OpenShift demo repository -
Rise above the Cloud hype with OpenShift -
http://presos-
onthe.rhcloud.com
http://openshift.redhat.com
https://www.redhat.com/openshift/community/blogs
https://github.com/eschabell
https://github.com/openshift
http://www.schabell.org/2012/01/rise-above-cloud-hype-
with-openshift.html
ll

More Related Content

Viewers also liked

Viewers also liked (19)

RHTE 2016 - Four Stories for the Red Hat Cloud Suite
RHTE 2016 - Four Stories for the Red Hat Cloud SuiteRHTE 2016 - Four Stories for the Red Hat Cloud Suite
RHTE 2016 - Four Stories for the Red Hat Cloud Suite
 
Webinar get move_on_with_bpmsuite6
Webinar get move_on_with_bpmsuite6Webinar get move_on_with_bpmsuite6
Webinar get move_on_with_bpmsuite6
 
Digital foundations - Fixing slow delivery of existing applications
Digital foundations - Fixing slow delivery of existing applicationsDigital foundations - Fixing slow delivery of existing applications
Digital foundations - Fixing slow delivery of existing applications
 
Painless containerization in your very own private Cloud
Painless containerization in your very own private CloudPainless containerization in your very own private Cloud
Painless containerization in your very own private Cloud
 
Partners in crime from design to execution with Signavio and JBoss BPM
Partners in crime from design to execution with Signavio and JBoss BPMPartners in crime from design to execution with Signavio and JBoss BPM
Partners in crime from design to execution with Signavio and JBoss BPM
 
Red Hat JBoss BPM Suite Workshop
Red Hat JBoss BPM Suite WorkshopRed Hat JBoss BPM Suite Workshop
Red Hat JBoss BPM Suite Workshop
 
JBoss BRMS Primer - Looking at a Business Rules Management System
JBoss BRMS Primer - Looking at a Business Rules Management SystemJBoss BRMS Primer - Looking at a Business Rules Management System
JBoss BRMS Primer - Looking at a Business Rules Management System
 
Open the Stack: How to easily plan and install your OpenStack deployment
Open the Stack: How to easily plan and install your OpenStack deploymentOpen the Stack: How to easily plan and install your OpenStack deployment
Open the Stack: How to easily plan and install your OpenStack deployment
 
The Red Hat Cloud Guide to All Things xPaaS
The Red Hat Cloud Guide to All Things xPaaSThe Red Hat Cloud Guide to All Things xPaaS
The Red Hat Cloud Guide to All Things xPaaS
 
Distributed Design and Architecture of Cloud Foundry
Distributed Design and Architecture of Cloud FoundryDistributed Design and Architecture of Cloud Foundry
Distributed Design and Architecture of Cloud Foundry
 
A Guide to Modern BPM Data Integration
A Guide to Modern BPM Data IntegrationA Guide to Modern BPM Data Integration
A Guide to Modern BPM Data Integration
 
Open shift and docker - october,2014
Open shift and docker - october,2014Open shift and docker - october,2014
Open shift and docker - october,2014
 
xPaaS – day in the life of a modern application developer
xPaaS – day in the life of a modern application developerxPaaS – day in the life of a modern application developer
xPaaS – day in the life of a modern application developer
 
OpenShift Overview
OpenShift OverviewOpenShift Overview
OpenShift Overview
 
Using containers to build a microservices architecture
Using containers to build a microservices architectureUsing containers to build a microservices architecture
Using containers to build a microservices architecture
 
A Guide to Modern BPM Integration
A Guide to Modern BPM IntegrationA Guide to Modern BPM Integration
A Guide to Modern BPM Integration
 
Digital foundations - Paving the road to cloud solutions
Digital foundations - Paving the road to cloud solutionsDigital foundations - Paving the road to cloud solutions
Digital foundations - Paving the road to cloud solutions
 
OpenShift, Docker, Kubernetes: The next generation of PaaS
OpenShift, Docker, Kubernetes: The next generation of PaaSOpenShift, Docker, Kubernetes: The next generation of PaaS
OpenShift, Docker, Kubernetes: The next generation of PaaS
 
The foundation for digital transformation: Red Hat Cloud Suite
The foundation for digital transformation: Red Hat Cloud SuiteThe foundation for digital transformation: Red Hat Cloud Suite
The foundation for digital transformation: Red Hat Cloud Suite
 

More from Eric D. Schabell

OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
Eric D. Schabell
 
Observability For You and Me with OpenTelemetry (with demo)
Observability For You and Me with OpenTelemetry (with demo)Observability For You and Me with OpenTelemetry (with demo)
Observability For You and Me with OpenTelemetry (with demo)
Eric D. Schabell
 
Cloud Native Bedtime Stories - Terrifying Execs into Action
Cloud Native Bedtime Stories - Terrifying Execs into ActionCloud Native Bedtime Stories - Terrifying Execs into Action
Cloud Native Bedtime Stories - Terrifying Execs into Action
Eric D. Schabell
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
Eric D. Schabell
 
Open Source 101 - Observability For You and Me with OpenTelemetry
Open Source 101 - Observability For You and Me with OpenTelemetryOpen Source 101 - Observability For You and Me with OpenTelemetry
Open Source 101 - Observability For You and Me with OpenTelemetry
Eric D. Schabell
 

More from Eric D. Schabell (20)

OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
Checking the pulse of your cloud native architecture
Checking the pulse of your cloud native architectureChecking the pulse of your cloud native architecture
Checking the pulse of your cloud native architecture
 
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data
 
Observability For You and Me with OpenTelemetry (with demo)
Observability For You and Me with OpenTelemetry (with demo)Observability For You and Me with OpenTelemetry (with demo)
Observability For You and Me with OpenTelemetry (with demo)
 
3 Pitfalls Everyone Should Avoid with Cloud Native Observability
3 Pitfalls Everyone Should Avoid with Cloud Native Observability3 Pitfalls Everyone Should Avoid with Cloud Native Observability
3 Pitfalls Everyone Should Avoid with Cloud Native Observability
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
 
Roadmap to Becoming a CNCF Ambassador
Roadmap to Becoming a CNCF AmbassadorRoadmap to Becoming a CNCF Ambassador
Roadmap to Becoming a CNCF Ambassador
 
Cloud Native Bedtime Stories - Terrifying Execs into Action
Cloud Native Bedtime Stories - Terrifying Execs into ActionCloud Native Bedtime Stories - Terrifying Execs into Action
Cloud Native Bedtime Stories - Terrifying Execs into Action
 
SRECon EU 2023 - Three Phases to Better Observability Outcomes
SRECon EU 2023 - Three Phases to Better Observability OutcomesSRECon EU 2023 - Three Phases to Better Observability Outcomes
SRECon EU 2023 - Three Phases to Better Observability Outcomes
 
Optimizing Observability Spend: Metrics
Optimizing Observability Spend: MetricsOptimizing Observability Spend: Metrics
Optimizing Observability Spend: Metrics
 
Engaging Your Execs - Telling Great Observability Tales Inspiring Action
Engaging Your Execs - Telling Great Observability Tales Inspiring ActionEngaging Your Execs - Telling Great Observability Tales Inspiring Action
Engaging Your Execs - Telling Great Observability Tales Inspiring Action
 
WTF is SRE - Telling Effective Tales about Production
WTF is SRE - Telling Effective Tales about ProductionWTF is SRE - Telling Effective Tales about Production
WTF is SRE - Telling Effective Tales about Production
 
Optimizing Observability Spend: Metrics
Optimizing Observability Spend: MetricsOptimizing Observability Spend: Metrics
Optimizing Observability Spend: Metrics
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
 
Open Source 101 - Observability For You and Me with OpenTelemetry
Open Source 101 - Observability For You and Me with OpenTelemetryOpen Source 101 - Observability For You and Me with OpenTelemetry
Open Source 101 - Observability For You and Me with OpenTelemetry
 
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data
 
3 Pitfalls Everyone Should Avoid with Cloud Native Data
3 Pitfalls Everyone Should Avoid with Cloud Native Data3 Pitfalls Everyone Should Avoid with Cloud Native Data
3 Pitfalls Everyone Should Avoid with Cloud Native Data
 
DZone webinar - Shift left Observability
DZone webinar - Shift left ObservabilityDZone webinar - Shift left Observability
DZone webinar - Shift left Observability
 
Storytelling - How to build and delivery a story
Storytelling - How to build and delivery a storyStorytelling - How to build and delivery a story
Storytelling - How to build and delivery a story
 
Shift left Observability
Shift left ObservabilityShift left Observability
Shift left Observability
 

Recently uploaded

Recently uploaded (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

OpenShift Primer - get your code into the cloud

  • 2.
  • 4.
  • 5.
  • 6. ALITTLEHISTORY 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) Events - JUG's, GOTO Aarhus, JAX London, JUDCon, Devoxx, APAC Tech Exchange
  • 7. QUICKSTART 1. Sign up 2. Install client tools 3. Create domain 4. Create application 5. Deploy application (GIT)
  • 8. SIGNUP,IT'SFREE! Example projects you can deploy now Help IRC freenode #openshift forums email: openshift@redhat.com http://openshift.com http://github.com/openshift
  • 9. INSTALLCLIENTTOOLS Fedora / RHEL openshift repo /etc/yum.repos.d sudo yum install rubygem-rhc OSX / Windows / Unix gem install rhc see forum or blogs
  • 10. CREATEDOMAINS Use rhc command $ rhc domain create {mydomain} Use web admin console
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 18. OTHEROPTIONS 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 $ git add . commit changes $ git commit -m "Initial app import."
  • 19. DEPLOYTOCLOUD Push the code $ git push Congratulations, your app is in the Cloud!
  • 20.
  • 21.
  • 24. JAXLONDONMOBILEREGISTRATION $ rhc app create -t jbosseap-6 jaxlondon $ cd jaxlondon $ git remote add upstream -m master git://github.com/eschabell/openshift- jaxlondon.git $ git pull -s recursive -X theirs upstream master $ git push http://jaxlondon-$your_domain.rhcloud.com
  • 25. HOSTAWESTRUCTPRESENTATIONS $ rhc app create -t ruby-1.9 --from-code git://github.com/eschabell/openshift- presos-awstruct.git presos http://presos-$your_domain.rhcloud.com
  • 26. JBPMMIGRATIONPROJECT $ rhc app create -t jbossas-7 --from-code git://github.com/eschabell/openshift- jbpmmigration.git jbpmmigration http://jbpmmigration- $your_domain.rhcloud.com/jbpmmigration_upload- 0.5
  • 27. OPTAPLANNERDEMO $ rhc app create -t jbosseap-6 --from-code git://github.com/eschabell/openshift- droolsplanner.git droolsplanner http://droolsplanner- $your_domain.rhcloud.com/droolsplanner
  • 28. BUSINESSACTIVITYMONITORING $ rhc app create -t jbossas-7 --from-code git://github.com/eschabell/openshift-bpm-bam- dashboard.git bam setup user login: $ rhc app show bam $ scp bampreview/.openshift/config/bam-*.prope xxxxxxxxxx@bam- inthe.rhcloud.com:~/jbossas/standalone/configu http://bam-$your_domain.rhcloud.com (u:erics/p:e
  • 29. OPENSHIFTPRIMERWORKSHOP $ rhc app create -t ruby-1.9 --from- code=https://github.com/eschabell/jaxlondon- 2013-workshop.git jaxlondon2013 http://jaxlondon2013- $your_domain.rhcloud.com
  • 31.
  • 32. OpenShift Primer Workshop - OpenShift - Blogs - Repository for all OpenShift demos shown here - OpenShift demo repository - Rise above the Cloud hype with OpenShift - http://presos- onthe.rhcloud.com http://openshift.redhat.com https://www.redhat.com/openshift/community/blogs https://github.com/eschabell https://github.com/openshift http://www.schabell.org/2012/01/rise-above-cloud-hype- with-openshift.html
  • 33. ll