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

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
[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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
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
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Recently uploaded (20)

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
[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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
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
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.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