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.

Getting Started with PHP on Engine Yard Cloud


Published on

Topics Covered:

• How to deploy a PHP application to Engine Yard
• How to use Composer to automate dependency management
• The key differences between Orchestra and Engine Yard Cloud

Published in: Technology
  • Be the first to comment

Getting Started with PHP on Engine Yard Cloud

  1. 1. August 2013 Noah Slater & Ben Chapman Get Started with PHP on Engine Yard Cloud
  2. 2. Introductions Noah Slater PHP Product Manager (One of the original Orchestra developers) Ben Chapman Deployment Engineer (Works on PHP on Engine Yard Cloud)
  3. 3. Housekeeping Webcast Format 1. Quick product overview 2. Demo deploying a PHP app 3. Q & A Questions Submit questions via WebEx chat (bottom right) or Twitter, mention @engineyard or use the #EYCloudPHP hashtag. On-Demand Webcast Webcast will be recorded. We’ll send out a link to the recording and slides next week.
  4. 4. Audience & Format This webcast is for PHP developers: ● Who may be familiar with Orchestra, and ● Who are unfamiliar with EY Cloud We hope to: ● Introduce you to EY Cloud, ● Explain how it’s different from Orchestra, ● Create a skeleton app with Composer, ● Demonstrate what it’s like to deploy an app, and ● Show how pricing, support, and free trial work
  5. 5. Orchestra End of Life (EOL) What you need to know: ● Orchestra will be turned off on August 30th ● Any running apps will be shut down ● Any active add-ons will be deactivated (this includes our shared MySQL and S3 add-ons) If you have any running apps or active add-ons, you should migrate as soon as possible. Our support team are here to help! Tell us what you need.
  6. 6. PHP Expertise on EY Cloud The original Orchestra team was a collection of PHP experts, including Davey Shafik (technical author), and David Coallier (former PEAR president). The whole PHP team is now working on EY Cloud. Most of the PHP team are based in Dublin, Ireland. We host two dev meetups a week. You should come along and meet the team!
  7. 7. How EY Cloud is Different More capabilities and more control. Capabilities Control
  8. 8. More capabilities and more control. Capabilities Control How EY Cloud is Different
  9. 9. More capabilities and more control. Capabilities Control How EY Cloud is Different
  10. 10. Unsupported Features EY Cloud does not support: ● Auto-scaling ○ Can set this up with custom cookbooks. ● Auto-deploys ○ Have to request each deploy. ● Subversion ○ In practice, nobody was using this. ● In-app S3 or Redis support ○ Can use AWS account or Redis DBaaS. Or set these up with custom cookbooks.
  11. 11. Additional Features For PHP EY Cloud supports: ● SSH access and root ● Environment variables ● Composer support ● Custom cookbooks (Chef) ● Stack and security management ● Multiple instance types ● App load balancing and cluster management ● Health checks and failure recovery ● Production DB, with replication, and failover ● Configurable backups and snapshots ● Large selection of third-party add-ons (e.g. New Relic)
  12. 12. Demo Time!
  13. 13. Composer Composer is a dependency manager for PHP (similar to Bundler for Ruby apps). Composer allows you to: ● Specify project dependencies in a composer.json file ● Keep vendor libraries out of your repo ● Maintain the latest versions of all required libraries To download, visit: Installers available for major platforms.
  14. 14. Test Your App Locally 1. With PHP 5.4, you can run php -S localhost:8888 2. Otherwise: a. Set up a local PHP environment. See http://php. net/manual/en/install.php for details. b. Configure your web server to point to your skeleton app’s document root. 3. Visit your skeleton app in your browser.
  15. 15. Wrap Up
  16. 16. Further Reading Orchestra Migration Guides Deploy Your PHP Application on Engine Yard Cloud Use Composer for PHP Coming soon: guides for apps like WordPress, Magento, Drupal, etc. Let us know what you want to see!
  17. 17. EY Cloud Pricing Old Orchestra pricing: ● 6 cents p/h for a micro instance (or ELB) ● $43.20 p/m for basic (one micro instance), $129.60 p/m for elastic (two micros and an ELB) New EY Cloud pricing: ● 5 cents p/h for a small instance ● $36 p/m starting cost (one small instance) Note: a micro is ~0.6 GB RAM and a small is 1.7 GB RAM. So EY Cloud starting cost is ⅓ the price, by memory.
  18. 18. EY Cloud Support ● Legendary support team ● Stellar feedback record (98-99% monthly) ● Standard support comes free ● Live chat, tickets, email, phone, forums and IRC ● Monitoring & alerts, with pro-active tickets ● DBA assistance ● Follow the sun across 3 regions (24h coverage) ● Professional services (migration, security audits, app analysis, app dev, HA/DR, load testing)
  19. 19. Trial Free trial available to all new Cloud customers. Features of the free trial: ● 500 compute hours for free ● Start and stop as needed ● Access to most of the platform ● Zero lock-in and no long-term contract ● Full access to support team ● PANDAs! (our on-boarding teaming)
  20. 20. Questions? We’ll answer questions during the time remaining. Submit questions via: ● WebEx chat (bottom right) ● Twitter, mention @engineyard ● Twitter, use #EYCloudPHP hashtag After the webcast, you can contact me at: ● Once the webcast is over, you will be sent to a survey. We’d love to hear what you think about PHP on Cloud!