SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
Cloud development
  Play, Scala and OpenShift
Overview
●      It's about OpenShift
●      It's not about Play
●      It's not about Scala
●      There's a hidden agenda


Based on:
https://github.com/opensas/play2-openshift-quickstart#readme
Demo 1
● https://openshift.redhat.com
● http://cloudit-xita.rhcloud.com/
● http://brms-xita.rhcloud.com/
Available cartridges
Let's create CloudIT
● Download Play framework
● Download RedHat Command Line Tools
● Get Play2 OpenShift quickstart
  https://github.com/opensas/play2-openshift-quickstart

● Create new Play app "CloudIT"
  play new CloudIT

● Initialize git
  git init

● Create app on OpenShift (diy)
  rhc app create -a cloudit -t diy-0.1 --nogit

● Link git repo's
  git remote add origin ssh://uuid@cloudit-xita.rhcloud.com/~/git/cloudit.git/
  git pull -s recursive -X theirs origin master
  git add .
  git commit -m "initial deploy"
  git remote add cloudit -m master git://github.com/jdewinne/play2-openshift-quickstart.git
  git pull -s recursive -X theirs cloudit master
Let's create CloudIT
● Play stage
  play clean compile stage

● Add to git
  git add .
  git commit -m "some first app"
  git push origin

● Test
  http://cloudit-xita.rhcloud.com/
How does it work?
● .openshift/....
● git repo
● Based on standards
Let's create CloudIT
● Make some changes
● Add Jenkins
  ○ Online: enable jenkins
  ○ Add "play clean compile stage" to build
    Use $OPENSHIFT_DATA_DIR
  ○ Add Play framework to jenkins
    Create PLAY environment variable
  ○ Doesn't work. Why?
Pricing & Production use
● Pricing




  https://openshift.redhat.com/community/blogs/announcing-openshift-pricing-beyond-free-php-and-java-hosting-in-the-cloud

  mailto: openshift@redhat.com
  3 applications for free
● Production use
  Not yet!
OpenShift vs. Heroku

●   Create your own PaaS?
●   Based on open standards?
●   Free for developers?
●   Production ready?
Other stuff
● Architecture
  https://openshift.redhat.com/community/wiki/architecture-overview

● Build your own Paas:
  https://openshift.redhat.com/community/wiki/build-your-own-paas-from-the-openshift-origin-livecd-using-liveinst

● Build your own cartridge
  https://openshift.redhat.com/community/wiki/introduction-to-cartridge-building
Hidden agenda



 Applications
Next steps
Possibilities:
● Fix Jenkins build
● Create OpenShift Play cartridge
● Add persistence cartridge to demo app
● Put DeployIT on OpenShift
● Arquillian
● Other ideas?

Contenu connexe

Dernier

Dernier (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...
 
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 ...
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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, ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
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
 
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...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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...
 
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
 

En vedette

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Cloud development using play, scala and openshift

  • 1. Cloud development Play, Scala and OpenShift
  • 2. Overview ● It's about OpenShift ● It's not about Play ● It's not about Scala ● There's a hidden agenda Based on: https://github.com/opensas/play2-openshift-quickstart#readme
  • 3. Demo 1 ● https://openshift.redhat.com ● http://cloudit-xita.rhcloud.com/ ● http://brms-xita.rhcloud.com/
  • 5. Let's create CloudIT ● Download Play framework ● Download RedHat Command Line Tools ● Get Play2 OpenShift quickstart https://github.com/opensas/play2-openshift-quickstart ● Create new Play app "CloudIT" play new CloudIT ● Initialize git git init ● Create app on OpenShift (diy) rhc app create -a cloudit -t diy-0.1 --nogit ● Link git repo's git remote add origin ssh://uuid@cloudit-xita.rhcloud.com/~/git/cloudit.git/ git pull -s recursive -X theirs origin master git add . git commit -m "initial deploy" git remote add cloudit -m master git://github.com/jdewinne/play2-openshift-quickstart.git git pull -s recursive -X theirs cloudit master
  • 6. Let's create CloudIT ● Play stage play clean compile stage ● Add to git git add . git commit -m "some first app" git push origin ● Test http://cloudit-xita.rhcloud.com/
  • 7. How does it work? ● .openshift/.... ● git repo ● Based on standards
  • 8. Let's create CloudIT ● Make some changes ● Add Jenkins ○ Online: enable jenkins ○ Add "play clean compile stage" to build Use $OPENSHIFT_DATA_DIR ○ Add Play framework to jenkins Create PLAY environment variable ○ Doesn't work. Why?
  • 9. Pricing & Production use ● Pricing https://openshift.redhat.com/community/blogs/announcing-openshift-pricing-beyond-free-php-and-java-hosting-in-the-cloud mailto: openshift@redhat.com 3 applications for free ● Production use Not yet!
  • 10. OpenShift vs. Heroku ● Create your own PaaS? ● Based on open standards? ● Free for developers? ● Production ready?
  • 11. Other stuff ● Architecture https://openshift.redhat.com/community/wiki/architecture-overview ● Build your own Paas: https://openshift.redhat.com/community/wiki/build-your-own-paas-from-the-openshift-origin-livecd-using-liveinst ● Build your own cartridge https://openshift.redhat.com/community/wiki/introduction-to-cartridge-building
  • 13. Next steps Possibilities: ● Fix Jenkins build ● Create OpenShift Play cartridge ● Add persistence cartridge to demo app ● Put DeployIT on OpenShift ● Arquillian ● Other ideas?