August 2013Noah Slater & Ben Chapman
Get Started with PHP on Engine Yard Cloud
Introductions
Noah Slater PHP Product Manager (One of the original Orchestra developers)
Ben Chapman Deployment Engineer (Works on PHP on Engine Yard Cloud)
Housekeeping
Webcast Format1. Quick product overview2. Demo deploying a PHP app3. Q & A
QuestionsSubmit questions via WebEx chat (bottom right) or Twitter, mention @engineyard or use the #EYCloudPHP hashtag.
On-Demand WebcastWebcast will be recorded. We’ll send out a link to the recording and slides next week.
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
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.
PHP Expertise on EY Cloud
The original Orchestra team was a collection ofPHP 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 aweek. You should come alongand meet the team!
How EY Cloud is DifferentMore capabilities and more control.
Capabilities
Con
trol
More capabilities and more control.
Capabilities
Con
trol
How EY Cloud is Different
More capabilities and more control.
Capabilities
Con
trol
How EY Cloud is Different
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.
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)
Demo Time!
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:https://getcomposer.org/download/
Installers available for major platforms.
Test Your App Locally
1. With PHP 5.4, you can run php -S localhost:88882. 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.
Wrap Up
Further Reading
Orchestra Migration Guideshttp://goo.gl/y34Pgr
Deploy Your PHP Application on Engine Yard Cloudhttp://goo.gl/8ZbQCs
Use Composer for PHPhttp://goo.gl/k5kg21
Coming soon: guides for apps like WordPress, Magento, Drupal, etc. Let us know what you want to see!
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.
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)
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)
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:● [email protected]
Once the webcast is over, you will be sent to a survey. We’d love to hear what you think about PHP on Cloud!