SlideShare a Scribd company logo
1 of 25
Download to read offline
An OpenShift Primer
     Get your code into the Cloud!




           Eric D. Schabell
           JBoss Senior Solution Architect
                        Eric D. Schabell | erics@redhat.com | @ericschabell
Eric D. Schabell | erics@redhat.com | @ericschabell
Immersion...
Shift happens?




                 Eric D. Schabell | erics@redhat.com | @ericschabell
Never look back...
    Eric D. Schabell | erics@redhat.com | @ericschabell
Eric D. Schabell | erics@redhat.com | @ericschabell
PaaS?

   Eric D. Schabell | erics@redhat.com | @ericschabell
Why am i DORKING
 with the stack?!




   Eric D. Schabell | erics@redhat.com | @ericschabell
Eric D. Schabell | erics@redhat.com | @ericschabell
OpenShift Express
          1.Sign Up
          2.Install Client Tools
          3.Create Domain
          4.Create Application
          5.Deploy Application (GIT)

                    Eric D. Schabell | erics@redhat.com | @ericschabell
Sign Up
          http://openshift.com/try-it




                Eric D. Schabell | erics@redhat.com | @ericschabell
Install Client Tools

• Fedora / RHEL                    • The rest (osX,
   – openshift.repo                  Ubuntu, Cygwin):
• Move to yum.repos.d                – gem install rhc
  $ sudo mv openshift.repo           – see forums, blogs
  /etc/yum.repos.d

• Install client tools
  $ sudo yum install rubygem-rhc




                                      Eric D. Schabell | erics@redhat.com | @ericschabell
Create Domain
• Use rhc-create-domain command
   $ rhc-create-domain -n mydomain -l openshiftlogin
• use Express console!




                                 Eric D. Schabell | erics@redhat.com | @ericschabell
Create Application
• Name application and define type
    $ rhc-create-app -a appname -t apptype -l openshiftlogin
                  (Java, Ruby, Python, Perl and most important, PHP!)


• Add application to local repo
    $ git add .


• Commit changes
    $ git commit -m “Initial app import.”
                                        Eric D. Schabell | erics@redhat.com | @ericschabell
Deploy to Cloud
• Push the code to
  Express
    $ git push


• Congratulations,
  your app is in the
  cloud!


                       Eric D. Schabell | erics@redhat.com | @ericschabell
Eric D. Schabell | erics@redhat.com | @ericschabell
Demo BPM Web Designer
$ rhc-create-app -a editor -t jbossas-7.0
$ 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-$your_domain.rhcloud.com
                              Eric D. Schabell | erics@redhat.com | @ericschabell
Auto
                                                    Scaling
Enterprise     Speed      Deployment


Flexibility?        Provisioning               Monitoring

                           Automation Log Mgmt
                                    Roll-backs,
                                    Upgrades
                                          Databases




                   Eric D. Schabell | erics@redhat.com | @ericschabell
OpenShift Flex
1.Setup Cloud Account
2.Provision Cloud Servers
3.Build Stack
4.Upload Application Code
5.Configure Components
6.Deploy
7.Performance Monitoring
8.Log Management
9.Auto-Scaling
                            Eric D. Schabell | erics@redhat.com | @ericschabell
Login




        Creds




                Eric D. Schabell | erics@redhat.com | @ericschabell
Deploy
                             Application
Name                   App

Version




          Components




                             Eric D. Schabell | erics@redhat.com | @ericschabell
Deploy code



                                   Congrat's,
                                   you're in
                                   the Cloud!




              Eric D. Schabell | erics@redhat.com | @ericschabell
Performance & Logs
                                  Point-in-time



 Trans levels




Search



Applications




Components

                              Eric D. Schabell | erics@redhat.com | @ericschabell
Define Scaling Strategy


How?



What?




Why?




               Eric D. Schabell | erics@redhat.com | @ericschabell
Sign up, it's free!
• http://www.openshift.com – click “Try it!”


• Example projects you can deploy now!
  – https://www.github.com/openshift


• Help?
  – IRC: freenode #openshift
  – Forums: http://www.redhat.com/openshift/forums
  – Email: openshift at redhat dot com

                                  Eric D. Schabell | erics@redhat.com | @ericschabell
Loving your hammer?




                      Eric D. Schabell | erics@redhat.com | @ericschabell

More Related Content

More from Eric D. Schabell

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 ObservabilityEric 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 OpenTelemetryEric D. Schabell
 
Roadmap to Becoming a CNCF Ambassador
Roadmap to Becoming a CNCF AmbassadorRoadmap to Becoming a CNCF Ambassador
Roadmap to Becoming a CNCF AmbassadorEric 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 ActionEric D. Schabell
 
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 OutcomesEric D. Schabell
 
Optimizing Observability Spend: Metrics
Optimizing Observability Spend: MetricsOptimizing Observability Spend: Metrics
Optimizing Observability Spend: MetricsEric D. Schabell
 
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 ActionEric D. Schabell
 
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 ProductionEric D. Schabell
 
Optimizing Observability Spend: Metrics
Optimizing Observability Spend: MetricsOptimizing Observability Spend: Metrics
Optimizing Observability Spend: MetricsEric 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 OpenTelemetryEric 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 OpenTelemetryEric D. Schabell
 
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 DataEric D. Schabell
 
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 DataEric D. Schabell
 
DZone webinar - Shift left Observability
DZone webinar - Shift left ObservabilityDZone webinar - Shift left Observability
DZone webinar - Shift left ObservabilityEric D. Schabell
 
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 storyEric D. Schabell
 
Trajectory 2022 - Shifting Cloud Native Observability to the Left
Trajectory 2022 - Shifting Cloud Native Observability to the LeftTrajectory 2022 - Shifting Cloud Native Observability to the Left
Trajectory 2022 - Shifting Cloud Native Observability to the LeftEric D. Schabell
 
PromCon EU 2022 - Centralized vs Decentralized Prometheus Scraping Architectu...
PromCon EU 2022 - Centralized vs Decentralized Prometheus Scraping Architectu...PromCon EU 2022 - Centralized vs Decentralized Prometheus Scraping Architectu...
PromCon EU 2022 - Centralized vs Decentralized Prometheus Scraping Architectu...Eric D. Schabell
 
How to Wrestle Your Observability Data Demons and Win!
How to Wrestle Your Observability Data Demons and Win!How to Wrestle Your Observability Data Demons and Win!
How to Wrestle Your Observability Data Demons and Win!Eric D. Schabell
 
DevConf.US 2022 - Exploring Open Source Edge Success at Scale
DevConf.US 2022 - Exploring Open Source Edge Success at ScaleDevConf.US 2022 - Exploring Open Source Edge Success at Scale
DevConf.US 2022 - Exploring Open Source Edge Success at ScaleEric D. Schabell
 

More from Eric D. Schabell (20)

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
 
Trajectory 2022 - Shifting Cloud Native Observability to the Left
Trajectory 2022 - Shifting Cloud Native Observability to the LeftTrajectory 2022 - Shifting Cloud Native Observability to the Left
Trajectory 2022 - Shifting Cloud Native Observability to the Left
 
PromCon EU 2022 - Centralized vs Decentralized Prometheus Scraping Architectu...
PromCon EU 2022 - Centralized vs Decentralized Prometheus Scraping Architectu...PromCon EU 2022 - Centralized vs Decentralized Prometheus Scraping Architectu...
PromCon EU 2022 - Centralized vs Decentralized Prometheus Scraping Architectu...
 
How to Wrestle Your Observability Data Demons and Win!
How to Wrestle Your Observability Data Demons and Win!How to Wrestle Your Observability Data Demons and Win!
How to Wrestle Your Observability Data Demons and Win!
 
DevConf.US 2022 - Exploring Open Source Edge Success at Scale
DevConf.US 2022 - Exploring Open Source Edge Success at ScaleDevConf.US 2022 - Exploring Open Source Edge Success at Scale
DevConf.US 2022 - Exploring Open Source Edge Success at Scale
 

Recently uploaded

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
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
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
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
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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 WorkerThousandEyes
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
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 textsMaria Levchenko
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 

Recently uploaded (20)

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
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
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
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
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
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
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 

OSC11 - An OpenShift Primer for Developers to get your Code into the Cloud

  • 1. An OpenShift Primer Get your code into the Cloud! Eric D. Schabell JBoss Senior Solution Architect Eric D. Schabell | erics@redhat.com | @ericschabell
  • 2. Eric D. Schabell | erics@redhat.com | @ericschabell
  • 3. Immersion... Shift happens? Eric D. Schabell | erics@redhat.com | @ericschabell
  • 4. Never look back... Eric D. Schabell | erics@redhat.com | @ericschabell
  • 5. Eric D. Schabell | erics@redhat.com | @ericschabell
  • 6. PaaS? Eric D. Schabell | erics@redhat.com | @ericschabell
  • 7. Why am i DORKING with the stack?! Eric D. Schabell | erics@redhat.com | @ericschabell
  • 8. Eric D. Schabell | erics@redhat.com | @ericschabell
  • 9. OpenShift Express 1.Sign Up 2.Install Client Tools 3.Create Domain 4.Create Application 5.Deploy Application (GIT) Eric D. Schabell | erics@redhat.com | @ericschabell
  • 10. Sign Up http://openshift.com/try-it Eric D. Schabell | erics@redhat.com | @ericschabell
  • 11. Install Client Tools • Fedora / RHEL • The rest (osX, – openshift.repo Ubuntu, Cygwin): • Move to yum.repos.d – gem install rhc $ sudo mv openshift.repo – see forums, blogs /etc/yum.repos.d • Install client tools $ sudo yum install rubygem-rhc Eric D. Schabell | erics@redhat.com | @ericschabell
  • 12. Create Domain • Use rhc-create-domain command $ rhc-create-domain -n mydomain -l openshiftlogin • use Express console! Eric D. Schabell | erics@redhat.com | @ericschabell
  • 13. Create Application • Name application and define type $ rhc-create-app -a appname -t apptype -l openshiftlogin (Java, Ruby, Python, Perl and most important, PHP!) • Add application to local repo $ git add . • Commit changes $ git commit -m “Initial app import.” Eric D. Schabell | erics@redhat.com | @ericschabell
  • 14. Deploy to Cloud • Push the code to Express $ git push • Congratulations, your app is in the cloud! Eric D. Schabell | erics@redhat.com | @ericschabell
  • 15. Eric D. Schabell | erics@redhat.com | @ericschabell
  • 16. Demo BPM Web Designer $ rhc-create-app -a editor -t jbossas-7.0 $ 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-$your_domain.rhcloud.com Eric D. Schabell | erics@redhat.com | @ericschabell
  • 17. Auto Scaling Enterprise Speed Deployment Flexibility? Provisioning Monitoring Automation Log Mgmt Roll-backs, Upgrades Databases Eric D. Schabell | erics@redhat.com | @ericschabell
  • 18. OpenShift Flex 1.Setup Cloud Account 2.Provision Cloud Servers 3.Build Stack 4.Upload Application Code 5.Configure Components 6.Deploy 7.Performance Monitoring 8.Log Management 9.Auto-Scaling Eric D. Schabell | erics@redhat.com | @ericschabell
  • 19. Login Creds Eric D. Schabell | erics@redhat.com | @ericschabell
  • 20. Deploy Application Name App Version Components Eric D. Schabell | erics@redhat.com | @ericschabell
  • 21. Deploy code Congrat's, you're in the Cloud! Eric D. Schabell | erics@redhat.com | @ericschabell
  • 22. Performance & Logs Point-in-time Trans levels Search Applications Components Eric D. Schabell | erics@redhat.com | @ericschabell
  • 23. Define Scaling Strategy How? What? Why? Eric D. Schabell | erics@redhat.com | @ericschabell
  • 24. Sign up, it's free! • http://www.openshift.com – click “Try it!” • Example projects you can deploy now! – https://www.github.com/openshift • Help? – IRC: freenode #openshift – Forums: http://www.redhat.com/openshift/forums – Email: openshift at redhat dot com Eric D. Schabell | erics@redhat.com | @ericschabell
  • 25. Loving your hammer? Eric D. Schabell | erics@redhat.com | @ericschabell