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.)
2. 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.
4. 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.
5. 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.
11. 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)
12. 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 DB
Scale-Up Event
13. 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
Automatic Database Failover
14. 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
Standby DB Active DB
15. 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 DB
16. 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 DB
Self-healing Network
17. 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 DB
Self-healing Network
18. 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 DB
Scale-Down Event
19. 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.
20.
21. 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.
23. 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