focus on your app with amazon rds
DESCRIPTION
Using Amazon RDS to boost productivity, performance and data protection, leaving you more time to build your app.TRANSCRIPT
![Page 2: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/2.jpg)
Thank you.
![Page 3: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/3.jpg)
Focus on your App with Amazon RDS
![Page 4: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/4.jpg)
Focus on your App with Amazon RDS
![Page 5: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/5.jpg)
Application tier
![Page 6: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/6.jpg)
Application tier
![Page 7: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/7.jpg)
Application tier
Load balancer
![Page 8: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/8.jpg)
Application tier
Load balancer
4
![Page 9: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/9.jpg)
Application tier
Load balancer
4
![Page 10: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/10.jpg)
Application tier
Load balancer
Database tier
4
![Page 11: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/11.jpg)
Application tier
Load balancer
Database tier
![Page 12: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/12.jpg)
Schema design
Frequent server upgrades Storage changes
Backup and recovery
Software upgrades
Patching
Replacing failures
Query construction
Query optimization
Configuration
Migration
![Page 13: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/13.jpg)
Schema design
Frequent server upgrades Storage changes
Backup and recovery
Software upgrades
Patching
Replacing failures
Query construction
Query optimization
Configuration
Migration
![Page 14: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/14.jpg)
20%
25%40%
5%5%5%
Backup, recoveryload and unload
Security planning
License training
Script automation
Installation, upgrade, patching, migration
Performance and tuning
Source: Forrester
![Page 15: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/15.jpg)
Undi!erentiated heavy lifting
G
![Page 16: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/16.jpg)
“Help me focus on my applications”
![Page 17: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/17.jpg)
Amazon RDSRelational Database Service
![Page 18: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/18.jpg)
Amazon RDS
Quick introduction
Relational Database Service
![Page 19: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/19.jpg)
Introducing Amazon RDS
Amazon RDS is a fully managed relational database service.
Simple to deploy
Easy to scale
ReliableCost e!ective
i
![Page 20: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/20.jpg)
Choice of database engines
MySQL
Oracle
Microsoft SQL Server
Introducing Amazon RDSi
![Page 21: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/21.jpg)
Data snapshots
Automatic
Point in time recovery
Faster time to recover
Introducing Amazon RDSi
![Page 22: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/22.jpg)
Getting started
Via the AWS Management console
Command line tools
SDKs and API calls
Introducing Amazon RDSi
![Page 23: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/23.jpg)
Three ways to remove the “muck”
![Page 24: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/24.jpg)
Productivityl
![Page 25: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/25.jpg)
Productivity
Performance
l
T
![Page 26: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/26.jpg)
Productivity
Performance
Data Protection
l
T
8
![Page 27: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/27.jpg)
Productivity
RDS is optimized for productivity: most admin tasks only take a few clicks.
Faster time to delivery
Up and running in minutes
Free up time for adding business value
l
Resource cost e"ciencies
![Page 28: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/28.jpg)
Productivity
75% of the common admin tasks aremanaged by RDS
Provisioning
Database backups
Patching
l
Performance management
![Page 29: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/29.jpg)
Productivity
Virtually all common MySQL databasefeatures are still available
l
![Page 30: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/30.jpg)
Productivityl
Multiple databases per instance
Standard user accounts
Connect and query using common MySQL tools & drivers
Tune engine parameters
Import export data using standard MySQL tools (mysqldump)
Diagnostics
Native MySQL replication
SSL for encryption over the wire
Monitor metrics
Shell, super user or direct file system access
![Page 31: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/31.jpg)
![Page 32: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/32.jpg)
![Page 33: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/33.jpg)
![Page 34: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/34.jpg)
![Page 35: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/35.jpg)
![Page 36: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/36.jpg)
![Page 37: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/37.jpg)
![Page 38: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/38.jpg)
![Page 39: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/39.jpg)
![Page 40: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/40.jpg)
Productivity
Painless patching
Control maintenance window times
Automatic upgrades for minor versions of MySQL
Major upgrades need to be initiated
l
![Page 41: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/41.jpg)
Productivity
CloudWatch Monitoring
Included on all RDS databases
l
Binary log usage, CPU, connections, memory, network
IOPS, latency and throughput for reads and writes
![Page 42: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/42.jpg)
Productivity
Metric alarms
Set custom alarms on all metrics
l
Send email, trigger programmatic response
Example: CPU utilization over 90% for 10 minutes
![Page 43: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/43.jpg)
Productivity
One click. High availability.
Automated deployment across multiple AZs
l
Master and standby are kept in sync
Zero admin overhead
![Page 44: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/44.jpg)
![Page 45: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/45.jpg)
![Page 46: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/46.jpg)
Productivity
Automatic fail-over
Instance or AZ failure triggers fail-over to standby
l
Updates are intact with synchronous writes
Standby promoted to master. New standby.Additional data durability relative to single AZ deployment
![Page 47: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/47.jpg)
Productivity
Test fail-over
Trigger fail over
l
Test application responseProgrammatic
![Page 48: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/48.jpg)
Productivity
Update durability
Initiated updates occur across availability zones
l
Standby is updated and promoted to master
Original master is updated
![Page 49: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/49.jpg)
Productivity
Zero admin:
High availability
l
Automatic failover
Durable updatesOne click
![Page 50: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/50.jpg)
Productivity
On demand test databases
Restore snapshot
l
Restore to point in time
Repeatable test environmentsUnit, integration and smoke testing
![Page 51: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/51.jpg)
Case study
Intuit Live Community
Faster release cycles for more agility
Millions of users, seasonal peaks
Hands free recovery with Amazon RDS
Moved from monthly to weekly releases
M
Run on EC2, RDS and CloudFormation. Multi-AZ.
![Page 52: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/52.jpg)
Productivityl
![Page 53: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/53.jpg)
Productivity
Performance
l
T
![Page 54: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/54.jpg)
Performance
Scalable database storage
5Gb to 1Tb of attached storage
Scale on demand
Scale incrementally, but only as much as you need
T
![Page 55: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/55.jpg)
Performance
Storage is striped
Data striped across multiple volumes
Higher allocated storage stripes across more volumes
Higher throughput with larger instance types
T
![Page 56: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/56.jpg)
Performance
Vertical resource scaling
Add additional compute capacity
Increase IO with larger instances
Add memory and CPU
T
![Page 57: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/57.jpg)
Performance
Read Replicas
Scale beyond capacity constraints of a single instance
Asynchronous replication to replicas
Perfect for read-heavy loads and reporting
T
![Page 58: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/58.jpg)
Performance
Amazon ElastiCache
In-memory cache service
Ideal front end to RDS for read-heavy applications
Low latency
T
![Page 59: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/59.jpg)
Performance
Replicas vs Caches
Caches are good for low latency access over a limited dataset
Replicas provide relatively less performance over a substantially larger dataset
T
![Page 60: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/60.jpg)
Case study
6 months to deploy a real time, social magazine
5 million users, 2 billion page flips per month
Better response time (milliseconds) and uptime
Complex queries on use and relevance data
M
Run on EC2, RDS and ElastiCache. Multi-AZ.
![Page 61: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/61.jpg)
Case study
Gumi
Outgrew existing IT environment
Elasticity to respond to peaks; reduce costs.
10 million visitors a day
Reduced time to market through accelerated development
M
Run on EC2, RDS.
![Page 62: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/62.jpg)
Productivity
Performance
l
T
![Page 63: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/63.jpg)
Productivity
Performance
Data Protection
l
T
8
![Page 64: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/64.jpg)
Data Protection
Automatic snapshots
Daily database backups
Transaction log backups every 5 minutes
Everything up to final 5 minutes can be recovered
8
![Page 65: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/65.jpg)
Automated backups
Automated point-in-time backups
1 day retention (extendable to 35 days)
On by default. No additional charge.
8Data Protection
![Page 66: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/66.jpg)
DB Security groups
DB instances are isolated by default
Control access by source IP address or EC2 security group
Specify IP range: 0.0.0.0/0 discouraged!
8Data Protection
![Page 67: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/67.jpg)
Data Protection
Use a crash recoverable database engine
Use InnoDB (the default!)
Optimized for crash recovery and data durability
MyISAM can result in lost or corrupt data on restoreInnoDB for point in time and snapshot restoration
8
![Page 68: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/68.jpg)
Avoid in-memory or temporary tables
Not flushed to disk
Point in time recovery plays back operations
Operations need to be on committed to disk
8Data Protection
![Page 69: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/69.jpg)
RDS in the Virtual Private Cloud
Virtual network, bring your own IP addresses
Complete virtual network control: public, private subnets
Includes Multi-AZ (for MySQL and Oracle)
8Data Protection
![Page 70: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/70.jpg)
Encryption via SSL
RDS generates SSL certificates for each DB instance
Encryption of data between client and DB instance
8Data Protection
![Page 71: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/71.jpg)
Case study
Samsung Smarthub
Needed to reduce IT costs and increase flexibility
AWS and Amazon RDS authenticate every request
Saved 34M in hardware and maintenance expenses
85% less than running on-premise
M
Delivers apps, content and push notifications
![Page 72: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/72.jpg)
Productivity
Performance
Data Protection
l
T
8
![Page 73: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/73.jpg)
Productivity
Performance
Data Protection
l
T
8
Price optimizationsBonus
![Page 74: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/74.jpg)
Reserved instances
One time, up front payment
Reserve capacity for your DB instance
Price optimization
Discounted hourly rate
s
Low, medium and high utilization rates
![Page 75: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/75.jpg)
Focus on your App with Amazon RDS
![Page 76: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/76.jpg)
Focus on your App with Amazon RDS
![Page 77: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/77.jpg)
Focus on your App with Amazon RDS
Performance
Backups
DR
Multi-AZ
Storage scaling
Instance scaling
![Page 78: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/78.jpg)
Focus on your App with Amazon RDS
Performance
Backups
DR
Multi-AZ
Storage scaling
Instance scaling
New features
Happy customers : )
Faster updates
![Page 79: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/79.jpg)
Focus on your App with Amazon RDSh
![Page 80: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/80.jpg)
60 day free trialaws.amazon.com/rds/free-trial
f
![Page 81: Focus on your app with Amazon RDS](https://reader034.vdocuments.mx/reader034/viewer/2022051817/548592a4b4af9fa00d8b4eb8/html5/thumbnails/81.jpg)
Thursday 18th OctoberB
Oracle Database Management madeeasy with Amazon RDS
aws.amazon.com/rds