SlideShare a Scribd company logo
1 of 44
Download to read offline
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


                     Vision
 Cloud application platform with integrated
                management
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
     ►   3 years behind with upgrades
     ►   6 FTEs for agent upgrades
     ►   Average time to deploy (TTD): 10-12
         weeks
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
Applications: Monster 3

  Large department store
    ►   Pays overtime for fire fighting because
        AM tools are too expensive
    ►   Average TTD: 10-12 weeks
Applications: Monster 4

 International financial services company
    ►   >100 project managers required to
        coordinate every deployment
    ►   Average TTD: 8-10 weeks
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)
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-as-you-go, metered
Cloud: History
  ►   Grid computing: Parallelize large problems
  ►   Utility computing: Metered service
  ►   SaaS: Pay-as-you-go application delivery
  ►   Cloud computing: IaaS, PaaS
Cloud: Drivers
 Cost reduction
     ►   CAPEX
          No upfront capital cost
          ►

        ► No wasteful provisioning for peaks

     ► OPEX


         Minimize admin/node ratio
          ►


  Panacea for CIO pressures
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 cloud
     ►   Develops internal “cloud” with some
         external “cloud-bursting”
     ►   $5m earmarked to make existing AM
         tools “work” in the cloud
     ►   28 new FTEs hired
Cloud: Enablers
 Open Source
     ►   Scalr, libcloud, libvirt, jclouds, …
  Startups
     ►   RightScale, Scalr, CloudKick, enStratus, …
Cloud: Applications
  Dimensions:
    ►   Running in the cloud vs consuming cloud
        services
    ►   “Green field” vs existing applications
Downer




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




  ►   Works great, ssh if broken, monitor when
      feel like it
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?
Obstacles: Complex Applications
“Old-Skool”




  ►   Solid, enterprise-grade, expensive
  ►   “Scar tissue”: port, right-size, upgrade
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
Problem




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




  ►   Supports full application life cycle
  ►   Supports full monitoring
  ►   Requires software management
Solution: Platform Requirements
  ►   Support common architectures
  ►   Support existing applications
  ►   Support different stacks
  ►   Support lean development
  ►   Provide portability
  ►   Provide automation
webappVM: Project
Vision:
   ►   Open Source: Cloud application platform
       with integrated management
   ►   Enterprise: Monitoring, …
Feature areas: Run, manage, scale
webappVM: Platform
Application capsule
  ►   Application
  ►   Dependencies
  ►   Configuration
Cartridges
  ►   Application
      support
webappVM: Onboarding
webappVM: Package Management
 ►   Advanced dependency management
 ►   Deployment control
 ►   “Sysadmin-in-the-box” delivers events
webappVM: Clustering
 ►   Right-scale: Discover, join, unjoin
 ►   Load balancing
 ►   Virtual IP
 ►   Log management
 ►   Redundancy
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
webappVM: Enterprise Edition
  ►   “Single-pane-of-glass” dashboard
       ►   Application performance management
       ►   End-to-end transaction monitoring
       ►   Method-level monitoring
  ►   Alerting
  ►   Provisioning
  ►   Full correlation
webappVM: Come Play With Us!




       <vostok@webappvm.org>
webappVM: Preview
 Looking for
    ►   PHP (and Java) applications
    ►   Standard modules
    ►   No odd binary requirements
    ►   No background tasks



          <preview@webappvm.com>
Q&A

More Related Content

Similar to Onboarding PHP Applications to the Cloud

Java in the Cloud : PaaS Platforms in Comparison
Java in the Cloud : PaaS Platforms in Comparison Java in the Cloud : PaaS Platforms in Comparison
Java in the Cloud : PaaS Platforms in Comparison Eberhard Wolff
 
Java in the Cloud : PaaS Platforms in Comparison
Java in the Cloud : PaaS Platforms in ComparisonJava in the Cloud : PaaS Platforms in Comparison
Java in the Cloud : PaaS Platforms in Comparisonadesso AG
 
Towards the Cloud: Architecture Patterns and VDI Story
Towards the Cloud: Architecture Patterns and VDI StoryTowards the Cloud: Architecture Patterns and VDI Story
Towards the Cloud: Architecture Patterns and VDI StoryIT Expert Club
 
Cloud & Big Data: Lessons Learnt
Cloud & Big Data: Lessons LearntCloud & Big Data: Lessons Learnt
Cloud & Big Data: Lessons Learntphilipbalinov
 
GigaSpaces CCF 4 Xap
GigaSpaces CCF 4 XapGigaSpaces CCF 4 Xap
GigaSpaces CCF 4 XapShay Hassidim
 
Best Practices for Building Hybrid-Cloud Architectures | Hans Jespersen
Best Practices for Building Hybrid-Cloud Architectures | Hans JespersenBest Practices for Building Hybrid-Cloud Architectures | Hans Jespersen
Best Practices for Building Hybrid-Cloud Architectures | Hans Jespersenconfluent
 
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...Ludovic Piot
 
An Easy Way to Adopt Hybrid Cloud, Datacomm Solution
An Easy Way to Adopt Hybrid Cloud, Datacomm SolutionAn Easy Way to Adopt Hybrid Cloud, Datacomm Solution
An Easy Way to Adopt Hybrid Cloud, Datacomm SolutionPT Datacomm Diangraha
 
Are VM Passé?
Are VM Passé? Are VM Passé?
Are VM Passé? dotCloud
 
Giga Spaces Getting Ready For The Cloud
Giga Spaces   Getting Ready For The CloudGiga Spaces   Getting Ready For The Cloud
Giga Spaces Getting Ready For The Cloudchzesin
 
GigaSpaces - Getting Ready For The Cloud
GigaSpaces - Getting Ready For The CloudGigaSpaces - Getting Ready For The Cloud
GigaSpaces - Getting Ready For The Cloudgigaspaces
 
Achieving a Serverless Development Experience
Achieving a Serverless Development ExperienceAchieving a Serverless Development Experience
Achieving a Serverless Development ExperienceIvan Dwyer
 
Ransomware: The Defendable Epidemic
Ransomware: The Defendable EpidemicRansomware: The Defendable Epidemic
Ransomware: The Defendable EpidemicSagi Brody
 
Getting Started with Docker - Nick Stinemates
Getting Started with Docker - Nick StinematesGetting Started with Docker - Nick Stinemates
Getting Started with Docker - Nick StinematesAtlassian
 
Accelerating Public Cloud Migration with Multi-Cloud Load Balancing
Accelerating Public Cloud Migration with Multi-Cloud Load BalancingAccelerating Public Cloud Migration with Multi-Cloud Load Balancing
Accelerating Public Cloud Migration with Multi-Cloud Load BalancingAvi Networks
 
James Watters, Pivotal | Kafka Summit NYC 2019 Keynote (Spring Boot+Kafka: Th...
James Watters, Pivotal | Kafka Summit NYC 2019 Keynote (Spring Boot+Kafka: Th...James Watters, Pivotal | Kafka Summit NYC 2019 Keynote (Spring Boot+Kafka: Th...
James Watters, Pivotal | Kafka Summit NYC 2019 Keynote (Spring Boot+Kafka: Th...confluent
 

Similar to Onboarding PHP Applications to the Cloud (20)

Java in the Cloud : PaaS Platforms in Comparison
Java in the Cloud : PaaS Platforms in Comparison Java in the Cloud : PaaS Platforms in Comparison
Java in the Cloud : PaaS Platforms in Comparison
 
Java in the Cloud : PaaS Platforms in Comparison
Java in the Cloud : PaaS Platforms in ComparisonJava in the Cloud : PaaS Platforms in Comparison
Java in the Cloud : PaaS Platforms in Comparison
 
Towards the Cloud: Architecture Patterns and VDI Story
Towards the Cloud: Architecture Patterns and VDI StoryTowards the Cloud: Architecture Patterns and VDI Story
Towards the Cloud: Architecture Patterns and VDI Story
 
Cloud & Big Data: Lessons Learnt
Cloud & Big Data: Lessons LearntCloud & Big Data: Lessons Learnt
Cloud & Big Data: Lessons Learnt
 
GigaSpaces CCF 4 Xap
GigaSpaces CCF 4 XapGigaSpaces CCF 4 Xap
GigaSpaces CCF 4 Xap
 
Best Practices for Building Hybrid-Cloud Architectures | Hans Jespersen
Best Practices for Building Hybrid-Cloud Architectures | Hans JespersenBest Practices for Building Hybrid-Cloud Architectures | Hans Jespersen
Best Practices for Building Hybrid-Cloud Architectures | Hans Jespersen
 
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
 
Concepts of cloud computing
Concepts of cloud computingConcepts of cloud computing
Concepts of cloud computing
 
An Easy Way to Adopt Hybrid Cloud, Datacomm Solution
An Easy Way to Adopt Hybrid Cloud, Datacomm SolutionAn Easy Way to Adopt Hybrid Cloud, Datacomm Solution
An Easy Way to Adopt Hybrid Cloud, Datacomm Solution
 
1 App,
1 App, 1 App,
1 App,
 
Are VMs Passé?
Are VMs Passé?Are VMs Passé?
Are VMs Passé?
 
Are VM Passé?
Are VM Passé? Are VM Passé?
Are VM Passé?
 
Giga Spaces Getting Ready For The Cloud
Giga Spaces   Getting Ready For The CloudGiga Spaces   Getting Ready For The Cloud
Giga Spaces Getting Ready For The Cloud
 
GigaSpaces - Getting Ready For The Cloud
GigaSpaces - Getting Ready For The CloudGigaSpaces - Getting Ready For The Cloud
GigaSpaces - Getting Ready For The Cloud
 
Achieving a Serverless Development Experience
Achieving a Serverless Development ExperienceAchieving a Serverless Development Experience
Achieving a Serverless Development Experience
 
Ransomware: The Defendable Epidemic
Ransomware: The Defendable EpidemicRansomware: The Defendable Epidemic
Ransomware: The Defendable Epidemic
 
Getting Started with Docker - Nick Stinemates
Getting Started with Docker - Nick StinematesGetting Started with Docker - Nick Stinemates
Getting Started with Docker - Nick Stinemates
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Accelerating Public Cloud Migration with Multi-Cloud Load Balancing
Accelerating Public Cloud Migration with Multi-Cloud Load BalancingAccelerating Public Cloud Migration with Multi-Cloud Load Balancing
Accelerating Public Cloud Migration with Multi-Cloud Load Balancing
 
James Watters, Pivotal | Kafka Summit NYC 2019 Keynote (Spring Boot+Kafka: Th...
James Watters, Pivotal | Kafka Summit NYC 2019 Keynote (Spring Boot+Kafka: Th...James Watters, Pivotal | Kafka Summit NYC 2019 Keynote (Spring Boot+Kafka: Th...
James Watters, Pivotal | Kafka Summit NYC 2019 Keynote (Spring Boot+Kafka: Th...
 

Recently uploaded

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
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
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
#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
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
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
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 

Recently uploaded (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
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
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
#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
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
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
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 

Onboarding PHP Applications to the Cloud

  • 1. Onboarding PHP Applications to the Cloud Tobias Kunze Briseño, webappVM
  • 2. Onboarding PHP Applications to the Cloud Tobias Kunze Briseño, webappVM Int'l PHP Conference 2009
  • 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. Outline Background ► Applications ► PHP ► The “Cloud” Cloud problems Solutions webappVM project
  • 5. Applications: Architecture ► 2-3-tier web application ► Built-in failover
  • 6. Applications: Types ► Rogue vs managed ► “Web n.0” vs mission-critical transaction processing
  • 7. Applications: Management ► Enterprise *bilities
  • 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. 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. Applications: Monster 3 Large department store ► Pays overtime for fire fighting because AM tools are too expensive ► Average TTD: 10-12 weeks
  • 12. Applications: Monster 4 International financial services company ► >100 project managers required to coordinate every deployment ► Average TTD: 8-10 weeks
  • 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. PHP: Summary “Shortest line between two points on the web” ―Terry Chay
  • 15. PHP: Today ► Sweet spot: Strengths support today's business needs
  • 16. PHP: Operations ► Aligned with virtualization and the cloud?
  • 17. Cloud: Definitions ► SPI Model: IaaS, PaaS, Saas ► On-premise (“private”), hybrid, off-premise (“public”)
  • 18. Cloud: Core Benefits ► On-demand, self-service ► “Unlimited” resources, scalability ► Fully managed ► Pay-as-you-go, metered
  • 19. Cloud: History ► Grid computing: Parallelize large problems ► Utility computing: Metered service ► SaaS: Pay-as-you-go application delivery ► Cloud computing: IaaS, PaaS
  • 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. Cloud: Today ► Single most important strategic initiative in enterprises ► At top of hype cycle
  • 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. Cloud: Enablers Open Source ► Scalr, libcloud, libvirt, jclouds, … Startups ► RightScale, Scalr, CloudKick, enStratus, …
  • 24. Cloud: Applications Dimensions: ► Running in the cloud vs consuming cloud services ► “Green field” vs existing applications
  • 25. Downer Can't run in the cloud like in a data center.
  • 26. Obstacles: Environment Public cloud ► Latency ► Networking support ► Unportable backends ► Existing infrastructure Any cloud ► Licensing ► Physical dependencies
  • 27. Obstacles: Simple Applications “Old-Skool” ► Hosted, maybe redundant, local backend ► Works great, ssh if broken, monitor when feel like it
  • 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. Obstacles: Complex Applications “Old-Skool” ► Solid, enterprise-grade, expensive ► “Scar tissue”: port, right-size, upgrade
  • 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. Problem Cloud ≍ Application Management Disaster
  • 32. Solution: Infrastructure Mgmt ► Too far below the application ► Setup & tuning takes weeks ► (Some vendors move into application space)
  • 33. Solution: Managed Platform ► Supports full application life cycle ► Supports full monitoring ► Requires software management
  • 34. Solution: Platform Requirements ► Support common architectures ► Support existing applications ► Support different stacks ► Support lean development ► Provide portability ► Provide automation
  • 35. webappVM: Project Vision: ► Open Source: Cloud application platform with integrated management ► Enterprise: Monitoring, … Feature areas: Run, manage, scale
  • 36. webappVM: Platform Application capsule ► Application ► Dependencies ► Configuration Cartridges ► Application support
  • 38. webappVM: Package Management ► Advanced dependency management ► Deployment control ► “Sysadmin-in-the-box” delivers events
  • 39. webappVM: Clustering ► Right-scale: Discover, join, unjoin ► Load balancing ► Virtual IP ► Log management ► Redundancy
  • 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. webappVM: Enterprise Edition ► “Single-pane-of-glass” dashboard ► Application performance management ► End-to-end transaction monitoring ► Method-level monitoring ► Alerting ► Provisioning ► Full correlation
  • 42. webappVM: Come Play With Us! <vostok@webappvm.org>
  • 43. webappVM: Preview Looking for ► PHP (and Java) applications ► Standard modules ► No odd binary requirements ► No background tasks <preview@webappvm.com>
  • 44. Q&A