Senior Engineer Jeremy Voorhis on AppFog's contribution of PHP support to VMWare's Cloud Foundry. Presented at the Cloud Foundry Community Updates meeting on January 17, 2012. Video of presentation available at http://www.ustream.tv/recorded/19837459
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
How AppFog Brought PHP Support to Cloud Foundry
1. How AppFog Brought PHP to CloudFoundry
Jeremy Voorhis
Senior Engineer, AppFog Inc
jeremy@appfog.com
@jvoorhis
http://www.appfog.com
Thursday, January 19, 12
2. Part I
Building PaaS From Scratch, Choosing CloudFoundry
Thursday, January 19, 12
3. The Three Layers of PaaS
• User Experience
• Application Lifecycle
• Infrastructure Orchestration
Thursday, January 19, 12
4. User Developer Experience
• Support
• Plans, pricing and billing
• User interface (web, mobile)
• Tools (CLI, version control)
• Add-ons
Thursday, January 19, 12
5. Application Lifecycle
• HTTP Pipeline
• Runtime and Framework Support
• Deployments
• Services (Relational Database, Message Broker, etc.)
• App Configuration (Env. Vars, Service Connections, URLs)
Thursday, January 19, 12
7. What is ?
• PaaS tailored specifically for PHP developers
• Apache, MySQL, Varnish, Git
• Private Git hosting, Git deployments
• App Console
• Add-on Program
• Built all 3 layers ourselves!
Thursday, January 19, 12
8. is our eponymous, open PaaS
• Exchanged our app lifecycle tier for CloudFoundry
• 7 pull requests plus customization
• Multi-lang, multi-service
• Git agnostic (deploy from Maven, Eclipse, Github or Dropbox!)
Thursday, January 19, 12
9. Why build our new PaaS on CloudFoundry?
• Path to adding languages and services
• Commitment to open source
• Vibrant community
• Focus more effort on UX and Infrastructure Orchestration
• Support AWS, Rackspace, Joyent, HP Public Clouds
Thursday, January 19, 12
10. PHP Fog / CloudFoundry Comparison
Thursday, January 19, 12
11. Similarities
• N-tier architecture
• Isolates apps in multi-tenant environments
• Scales on demand
• Manages configuration
Thursday, January 19, 12
12. PHP Fog Innovations
• Best in class UX
• HTTP caching (Varnish)
• Wildcard subdomains, HTTPS termination for custom domains
• Git deployments
Thursday, January 19, 12
18. Seven Accepted Pull Requests and Counting!
• vmc
• vcap
• vcap-tests
• nats
Thursday, January 19, 12
19. State of OSS PHP Support in CloudFoundry
• PHP stack installed by vcap_dev_setup
• PHP apps automatically detected by vmc
• Apache2 runs single app in foreground
• Integrates with CloudFoundry secure user pool
• Available now from Github
Thursday, January 19, 12
20. Work in Progress
• Varnish cache invalidation for vcap
• Custom DEA supports secure multi-tenant Apache2
• Orchestrate single tenant DEA
• Available now in AppFog Private Beta
Thursday, January 19, 12
21. Future of CloudFoundry
• Improve documentation!
• Fix CloudFoundry.com vs CloudFoundry.org confusion
Thursday, January 19, 12
22. Thank you CloudFoundry team!
• Was a joy to work with CF dev team
• Thank you Derek Collison!
• Thank you James Watters!
Thursday, January 19, 12
23. Thank you!
Jeremy Voorhis
Senior Engineer, AppFog Inc
jeremy@appfog.com
@jvoorhis
http://www.appfog.com
Thursday, January 19, 12