Onboarding PHP
Applications to the Cloud




             Tobias Kunze Briseño, webappVM
Onboarding PHP Applications
       to the Cloud



      Tobias Kunze Briseño, webappVM
         Int'l PHP Conference 2009
About
 ►   Tobias Kunze Briseño
 ►   Co-founder, CTO at webappVM
 ►   Startup, 1.5 years old, venture-backed


           ...
Outline
 Background
    ►   Applications
    ►   PHP
    ►   The “Cloud”
 Cloud problems
 Solutions
 webappVM project
Applications: Architecture
  ►   2-3-tier web application
  ►   Built-in failover
Applications: Types
  ►   Rogue vs managed
  ►   “Web n.0” vs mission-critical transaction
      processing
Applications: Management
  ►   Enterprise *bilities
Applications: Monsters
Applications: Monster 1

  International telco
     ►   1,200 applications
     ►   $2.5m spent on management tools
     ►...
Applications: Monster 2

 Mid-sized bank
    ►   50 applications managed
    ►   12 FTEs maintain AM tools and upgrades
  ...
Applications: Monster 3

  Large department store
    ►   Pays overtime for fire fighting because
        AM tools are too...
Applications: Monster 4

 International financial services company
    ►   >100 project managers required to
        coord...
Applications: Rock Star

  Well-known social networking platform
    ►   2 FTEs manage 1200 nodes
    ►   Auto-scaling inf...
PHP: Summary




“Shortest line between two points on the web”
                                 ―Terry Chay
PHP: Today
 ►   Sweet spot: Strengths support today's
     business needs
PHP: Operations
  ►   Aligned with virtualization and the cloud?
Cloud: Definitions
  ►   SPI Model: IaaS, PaaS, Saas
  ►   On-premise (“private”), hybrid, off-premise
      (“public”)
Cloud: Core Benefits
  ►   On-demand, self-service
  ►   “Unlimited” resources, scalability
  ►   Fully managed
  ►   Pay-...
Cloud: History
  ►   Grid computing: Parallelize large problems
  ►   Utility computing: Metered service
  ►   SaaS: Pay-a...
Cloud: Drivers
 Cost reduction
     ►   CAPEX
          No upfront capital cost
          ►

        ► No wasteful provisi...
Cloud: Today
  ►   Single most important strategic initiative in
      enterprises
  ►   At top of hype cycle
Cloud: Example Initiative

  Large financial institution
     ►   Initiative to migrate all applications to
         the c...
Cloud: Enablers
 Open Source
     ►   Scalr, libcloud, libvirt, jclouds, …
  Startups
     ►   RightScale, Scalr, CloudKic...
Cloud: Applications
  Dimensions:
    ►   Running in the cloud vs consuming cloud
        services
    ►   “Green field” v...
Downer




 Can't run in the cloud like in a data center.
Obstacles: Environment
 Public cloud
    ►   Latency
    ►   Networking support
    ►   Unportable backends
    ►   Existi...
Obstacles: Simple Applications
“Old-Skool”
  ►   Hosted, maybe redundant, local backend




  ►   Works great, ssh if brok...
Obstacles: Simple Apps (cont'd)
In the cloud:
   ►   Drastically reduced machine lifespans
   ►   No ownership of the mach...
Obstacles: Complex Applications
“Old-Skool”




  ►   Solid, enterprise-grade, expensive
  ►   “Scar tissue”: port, right-...
Obstacles: Complex Apps (cont'd)
In the cloud:




   ►   Re-create physical infrastructure in the
       cloud
   ►   Exi...
Problem




  Cloud ≍ Application Management Disaster
Solution: Infrastructure Mgmt
  ►   Too far below the application
  ►   Setup & tuning takes weeks
  ►   (Some vendors mov...
Solution: Managed Platform




  ►   Supports full application life cycle
  ►   Supports full monitoring
  ►   Requires so...
Solution: Platform Requirements
  ►   Support common architectures
  ►   Support existing applications
  ►   Support diffe...
webappVM: Project
Vision:
   ►   Open Source: Cloud application platform
       with integrated management
   ►   Enterpri...
webappVM: Platform
Application capsule
  ►   Application
  ►   Dependencies
  ►   Configuration
Cartridges
  ►   Applicati...
webappVM: Onboarding
webappVM: Package Management
 ►   Advanced dependency management
 ►   Deployment control
 ►   “Sysadmin-in-the-box” delive...
webappVM: Clustering
 ►   Right-scale: Discover, join, unjoin
 ►   Load balancing
 ►   Virtual IP
 ►   Log management
 ►  ...
webappVM: Cloud Support
 Cloud providers
      ►   Amazon EC2
      ►   Rackspace Cloud
      ►   Sun Cloud
      ►   Terr...
webappVM: Enterprise Edition
  ►   “Single-pane-of-glass” dashboard
       ►   Application performance management
       ►...
webappVM: Come Play With Us!




       <vostok@webappvm.org>
webappVM: Preview
 Looking for
    ►   PHP (and Java) applications
    ►   Standard modules
    ►   No odd binary requirem...
Q&A
Upcoming SlideShare
Loading in …5
×

Onboarding PHP Applications to the Cloud

2,861 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
2,861
On SlideShare
0
From Embeds
0
Number of Embeds
31
Actions
Shares
0
Downloads
59
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Onboarding PHP Applications to the Cloud

  1. 1. Onboarding PHP Applications to the Cloud Tobias Kunze Briseño, webappVM
  2. 2. Onboarding PHP Applications to the Cloud Tobias Kunze Briseño, webappVM Int'l PHP Conference 2009
  3. 3. About ► Tobias Kunze Briseño ► Co-founder, CTO at webappVM ► Startup, 1.5 years old, venture-backed Vision Cloud application platform with integrated management
  4. 4. Outline Background ► Applications ► PHP ► The “Cloud” Cloud problems Solutions webappVM project
  5. 5. Applications: Architecture ► 2-3-tier web application ► Built-in failover
  6. 6. Applications: Types ► Rogue vs managed ► “Web n.0” vs mission-critical transaction processing
  7. 7. Applications: Management ► Enterprise *bilities
  8. 8. Applications: Monsters
  9. 9. Applications: Monster 1 International telco ► 1,200 applications ► $2.5m spent on management tools ► 3 years behind with upgrades ► 6 FTEs for agent upgrades ► Average time to deploy (TTD): 10-12 weeks
  10. 10. Applications: Monster 2 Mid-sized bank ► 50 applications managed ► 12 FTEs maintain AM tools and upgrades ► $1m/y software maintenance ► 600 applications unmanaged ► Average TTD: 6-8 weeks
  11. 11. Applications: Monster 3 Large department store ► Pays overtime for fire fighting because AM tools are too expensive ► Average TTD: 10-12 weeks
  12. 12. Applications: Monster 4 International financial services company ► >100 project managers required to coordinate every deployment ► Average TTD: 8-10 weeks
  13. 13. Applications: Rock Star Well-known social networking platform ► 2 FTEs manage 1200 nodes ► Auto-scaling infrastructure ► Integrated tooling ► 6-8 updates/w (TTD: <1 d)
  14. 14. PHP: Summary “Shortest line between two points on the web” ―Terry Chay
  15. 15. PHP: Today ► Sweet spot: Strengths support today's business needs
  16. 16. PHP: Operations ► Aligned with virtualization and the cloud?
  17. 17. Cloud: Definitions ► SPI Model: IaaS, PaaS, Saas ► On-premise (“private”), hybrid, off-premise (“public”)
  18. 18. Cloud: Core Benefits ► On-demand, self-service ► “Unlimited” resources, scalability ► Fully managed ► Pay-as-you-go, metered
  19. 19. Cloud: History ► Grid computing: Parallelize large problems ► Utility computing: Metered service ► SaaS: Pay-as-you-go application delivery ► Cloud computing: IaaS, PaaS
  20. 20. Cloud: Drivers Cost reduction ► CAPEX No upfront capital cost ► ► No wasteful provisioning for peaks ► OPEX Minimize admin/node ratio ► Panacea for CIO pressures
  21. 21. Cloud: Today ► Single most important strategic initiative in enterprises ► At top of hype cycle
  22. 22. Cloud: Example Initiative Large financial institution ► Initiative to migrate all applications to the cloud ► Develops internal “cloud” with some external “cloud-bursting” ► $5m earmarked to make existing AM tools “work” in the cloud ► 28 new FTEs hired
  23. 23. Cloud: Enablers Open Source ► Scalr, libcloud, libvirt, jclouds, … Startups ► RightScale, Scalr, CloudKick, enStratus, …
  24. 24. Cloud: Applications Dimensions: ► Running in the cloud vs consuming cloud services ► “Green field” vs existing applications
  25. 25. Downer Can't run in the cloud like in a data center.
  26. 26. Obstacles: Environment Public cloud ► Latency ► Networking support ► Unportable backends ► Existing infrastructure Any cloud ► Licensing ► Physical dependencies
  27. 27. Obstacles: Simple Applications “Old-Skool” ► Hosted, maybe redundant, local backend ► Works great, ssh if broken, monitor when feel like it
  28. 28. Obstacles: Simple Apps (cont'd) In the cloud: ► Drastically reduced machine lifespans ► No ownership of the machine ► Simple things turn into problems ► Where are my logs? ► Where are my machines? ► What are my capacity needs? ► Am I being starved?
  29. 29. Obstacles: Complex Applications “Old-Skool” ► Solid, enterprise-grade, expensive ► “Scar tissue”: port, right-size, upgrade
  30. 30. Obstacles: Complex Apps (cont'd) In the cloud: ► Re-create physical infrastructure in the cloud ► Existing AM tools don't work in the cloud ► Manual, labor-intensive
  31. 31. Problem Cloud ≍ Application Management Disaster
  32. 32. Solution: Infrastructure Mgmt ► Too far below the application ► Setup & tuning takes weeks ► (Some vendors move into application space)
  33. 33. Solution: Managed Platform ► Supports full application life cycle ► Supports full monitoring ► Requires software management
  34. 34. Solution: Platform Requirements ► Support common architectures ► Support existing applications ► Support different stacks ► Support lean development ► Provide portability ► Provide automation
  35. 35. webappVM: Project Vision: ► Open Source: Cloud application platform with integrated management ► Enterprise: Monitoring, … Feature areas: Run, manage, scale
  36. 36. webappVM: Platform Application capsule ► Application ► Dependencies ► Configuration Cartridges ► Application support
  37. 37. webappVM: Onboarding
  38. 38. webappVM: Package Management ► Advanced dependency management ► Deployment control ► “Sysadmin-in-the-box” delivers events
  39. 39. webappVM: Clustering ► Right-scale: Discover, join, unjoin ► Load balancing ► Virtual IP ► Log management ► Redundancy
  40. 40. webappVM: Cloud Support Cloud providers ► Amazon EC2 ► Rackspace Cloud ► Sun Cloud ► Terremark Enterprise Cloud Hypervisors ► VirtualBox ► VMware ESX(i)/Server/Workstation/Player ► Xen ► webappVM delivered as a VM
  41. 41. webappVM: Enterprise Edition ► “Single-pane-of-glass” dashboard ► Application performance management ► End-to-end transaction monitoring ► Method-level monitoring ► Alerting ► Provisioning ► Full correlation
  42. 42. webappVM: Come Play With Us! <vostok@webappvm.org>
  43. 43. webappVM: Preview Looking for ► PHP (and Java) applications ► Standard modules ► No odd binary requirements ► No background tasks <preview@webappvm.com>
  44. 44. Q&A

×