• Like

PHP Apps on the Move - Migrating from In-House to Cloud

  • 457 views
Uploaded on

RightScale Conference NYC 2012 -- PHP Apps on the Move - Migrating from In-House to Cloud …

RightScale Conference NYC 2012 -- PHP Apps on the Move - Migrating from In-House to Cloud

Kent Mitchell - Sr. Director, Product Management, Zend

It’s a common problem: How to move your PHP system to the cloud without completely overhauling your app. Most existing systems and applications were not designed for the level of elasticity the cloud brings. But many of those apps can still take advantage of all that the cloud offers - while requiring very few modifications.

In this session, we will discuss how one customer leveraged the off-the-shelf capabilities of RightScale and Zend to migrate from a fixed, non-scalable traditional architecture to an elastic, high-availability cloud architecture. Join us for a deeper look at this auto-scaling PaaS solution specifically designed to make it easier for you to deploy and manage cloud-based, highly available PHP server clusters.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
457
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
10
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. PHP APPS ON THEMOVEMIGRATING FROM IN-HOUSE TO CLOUD © All rights reserved. Zend Technologies, Inc.
  • 2. Zend The PHP company • Over 10 years of experience • More than 40,000 customers • Broad Partnerships with key technologies2 © All rights reserved. Zend Technologies, Inc.
  • 3. Typical Single Server Configurations Apache Web Server PHP All-in-One Configuration Session Files MySQL DB Apache Web Server PHP Separate DB Server Session Files MySQL Server3 © All rights reserved. Zend Technologies, Inc.
  • 4. Typical Multi-Server Configuration Load Balancer MySQL Server4 © All rights reserved. Zend Technologies, Inc.
  • 5. Challenges • Main issues Sessions especially with scale-down • It’s easy to add more session but how do you know when you can remove? DB scaling • Replication, mirroring, etc are not easy • Other Potential Problems HA sessions HA DB Caching5 © All rights reserved. Zend Technologies, Inc.
  • 6. 6 © All rights reserved. Zend Technologies, Inc.
  • 7. What does Mediaspike do? •Mediaspike generates leads for online and traditional colleges and universities •Two primary sites: AchieveYourCareer.com FindYourDegree.com •Custom Matching Algorithms to find best fit for students •Targeted high-volume campaigns7 © All rights reserved. Zend Technologies, Inc.
  • 8. The Old Way • One giant server being fed from our subversion repository and backing up data to S3. Apache Web Server PHP Session Files MySQL DB8 © All rights reserved. Zend Technologies, Inc.
  • 9. Problems • No room for traffic bursts • FRAGILE - Dont want to upgrade X because it may break Y. • Single point of failure - could shut down our business for hours to days. • Encouraged manual "hacking". Rather than run the proper build script, Ill just tweak this file on the live site. Its OK...9 © All rights reserved. Zend Technologies, Inc.
  • 10. PaaS• Pre-configured Zend PHP architecture to speed time to market• Based on Zend and RightScale’s best practices• Auto-scaling based on system and application load metrics, supported by load balancing• PHP session clustering for high availability• Redundant database with failover and recovery10 © All rights reserved. Zend Technologies, Inc.
  • 11. Zend PHP vs Open Source Design and Develop Runtime Platform Manage PRODUCTION ECOSYSTEM Eclipse IDE Transparent Scaling High Availability PHP Tooling Application Centralized Fully Integrated IDE Provisioning Configuration Auto scaling App Performance Diagnostics / Root Cloud Infrastructure Management cause analysis Templates & Configuration Caching Job Queuing Self-serve setup Support Security Hot fixes Team Support Application Fabric Complete PHP App Server Cloud Development Platform11 © All rights reserved. Zend Technologies, Inc.
  • 12. With RightScale and Zend12 © All rights reserved. Zend Technologies, Inc.
  • 13. Benefits • No more single point of (disastrous) failure • MySQL master/slave replication and EBS Snapshot backups "just work" • Better reliability because everything is scripted. No more manual build processes • Flexibility to change architecture as needed • Increased capacity, of course13 © All rights reserved. Zend Technologies, Inc.
  • 14. Q&A • Other Links14 © All rights reserved. Zend Technologies, Inc.