Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Practical PaaS presentation

3,381 views

Published on

Introduction to PaaS and demos on Cloud Foundry from a DevOps point of view.
Presented at the Singapore DevOps meetup of Sept 2012:
http://www.meetup.com/devops-singapore/events/80016202/

Published in: Technology, Business
  • Be the first to comment

Practical PaaS presentation

  1. 1. Deploying Software ona Platform as a Service Cloud Foundry and Intalio|Create Hugues Malphettes
  2. 2. About Hugues• DevOps Lead at Intalio / Cloud PaaS Guru• Jetty Committer: OSGi and friends• Archived: Eclipse BPMN modeler• 2000 - 2010: Silicon Valley• 2011 - now: Singapore
  3. 3. Bob the IT guy
  4. 4. Louise the Developer
  5. 5. Intalio What? http://intalio.com Enterprise Software Vendor Deploys on the Cloud How?<spoiler>With a Platform as a Service</spoiler>
  6. 6. On AWS/ EC2http://www.intalio.com/try-it-out
  7. 7. TOC• History: On our way to the Cloud• NoOps wonderland• PaaS in action: outside / inside• Distributed Architectures on a PaaS
  8. 8. • History: On our way to the Cloud• NoOps wonderland• PaaS in action: outside / inside• Distributed Architectures on a PaaS
  9. 9. On our way to the Cloud: HistoryCoding Building
  10. 10. And then profit deploy?
  11. 11. Deployment is not my problemCustomer’s OperationsDepartment; photo-shoot It is MY production system
  12. 12. Bare Metal Deployment DIYYAGNI: You Ain’t Gonna Need It (cloud)so DYI: Do It Yourself
  13. 13. Bare Metal Deployment gone wrong YAGNI / DIY meets scaling
  14. 14. The boss POV“Fine :-)”“What areyou doing?”
  15. 15. Infrastructure as a ServiceIntalio HQ circa 2008[Boss]: Let’s move on the cloud.No need to worry about:• Deployment• Support for multiple OSes• Support for many SQL database• Backups• Scaling Virtualizyfy!
  16. 16. Cloud Or snake oil?Marketing `delivers` Embarrassed engineer:the cloud right away it is still software
  17. 17. IaaS: AWS/EC2 Debian Ubuntu VM on Package AWS/EC2Repository
  18. 18. The boss POV “Toocomplicated”
  19. 19. IaaS Reality CheckDid the promises pay?• Deployment• No need to support multiple OSes• No need to support many SQL databases• Backups• Scaling
  20. 20. IaaS Reality Check“I still have a job and it is full time.But the focus is not right” [The Boss]
  21. 21. • History: On our way to the Cloud• NoOps Wonderland• PaaS in action: outside / inside• Distributed Architecture on a PaaS
  22. 22. NoOps: No Operations Code - Build - Test Deployhttp://localhost:8080 http://production.acme.com
  23. 23. NoOps wonderland• Sys Admin: ad-hoc administration of servers• DevOps: automation of deployment on a virtualized infrastructure• NoOps: Takes as granted: • Database provisioning • Application deployment and management Application Deployment and ma
  24. 24. $$$NoOps
  25. 25. Choosing a PaaSMake a requirement matrix: • The type of clouds: public, private, hybrid • The required runtimes and databases • The licensing
  26. 26. Open Source PaaS: Cloud Foundry http://github.com/cloudfoundry
  27. 27. Slide borrowed from Chris Richardson’s @ vmware Intalio is here at the moment: small impact on our appslots of work on customizing the PaaS
  28. 28. • History: On our way to the Cloud• NoOps Wonderland• PaaS in action: outside / inside• Distributed Architecture on a PaaS
  29. 29. NoOps’s Hello World• Hello World in Ruby / Sinatra• Read the VCAP_PORT• vmc <target>• vmc <login>• vmc <push>• vmc instances <num>http://www.youtube.com/watch?feature=player_embedded&v=8ImZCFHyeGA
  30. 30. Inside The PaaShttp://hello.cf.com Nginx - Load Balancer - Reverse Proxy Nginx - Lua: Routerhttp://dea_ip:1234 {HEADER: hello.cf.com} Droplet Execution Agent node /var/vcap/deployed-apps/your-app-1234/apps.js node /var/vcap/deployed-apps/your-app-1234/apps.js
  31. 31. • History: On our way to the Cloud• NoOps Wonderland• PaaS in action: outside / inside• Distributed Architecture on a PaaS
  32. 32. Software is distributed nowBest in class cloud architectures: many distributed services run by many apps multiple databases
  33. 33. Monolith turned swiss army knifeGame: find the original appChallenges:• maintenance is hard• at $2200USD a piece it is costly to scale this
  34. 34. Big ApplicationOverloaded Database
  35. 35. Deploying a set of apps and DBs with a PaaS Intalio|Create current architecture
  36. 36. Questions?hmalphettes@gmail.com
  37. 37. Thanks:Stanley @ odd-e.com for brainstormingThe VMWare Cloud Foundry evangelists:Chris Richardson, Josh Long and Rajdeep Dua.Some ideas and slides compliments from Chris Richardsonhttp://www.slideshare.net/chris.e.richardson/from-concept-to-cloud-cf-opentour-indiahttp://www.slideshare.net/chris.e.richardson/decomposing-applications-for-deployability-and-scalability-cfopentour-india

×