Power up Magnolia CMS with OpenShift

1,771 views

Published on

Power up Magnolia CMS with OpenShift

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,771
On SlideShare
0
From Embeds
0
Number of Embeds
215
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Power up Magnolia CMS with OpenShift

  1. 1. OPENSHIFT Workshop PRESENTED BY Shekhar Gulati Power up Magnolia CMS with OpenShift
  2. 2. IN CASE YOU CARE • Shekhar Gulati – Works at Red Hat • Principal OpenShift Developer Evangelist • Java / Python/ JavaScript / NoSQL / Cloud Guy • Twitter Handle : shekhargulati • Github https://github.com/shekhargulati • Slides http://www.slideshare.net/shekhargulati
  3. 3. AGENDA ➔ Learn a bit about Cloud and PaaS basics ➔ Why PaaS Matters ➔ Deploying Magnolia CMS on OpenShift ➔ Minimal Magnolia CMS Configuration ➔ Reduced Magnolia CMS Configuration
  4. 4. ● You know about Magnolia CMS ● You know Git ● You like to write code rather than managing servers. ASSUMPTIONS
  5. 5. *http://www.gartner.com/technology/research/cloud-computing/report/paas-cloud.jsp PaaS is the Future
  6. 6. Infrastructure as a Service gives you • Network, storage & compute as an on-demand service • Basically, servers in the cloud • You’re still on the hook to configure & manage the cloud & stack “How do I use this?”
  7. 7. Software as a Service gives you • An on-demand application • Nothing to install or configure “This is all my customers and users care about!”
  8. 8. Platform as a Service delivers • Application run-time environment in the cloud • Configures & manages both the cloud & stack for your application “The cloud is now useful!”
  9. 9. origin Public Cloud Service On- premise or Private Cloud Software Open Source Project FLAVORS OF OPENSHIFT
  10. 10. 11 TERMINOLOGY Gear – is like a server. It can have only 1 language for the web programming. Cartridge – it adds a language, a data store, or other functionality Application – your web code and any data store. Has to be on 1 or more gears
  11. 11. 12 OUR STACK
  12. 12. WHAT MAKES OPENSHIFT DIFFERENT ?
  13. 13. WHERE DOES MAGNOLIA FITS IN?
  14. 14. WHERE DOES MAGNOLIA FITS IN?
  15. 15. ● On-demand self-service Magnolia CMS certified stack. ● Standardize Magnolia CMS application development and deployment. ● Auto scaling of Magnolia CMS. ● Automate application environment deployment. ● Reduce time to market. OpenShift Magnolia Integration Benefits
  16. 16. DEMO TIME
  17. 17. ● Sign up for OpenShift Online ● Install OpenShift rhc ruby gem ● rhc create-app magnoliacms tomcat-7 ● git rm -rf src/ pom.xml ● git commit -am “template files” ● git remote add upstream https://github.com/shekhargulati/mg-5.0.4-tomcat7-openshift.git ● git pull -s recursive -X theirs upstream master ● git push Magnolia CMS 5.0.4 on OpenShift http://magnoliacms-t20.rhcloud.com/
  18. 18. ● You can also use – JBoss AS 7 – JBoss EAP 6 – MySQL – PostgreSQL
  19. 19. OpenShift Magnolia CMS Minimal Configuration Setup ● Sign up for OpenShift Online ● Install OpenShift rhc ruby gem ● rhc create-app mgminimal tomcat-7 ● git rm -rf src/ pom.xml ● git commit -am “deleted template” ● git remote add upstream https://shekhargulati@bitbucket.org/shekhargulati/mg- minimal-os-quickstart.git ● git pull -s recursive -X theirs upstream master ● git push http://mgminimal-t20.rhcloud.com/
  20. 20. OpenShift Magnolia CMS Reduced Configuration Setup Magnolia Author Instance ● rhc create-app mgauthor tomcat-7 ● git rm -rf src/ pom.xml ● git commit -am “deleted template” ● git remote add upstream https://github.com/shekhargulati/mg-author-quickstart.git ● git pull -s recursive -X theirs upstream master ● git push Magnolia Author Instance ● rhc create-app mgpublic tomcat-7 ● git rm -rf src/ pom.xml ● git commit -am “deleted template” ● git remote add upstream https://github.com/shekhargulati/mg-public-quickstart.git ● git pull -s recursive -X theirs upstream master ● git push
  21. 21. http://mgauthor-t20.rhcloud.com/magnoliaAuthor/ http://mgpublic-t20.rhcloud.com/magnoliaPublic/
  22. 22. ● You can have single author instance and multiple public subscribers ● You can scale public and author instance ● You can use Jenkins for deployment ● You can write cartridge for Magnolia CMS What Else Is Feasible?
  23. 23. QUESTIONS?
  24. 24. DONE!

×