4. 503
Service Temporarily Unavailable
The server is temporarily unable
to service your request due to
maintenance downtime or capacity
problems. Please try again later.
5. 503
Service Temporarily Unavailable
The server is temporarily unable
to service your request due to
maintenance downtime or capacity
problems. Please try again later.
6. Core Components
Media Relational NoSQL
Storage Database Database
S3 RDS DynamoDB
Scalability Content
Compute
ELB & London Distribution
EC2 AutoScaling CloudFront
Paris
NY
8. Must-know best practices
• OFFLOAD static content
• CACHE at the edge (static and dynamic)
• DRY (don’t repeat yourself)
• LOAD BALANCE from the start
• AUTO SCALING done right
• DATABASE smarts
• A/B TEST and templatize
9. Best Practices
OFFLOAD static content
• reduce your compute demand and costs
• improve end-user experience
• increase reliability and durability
+
10. Best Practices
WHOLE SITE via CloudFront
• reduce your compute demand and costs
• improve end user experience
• minimize chatter and simpler model
+
11. Best Practices
DRY (don’t repeat yourself)
• original vs. derived assets : 33% savings
• single reference and consistency
• control, accurate logs and tracking
S3 (or Glacier) RRS
12.
13. Best Practices
LOAD BALANCE from the start
• ready for massive scale, high reliability
• uninterrupted growth and evolution
• stateless and redundant array
Availability Zone
Availability Zone
15. $52 / hr day
14
Daily CPU Load
12
10
8
Load
6 Big Savings
4
2
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Hour
Optimize by the time of day $15 / hr night
16. Best Practices
DATABASE smarts
• scale out and share work
• optimal performance, minimize load
• enhance reliability, ensure data safety
• cost reduction
Availability Zone
Availability Zone
17.
18.
19.
20.
21. Best Practices
A/B TEST experiment, evolve
• inexpensive idea validation
• seamless switch over and versioning
• rapid dev / test agility