Deploying and scaling a datastore
r
Follow the same patterns:
horizontal scale, availability, automation.
Slide 61
Slide 61 text
One question:
r
Does your application require a
strict, controlled schema for query flexibility?
Slide 62
Slide 62 text
Amazon Relational Database Service
r
Management systems: CRM, ERP, finance
Does your application require a strict, controlled schema
for query flexibility? Yes
Slide 63
Slide 63 text
Focus on your app
r
Handles tedious database admin tasks
Designed for availability
Slide 64
Slide 64 text
Multi-engine
r
MySQL, Oracle, Microsoft SQL Server
Up and running in six clicks
Slide 65
Slide 65 text
Point in time snapshots
r
Automatic. Easy recovery.
Slide 66
Slide 66 text
High availability
r
Deployed across multiple availability zones.
Synchronous writes.
Amazon DynamoDB
r
Web apps, social apps, mobile apps,
user generated content,
unstructured data integration, lots of data.
Does your application require a strict, controlled schema
for query flexibility? No
Slide 72
Slide 72 text
Focus on your app
r
Managed NoSQL database service.
No schema.
Slide 73
Slide 73 text
Unlimited scale
r
Unlimited storage
Pay as you go
Slide 74
Slide 74 text
High performance
r
Single digit millisecond latencies
Slide 75
Slide 75 text
Zero admin
r
No instances to manage
Tiny API, perfectly formed
CloudFront for dynamic content
r
Edge caching for dynamic content
Cache by query string parameters
Multiple origin servers
Persistent connections to origin servers
Slide 81
Slide 81 text
C
AUTOMATE
Slide 82
Slide 82 text
Automate everything
The tedious.
The time consuming.
The error prone.
r
Slide 83
Slide 83 text
For example:
when increasing capacity
Launch instance.
Update application code.
Register with load balancer.
r
Slide 84
Slide 84 text
Auto-scaling
CloudWatch
Auto-scaling service
Elastic Load Balancer
r
Slide 85
Slide 85 text
Set operational thresholds
Network capacity > 80%
Memory utilization > 75%
CPU < 50%
r
Slide 86
Slide 86 text
Automatically respond to
operational alarms
r
Network capacity > 80%: add instances
Memory utilization > 75%: add instances
CPU < 50%: remove instances
Slide 87
Slide 87 text
Set bounds
Step change configured by number or
percentage of instances
r
Slide 88
Slide 88 text
Custom metrics
Respond to custom metrics
Page load time
Database query time
r
Slide 89
Slide 89 text
Automatic load balancer
configuration
Instances added/removed automatically
Health check for running application before
routing tra"c
r
Slide 90
Slide 90 text
Stateless operations are important
Decoupled, but stateless
Instances are naive to other instances
r
Slide 91
Slide 91 text
Treat your data as a royal garden
Backup to S3: high durability
Compute is a disposable resource
r
Slide 92
Slide 92 text
v CALIBRATED FOR:
CPU performance
Slide 93
Slide 93 text
Range of resources
Choose the best instance type
for performance
r
Slide 94
Slide 94 text
r
t1.micro m1.small cc2.8xlarge
Slide 95
Slide 95 text
r
t1.micro m1.small cc2.8xlarge
High memory
High CPU
High CPU + memory