82
Focus on your App [email protected] Dr. Matt Wood with Amazon RDS

Focus on your app with Amazon RDS

Embed Size (px)

DESCRIPTION

Using Amazon RDS to boost productivity, performance and data protection, leaving you more time to build your app.

Citation preview

Page 2: Focus on your app with Amazon RDS

Thank you.

Page 3: Focus on your app with Amazon RDS

Focus on your App with Amazon RDS

Page 4: Focus on your app with Amazon RDS

Focus on your App with Amazon RDS

Page 5: Focus on your app with Amazon RDS

Application tier

Page 6: Focus on your app with Amazon RDS

Application tier

Page 7: Focus on your app with Amazon RDS

Application tier

Load balancer

Page 8: Focus on your app with Amazon RDS

Application tier

Load balancer

4

Page 9: Focus on your app with Amazon RDS

Application tier

Load balancer

4

Page 10: Focus on your app with Amazon RDS

Application tier

Load balancer

Database tier

4

Page 11: Focus on your app with Amazon RDS

Application tier

Load balancer

Database tier

Page 12: Focus on your app with Amazon RDS

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

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

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

Undi!erentiated heavy lifting

G

Page 16: Focus on your app with Amazon RDS

“Help me focus on my applications”

Page 17: Focus on your app with Amazon RDS

Amazon RDSRelational Database Service

Page 18: Focus on your app with Amazon RDS

Amazon RDS

Quick introduction

Relational Database Service

Page 19: Focus on your app with Amazon RDS

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

Choice of database engines

MySQL

Oracle

Microsoft SQL Server

Introducing Amazon RDSi

Page 21: Focus on your app with Amazon RDS

Data snapshots

Automatic

Point in time recovery

Faster time to recover

Introducing Amazon RDSi

Page 22: Focus on your app with Amazon RDS

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

Three ways to remove the “muck”

Page 24: Focus on your app with Amazon RDS

Productivityl

Page 25: Focus on your app with Amazon RDS

Productivity

Performance

l

T

Page 26: Focus on your app with Amazon RDS

Productivity

Performance

Data Protection

l

T

8

Page 27: Focus on your app with Amazon RDS

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

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

Productivity

Virtually all common MySQL databasefeatures are still available

l

Page 30: Focus on your app with Amazon RDS

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
Page 32: Focus on your app with Amazon RDS
Page 33: Focus on your app with Amazon RDS
Page 34: Focus on your app with Amazon RDS
Page 35: Focus on your app with Amazon RDS
Page 36: Focus on your app with Amazon RDS
Page 37: Focus on your app with Amazon RDS
Page 38: Focus on your app with Amazon RDS
Page 39: Focus on your app with Amazon RDS
Page 40: Focus on your app with Amazon RDS

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

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

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

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
Page 45: Focus on your app with Amazon RDS
Page 46: Focus on your app with Amazon RDS

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

Productivity

Test fail-over

Trigger fail over

l

Test application responseProgrammatic

Page 48: Focus on your app with Amazon RDS

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

Productivity

Zero admin:

High availability

l

Automatic failover

Durable updatesOne click

Page 50: Focus on your app with Amazon RDS

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

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

Productivityl

Page 53: Focus on your app with Amazon RDS

Productivity

Performance

l

T

Page 54: Focus on your app with Amazon RDS

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

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

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

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

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

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

Case study

Flipboard

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

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

Productivity

Performance

l

T

Page 63: Focus on your app with Amazon RDS

Productivity

Performance

Data Protection

l

T

8

Page 64: Focus on your app with Amazon RDS

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

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

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

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

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

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

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

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

Productivity

Performance

Data Protection

l

T

8

Page 73: Focus on your app with Amazon RDS

Productivity

Performance

Data Protection

l

T

8

Price optimizationsBonus

Page 74: Focus on your app with Amazon RDS

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

Focus on your App with Amazon RDS

Page 76: Focus on your app with Amazon RDS

Focus on your App with Amazon RDS

Page 77: Focus on your app with Amazon RDS

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

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

Focus on your App with Amazon RDSh

Page 80: Focus on your app with Amazon RDS

60 day free trialaws.amazon.com/rds/free-trial

f

Page 81: Focus on your app with Amazon RDS

Thursday 18th OctoberB

Oracle Database Management madeeasy with Amazon RDS

aws.amazon.com/rds