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

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
giselly40
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

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