How to Build Resilient & Scalable PHP Applications on Amazon Web Services
Upcoming SlideShare
Loading in...5
×
 

How to Build Resilient & Scalable PHP Applications on Amazon Web Services

on

  • 3,027 views

Slides accompanying RightBrain Network's January 10, 2013 at CodeMash 2013. (The animation that explains much of the autoscaling functionality is not supported by SlideShare. Please contact me ...

Slides accompanying RightBrain Network's January 10, 2013 at CodeMash 2013. (The animation that explains much of the autoscaling functionality is not supported by SlideShare. Please contact me directly for the original PowerPoint file.)

Statistics

Views

Total Views
3,027
Views on SlideShare
3,026
Embed Views
1

Actions

Likes
1
Downloads
15
Comments
0

1 Embed 1

http://www.slashdocs.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    How to Build Resilient & Scalable PHP Applications on Amazon Web Services How to Build Resilient & Scalable PHP Applications on Amazon Web Services Presentation Transcript

    • Cloud-based SoftwareEngineering, Infrastructure, & DevOps.
    • A BIT ABOUT US We’re a software consultancy, located near Ann Arbor, Michigan, that specializes in cloud-based deployments and application architecture. Founded and host AWS Michigan, the regional user group. (Check us out: www.awsmichigan.org) Member of Amazon’s Consulting Partner Network & have consulted on over 70 AWS deployments since 2006.
    • WorseInfrastructure-as-a-ServiceCloud Computing Platform Ever!
    • ACTUALLY THOUGH… AWS has never had a complete regional failure. The most recent wide-spread outage (affecting Elastic Load Balancers in US-East-1 on Christmas Eve) impacted only 6.8% of ELBs. Applications have to be built with a cloud-based deployment in mind. Never use a single EC2 instance for anything important. If your application completely dies, it’s likely your fault.
    • TRADITIONAL HOSTING VS EC2: A REAL WORLD EXAMPLE *Actual Google Analytics data from one of our clients using traditional dedicated hosting to serve approximately one million pageviews/mo.
    • TRADITIONAL DEDICATED SERVERS
    • TRADITIONAL DEDICATED SERVERS $ $ $ $ $ $ $
    • TRADITIONAL DEDICATED SERVERS
    • EC2 AUTOSCALING
    • EC2 AUTOSCALINGAutoscaling is the heart and soul of EC2.
    • AWS GEOGRAPHY REGIONS AVAILABILITY ZONES US-East-1 (N. Virginia) US-West-1 (N. California) US-West-2a US-West-2 (Oregon) US-West-2b EU-West-1 (Ireland) US-West-2c AP-Southeast-1 (Singapore) AP-Northeast-1 (Tokyo) AP-Southeast-1 (Sydney) SA-East-1 (Sao Paulo)
    • TYPICAL A.S. CONFIG Elastic Load US-East-1 Balancer (ELB) US-East-1a US-East-1c EC2 EC2 EC2 EC2 App Server App Server RDS RDS Active DB Standby DBScale-Up Event
    • TYPICAL A.S. CONFIG Elastic Load US-East-1 Balancer (ELB) US-East-1a US-East-1c EC2 EC2 EC2 EC2 App Server App Server RDS RDS Active DBAutomatic Database Failover
    • TYPICAL A.S. CONFIG Elastic LoadUS-East-1 Balancer (ELB) US-East-1a US-East-1c EC2 EC2 EC2 EC2 App Server App Server RDS RDS Standby DB Active DB
    • TYPICAL A.S. CONFIG Elastic LoadUS-East-1 Balancer (ELB) US-East-1a US-East-1c EC2 EC2 EC2 EC2 App Server App Server RDS RDS RDS Standby DB Active DB
    • TYPICAL A.S. CONFIG Elastic Load US-East-1 Balancer (ELB) US-East-1a US-East-1c EC2 EC2 EC2 EC2 App Server App Server RDS RDS RDS Standby DB Active DBSelf-healing Network
    • TYPICAL A.S. CONFIG Elastic Load US-East-1 Balancer (ELB) US-East-1a US-East-1c EC2 EC2 EC2 EC2 App Server App Server RDS RDS RDS Standby DB Active DBSelf-healing Network
    • TYPICAL A.S. CONFIG Elastic Load US-East-1 Balancer (ELB) US-East-1a US-East-1c EC2 EC2 EC2 EC2 App Server App Server RDS RDS RDS Standby DB Active DBScale-Down Event
    • SOUND RATHER COMPLICATED? Well, it kinda is… Elastic Beanstalk simplifies all of this by abstracting away the underlying AWS resources. Using Elastic Beanstalk, Michael Gimbel will now show you how to deploy a PHP app to AWS that does everything I’ve discussed—in 20 minutes.
    • SIGNS YOU’VE OUTGROWN ELASTIC BEANSTALK Need to use Nginx or a custom-compiled version of Apache. Want to use autoscaling logic that utilizes multiple metrics or custom metrics. Deployment workflow includes more advanced tools such as Puppet or Chef.
    • SIGNS YOU’VE OUTGROWN ELASTIC BEANSTALK You’ve hired someone who actually likes managing servers…
    • BEYOND THE BEANSTALK Learn to love CloudFormation. Discover the many SaaS and open-source products on the market that make your life easier:  New Relic – Application profiling and monitoring  Newvem – ―Google Analytics for AWS.‖  Simian Army and Janitor Monkey – Open source tools from Netflix  Iron.io – IronWorker, a cloud-based job scheduler  Bees With Machine Guns – Open source load testing
    • Scalable, Redundant Wordpress Deployment
    • THANKS FOR ATTENDING! Jamie Begin & Michael GimbelEmail: jamie@rightbrainnetworks.comTwitter: @ r b n _ j a m i e Questions?