SlideShare ist ein Scribd-Unternehmen logo
1 von 63
Downloaden Sie, um offline zu lesen
©  2016,  Amazon  Web  Services,  Inc.  or  its  Affiliates.  All  rights  reserved.
7  July  2016
Deep  Dive  on  Amazon  Relational  
Database  Service
Martin  Minnock,  Centre  for  Innovation  &  Analytics,  Aon
Paul  Burne  -­ Technical  Account  Manager,  AWS
Toby  Knight  -­ Manager,  Solutions  Architecture,  AWS
What  to  expect
• Amazon  RDS  overview  (super  quick)
• Security
• Customer  story
• Migrating  to  RDS
• Metrics  and  monitoring
• Scaling  on  RDS
• Backups  and  snapshots
• High  availability
No  infrastructure  
management
Scale  up/down
Cost-­effective
Instant  provisioning
Application  
compatibility
Amazon  Relational   Database  Service  (Amazon  RDS)
Amazon  RDS  engines
Commercial Open  source Amazon  Aurora
Amazon  Aurora  vs.  MySQL
Feature RDS  Aurora RDS MySQL
Number	
  of	
  replicas Up	
  to	
  15 Up	
  to	
  5
Replication	
  type Asynchronous	
   (milliseconds)	
   Asynchronous	
   (seconds)
Replication	
  performance	
  impact	
  on	
  
primary
Low High
Replica	
  can	
  act	
  as	
  failover	
  target Yes	
  (no	
  data	
  loss) Yes	
  (potentially	
  minutes	
  of	
  loss)
Storage Up	
  to	
  64	
  TB,	
  auto	
  growth Up	
  to	
  6	
  TB,	
  specify	
  storage	
  limit
Automated	
  failover Yes,	
  to	
  replica	
   Yes,	
  to	
  standby	
  
User-­‐defined	
  replication	
  delay No Yes
Replica	
  support	
  for	
  different	
  data	
  or	
  
schema	
  vs.	
  primary
No Yes
Cross-­‐region	
  replication No Yes
Data	
  cache	
  survives	
   Yes No
Trade-­offs  with  a  managed  service
Fully  managed  host  and  OS
• No  access  to  the  database  host  operating  system
• Limited  ability  to  modify  configuration  that  is  managed  on  the  
host  operating  system
• No  functions  that  rely  on  configuration  from  the  host  OS
Fully  managed  storage
• Max  storage  limits
• SQL  Server—4  TB
• MySQL,  MariaDB,  PostgreSQL,  Oracle—6  TB
• Aurora—64  TB
• Growing  your  database  is  a  process
Selected  Amazon  RDS  customers
Security
Amazon  Virtual  Private  Cloud  (Amazon  VPC)
Securely  control  network  configuration
Availability  Zone
AWS   Region
10.1.0.0/16
10.1.1.0/24
Manage  connectivity
AWS  Direct  
Connect
VPN  
Connection
VPC  
Peering
Internet  
Gateway
Routing  
Rules
Security  groups
Database  IP  firewall  protection
Protocol Port  Range Source
TCP 3306 172.31.0.0/16
TCP 3306 “Application
security  group”
Corporate  address  admins
Application  tier
Compliance
Singapore  MTCS
27001/9001
27017/27018
MySQL  and  Oracle
• SOC  1,  2,  and  3
• ISO  27001/9001
• ISO  27017/27018
• PCI  DSS
• FedRamp
• HIPAA  BAA
• UK  government  programs
• Singapore  MTCS
Compliance
SQL  Server  and  PostgreSQL
• SOC  1,  2,  and  3
• ISO  27001/9001
• ISO  27017/27018
• PCI  DSS
• UK  government  programs
• Singapore  MTCS
SSL
Available  for  all  six  engines
Using  SSL  to  encrypt  a  connection  to  a  DB  instance
mysql -h myinstance.c9akciq32.rds-eu-west-1.amazonaws 
--ssl-ca=rds-combined-ca-bundle.pem --ssl-verify-server-cert.com
At-­rest  encryption
• DB  instance  storage
• Automated  backups
• Read  Replicas
• Snapshots
• Available  for  all  six  engines
• No  additional  cost
• Support  compliance  requirements
AWS  KMS  — RDS  standard  encryption
Two-­tiered  key  hierarchy  using  envelope  encryption
• Unique  data  key  encrypts  customer  data
• AWS  KMS  master  keys  encrypt  data  keys
Benefits:
• Limits  risk  of  compromised  data  key
• Better  performance  for  encrypting  large  data
• Easier  to  manage  small  number  of  master  keys  
than  millions  of  data  keys
• Centralized  access  and  audit  of  key  activity
Data  Key  1
Amazon  
S3  Object
Amazon  
EBS  
Volume
Amazon  
Redshift  
Cluster
Data  Key  2 Data  Key  3 Data  Key  4
Custom
Application
Customer  Master
Key(s)
Enabling  encryption
AWS  Command  Line  Interface  (AWS  CLI)
aws  rds  create-­db-­instance  -­-­region  us-­west-­2  -­-­db-­instance-­identifier  sg-­cli-­test  
-­-­allocated-­storage  20  -­-­storage-­encrypted 
-­-­db-­instance-­class  db.m4.large  -­-­engine  mysql  
-­-­master-­username  myawsuser  -­-­master-­user-­password  myawsuser
aws  rds  create-­db-­instance  -­-­region  us-­west-­2  -­-­db-­instance-­identifier  sg-­cli-­test1  
-­-­allocated-­storage  20  -­-­storage-­encrypted    -­-­kms-­key-­id  xxxxxxxxxxxxxxxxxx  
-­-­db-­instance-­class  db.m4.large  -­-­engine  mysql   -­-­master-­username  myawsuser  
-­-­master-­user-­password  myawsuser
Amazon  RDS  +  AWS  KMS  useful  hints  
• You  can  only  encrypt  on  new  database  creation
• Encryption  cannot  be  removed
• Master  and  Read  Replica  must  be  encrypted
• Unencrypted  snapshots  cannot  be  restored  to  encrypted  DB
• Cannot  restore  MySQL  to  Aurora  or  Aurora  to  MySQL
• Cannot  copy  snapshots  or  replicate  DB  across  regions
IAM  governed  access
You  can  use  AWS  Identity  and  Access  Management  (IAM)  
to  control  who  can  perform  actions  on  RDS
Users  and  DBAApplications DBA  and  Ops
Your  database RDS
Controlled  with  IAMControlled  with  database  grants
IAM  governed  access
Policies
"Action":	
  [
"rds:Describe*",
"rds:ListTagsForResource",
"ec2:DescribeAccountAttributes",
"ec2:DescribeAvailabilityZones",
"ec2:DescribeSecurityGroups",
"ec2:DescribeVpcs”,
"cloudwatch:GetMetricStatistics",
"logs:DescribeLogStreams",	
  
"logs:GetLogEvents"
],
"Effect":	
  "Allow",
"Resource":	
  "*"
"Action":  [
"rds:*",
"cloudwatch:DescribeAlarms",
"cloudwatch:GetMetricStatistics",
"ec2:DescribeAccountAttributes",
"ec2:DescribeAvailabilityZones",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcs",
"sns:ListSubscriptions",
"sns:ListTopics",  
"logs:DescribeLogStreams",  
"logs:GetLogEvents"  
],
"Effect":  "Allow",
"Resource":  "*"
Read  Only
Full  Access
Prepared  by  Aon   Inpoint  |  July  2016  
RDS  Deep  Dive
Martin  Minnock  -­ Aon  Centre  for  Innovation  &  Analytics
130+  staff
Data  Analysts  |  Data  Scientists  
|  Business  Analysts  |  IT  Development,  
Database  &  Infrastructure  Specialists
Platforms,  Projects  &  Services
multi-­channel  web  portals  |  ad-­hoc  
reporting  |  statistical  analysis  |  
machine  learning  initiatives
Dublin  Centre  for  Innovation  and  Analytics  at  the  heart  of  Aon  Inpoint
Agile  Scrum
16  cross-­functional  teams  
Agile  Scrum  &  Kanban
2  weekly  sprints  |  Incremental  releases
Aon  Inpoint  &  ACIA  (Dublin)
ACIA  Reference  Architecture  for  Analytics
Data	
  Transformation	
  &	
  AnalysisData	
  Lake	
  Ingestion
Database
File/Object	
  
Storage
Message	
  
Channel
consume
Data	
  Warehouses
Advanced	
  Analysis
Mart
Marts
Mart
Mart
Analytics	
  
Distribution
Bespoke	
  
Analysis
Reports
APIs
Web	
  Portal
Dashboards
Application	
  Middleware
OrchestrationData	
  Sources
Transactional
Systems
Documents
Public
Sources
Reference
Data
Logs
SQL
APIs
JSON/
XML
SFTP/
PUT
Metadata Workflow	
  &	
  BatchMessaging
Technology	
  Management
MonitoringSecurity Backup	
  &	
  Recovery
ITIL	
  Service	
  
Management
integrate
Logging	
  &	
  Audit.
Drivers  for  AWS  Cloud  Adoption
Performance  and  Productivity
Poor  server  performance
Re-­purposing/refreshing  
hardware
Capacity  planning  fails
Cumbersome  work  practices
Engagement  
Focus  on  business  differentiation
Promote  experimentation  &  fail-­
fast
Drive  innovation
Develop  careers
Costs  and  Risks  
Poor  utilisation
Responsiveness   to  change
Emerging  security  standards
Ageing  hardware  /  EoL
Separation  of  duties
Platform  for  Growth
Global  user  base  
Data  increase  across  4V’s  
Auto-­scaling  analytics  
Democratisation  of  data
Relentless  business  appetite
Backend  
Databases  for:
Analytics  
Delivery
Analytics  
Engine
New
Products
Lift  &  Shift  
Targets
Short-­Life  POC  
systems
Precedent  for  
native  AWS  
services
How  ACIA  uses  RDS
Risk/View  – Analytics  Platform  for  Market  &  Risk  Insights
Rapid  Updates,  
Agile  delivery
Customisable  
Future-­
Proofed,  
Flexible
Focused  on  
Self-­Service  &  
Automation
Highly  
Available
Resource  
Intensive
Challenges  (and  Solutions)
3rd Party  ToolsDatabase  Refreshes
Missing  Functionality EC2  (&  BA)
RDS  in  the  Ecosystem AWS  DMS
Complete  Lift  &  Shift  – 100%  AWS
Data  Lake  – feat.  S3,  EMR,  and  ECS  
New  Product  Development
RDS  for  PostgreSQL,  AWS  Lambda  for  Python
Innovation!  Data  Science  &  Machine  Learning
Intentions  for  the  Future  – RDS  and  Beyond
©  Aon  plc  or  its  affiliates  ("Aon"). All  rights  reserved.  
NOTE: Aon  does  not  provide  or  express  an  opinion  or  recommendation  regarding  any  matter  mentioned  in  this  
presentation.The  recipient  understands  that  neither  Aon  nor  its  employees  makes  or  shall  make  any  representation  or  
warranty  as  to  the  accuracy  or  completeness  of  any  information  contained  in  this  presentation. Aon  shall  not  have  any  
liability  to  the  recipient  or  any  other  party  resulting  from  the  use  of  such  information  by  the  recipient  or  any  other  party.
The  information  contained  in  this  presentation  may  not  be  reproduced  in  any  way  or  disseminated  to  any  other  party  
without  the  prior  written  consent  of  Aon.
Aon  has  endeavoured  to  ensure  that  this  presentation  is  free  of  any  virus  or  any  other  thing  that  would  affect  the  
recipient’s  computer  system. However,  Aon  cannot  guarantee  the  security  status  of  this  presentation  when  accessed  by  
the  reader  and  shall  not  have  any  liability  to  the  reader,  recipient  or  any  other  party  resulting  from  access  to  or  use  of  the  
information  contained  herein.
Disclaimer
Migrating  onto  RDS
Historically,  Migration  =  Cost,  Time
Commercial  data  migration  and  replication  software
Complex  to  setup  and  manage
Legacy  schema  objects,  PL/SQL  or  T-­SQL  code
Application  downtime
Database  Migration  – 2  Steps
Step  1:  Schema  Conversion  Overview
ü Move  data  to  the  same  or  different  database  engine  
ü Keep  your  apps  running  during  the  migration
ü Start  your  first  migration  in  10  minutes  or  less
ü Replicate  within,  to,  or  from  Amazon  EC2  or  RDS
AWS  Database  
Migration  Service
Customer
premises
Application  Users
AWS
Internet
VPN
Start  a  replication  instance
Connect  to  source  and  target  
database
Select  tables,  schemas,  or  
databases
Let  the  AWS  Database  Migration  
Service  create  tables,  load  data,  
and  keep  them  in  sync
Switch  applications  over  to  the  
target  at  your  convenience
Keep  your  apps  running  during  the  migration
Flexible  Migration  Approach
Replication
instance
Source Target
Target
Target
Multiple  targets
Replication
instance
Source Target
Source
Source
Multiple  sources  
Source
L
Target
Replication instance
instance
Selective
Metrics  and  monitoring
Summary  of  Metrics  and  Monitoring  
• Amazon  RDS  Metrics
• Event  Notifications
• Log  Files
• Cloudtrail
Accessing  Amazon  RDS  Metrics
Amazon  RDS  Standard  Metrics
45  MetricsChange  Time  Period
Dive  Deeper
Create  
Alarms
Amazon  RDS  Enhanced  Monitoring
Access  to  over  50  metrics  in  7  
categories:
• Memory,  
• I/O,  
• CPU,  
• File  system,  
• Load,  
• Swap
• Processes  
Amazon  RDS  Event  Notifications
• Get  Notified  when  events  occur  on  
your  database  instances
• 17  different  event  categories  
(availability,  backup,  configuration  
change,  and  so  on)
• Uses  Amazon  Simple  Notification  
Service  (Amazon  SNS)  
Scaling  on  RDS
Scale  out  with  Read  Replicas
Relieve  pressure  on  your  master  
node  for  supporting  reads  and  
writes.
Bring  data  close  to  your  customer’s  
applications  in  different  regions
Promote  a  Read  Replica  to  a  
master  for  faster  recovery  in  the  
event  of  disaster
Replicas  within  and  cross-­
region
• MySQL,  MariaDB,  
PostgreSQL
• Aurora
Engines  Needing   Other  Tools
• Oracle  
• Microsoft  SQL  Server
Creating  and  Prompting  Read  Replicas  
Read  Replica  creation  
and  promotion  are  
accessed  from  the  
Instance  Actions  button  
in  the  RDS  console
Creating  and  Promoting  Read  Replicas  
Creating  and  Promoting  Read  Replicas  With  CLI  
Creating  and  Promoting  Read  Replicas  With  CLI  
Scaling  Up  and  Down
• Handle  higher  load  or  lower  usage
• Control  costs
Scaling  Up  and  Down
Console
Backups  and  snapshots
RDS  Backups
MySQL,  PostgreSQL,  MariaDB,  Oracle,  SQL  Server
• Scheduled  daily  backup  of  entire  instance
• Archive  database  change  logs
• Up  to  35  day  retention  for  backups
• I/O  suspension  as  backup  is  initiated  (but  not  with  multi-­AZ  deployment)
• Multiple  copies  in  each  AZ  where  you  have  instances  for  a  deployment
Aurora
• Automatic,  continuous,  incremental  backups
• Point-­in-­time  restore
• No  impact  on  database  performance
• 35  day  retention
RDS  Restore
• Restoring  creates  an  entire  new  database  instance
• You  define  all  the  instance  configuration  just  like  a  new  
instance
Snapshots
• Full  copies  of  your  Amazon  RDS  database  that  are  different  from  
your  scheduled  backups
• Backed  by  Amazon  S3
• Typical  use  cases
• Resolve  production  issues
• Nonproduction  environments
• Point-­in-­time  restore
• Final  copy  before  terminating  a  database
• Disaster  recovery
• Cross-­region  copy
• Copy  between  accounts
High  availability
Minimal  deployment—single  AZ
Availability  Zone
AWS   Region
10.1.0.0/16
10.1.1.0/24
Amazon  Elastic  Block  Store  
Volume
High  availability—Multi-­AZ
Availability  Zone  A
AWS   Region
10.1.0.0/16
10.1.1.0/24
Availability  Zone  B
10.1.2.0/24
Replicated  storage
Same  instance  
type  as  master
High  availability—Multi-­AZ  to  DNS
dbinstancename.1234567890.us-­west-­2.rds.amazonaws.com:3006
High  availability—Amazon  Aurora  storage
• Storage  volume  automatically  grows  up  to  
64 TB
• Quorum  system  for  read/write;;  latency  
tolerant
• Peer-­to-­peer  gossip  replication  to  fill  in  
holes
• Continuous  backup  to  Amazon  S3  (built  for  
11 9s  durability)
• Continuous  monitoring  of  nodes  and  disks  
for  repair  
• 10  GB  segments  as  unit  of  repair  or  hotspot  
rebalance
• Quorum  membership  changes  do  not  stall  
writes
AZ  1 AZ  2 AZ  3
Amazon S3
High  availability—Aurora  nodes
• Aurora  cluster  contains  primary  
node  and  up  to  15  secondary  
nodes
• Failing  database  nodes  are  
automatically  detected  and  
replaced
• Failing  database  processes  are  
automatically  detected  and  recycled
• Secondary  nodes  automatically  
promoted  on  persistent  outage,  no  
single  point  of  failure
• Customer  application  can  scale  out  
read  traffic  across  secondary  nodes
AZ  1 AZ  3AZ  2
Primary
Node
Primary
Node
Primary
Node
Primary
Node
Primary
Node
Secondary
Node
Primary
Node
Primary
Node
Secondary
Node
Aurora-­DNS  Failover
App
RunningFailure  Detection DNS  Propagation
Recovery Recovery
DB
Failure
MYSQL
App
Running
Failure  Detection DNS  Propagation
Recovery
DB
Failure
AURORA  WITH  MARIADB  DRIVER
1 5 -­ 3 0    s e c
5 -­ 2 0    s e c
1 5 -­ 3 0    s e c
Driver  benefits
Thank  You!
Contacts
Martin  Minnock
Cloud  Product  Owner  &  Database  Manager  
Aon  Centre  for  Innovation  &  Analytics
martin.minnock@aon.ie
Paul  Burne
Technical  Account  Manager
Amazon  Web  Services
paulburn@amazon.co.uk
Toby  Knight
Manager,  Solutions  Architecture
Amazon  Web  Services
tobyk@amazon.co.uk
@martinminnock
Please  remember  to  rate  this  
session  under  My  Agenda  on  
awssummit.london

Weitere ähnliche Inhalte

Was ist angesagt?

찾아가는 AWS 세미나(구로,가산,판교) - AWS 기반 빅데이터 활용 방법 (김일호 솔루션즈 아키텍트)
찾아가는 AWS 세미나(구로,가산,판교) - AWS 기반 빅데이터 활용 방법 (김일호 솔루션즈 아키텍트)찾아가는 AWS 세미나(구로,가산,판교) - AWS 기반 빅데이터 활용 방법 (김일호 솔루션즈 아키텍트)
찾아가는 AWS 세미나(구로,가산,판교) - AWS 기반 빅데이터 활용 방법 (김일호 솔루션즈 아키텍트)
Amazon Web Services Korea
 

Was ist angesagt? (20)

Ponencia Principal - AWS Summit - Madrid
Ponencia Principal - AWS Summit - MadridPonencia Principal - AWS Summit - Madrid
Ponencia Principal - AWS Summit - Madrid
 
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
Getting Started with the Hybrid Cloud: Enterprise Backup and RecoveryGetting Started with the Hybrid Cloud: Enterprise Backup and Recovery
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
 
찾아가는 AWS 세미나(구로,가산,판교) - AWS 기반 빅데이터 활용 방법 (김일호 솔루션즈 아키텍트)
찾아가는 AWS 세미나(구로,가산,판교) - AWS 기반 빅데이터 활용 방법 (김일호 솔루션즈 아키텍트)찾아가는 AWS 세미나(구로,가산,판교) - AWS 기반 빅데이터 활용 방법 (김일호 솔루션즈 아키텍트)
찾아가는 AWS 세미나(구로,가산,판교) - AWS 기반 빅데이터 활용 방법 (김일호 솔루션즈 아키텍트)
 
Cost Optimization at Scale
Cost Optimization at ScaleCost Optimization at Scale
Cost Optimization at Scale
 
Getting Started with Amazon Aurora
 Getting Started with Amazon Aurora Getting Started with Amazon Aurora
Getting Started with Amazon Aurora
 
Data Storage for the Long Haul: Compliance and Archive
Data Storage for the Long Haul: Compliance and ArchiveData Storage for the Long Haul: Compliance and Archive
Data Storage for the Long Haul: Compliance and Archive
 
Databases on AWS Workshop.pdf
Databases on AWS Workshop.pdfDatabases on AWS Workshop.pdf
Databases on AWS Workshop.pdf
 
Accelerate your Business with SAP on AWS - AWS Summit Cape Town 2017
Accelerate your Business with SAP on AWS - AWS Summit Cape Town 2017 Accelerate your Business with SAP on AWS - AWS Summit Cape Town 2017
Accelerate your Business with SAP on AWS - AWS Summit Cape Town 2017
 
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWSBuilding Your First Big Data Application on AWS
Building Your First Big Data Application on AWS
 
Getting Started with Managed Database Services on AWS - September 2016 Webina...
Getting Started with Managed Database Services on AWS - September 2016 Webina...Getting Started with Managed Database Services on AWS - September 2016 Webina...
Getting Started with Managed Database Services on AWS - September 2016 Webina...
 
Getting Started with AWS Database Migration Service
Getting Started with AWS Database Migration ServiceGetting Started with AWS Database Migration Service
Getting Started with AWS Database Migration Service
 
ENT309 scaling up to your first 10 million users
ENT309 scaling up to your first 10 million usersENT309 scaling up to your first 10 million users
ENT309 scaling up to your first 10 million users
 
AWS re:Invent 2016: Event Handling at Scale: Designing an Auditable Ingestion...
AWS re:Invent 2016: Event Handling at Scale: Designing an Auditable Ingestion...AWS re:Invent 2016: Event Handling at Scale: Designing an Auditable Ingestion...
AWS re:Invent 2016: Event Handling at Scale: Designing an Auditable Ingestion...
 
AWSome Day Leeds
AWSome Day Leeds AWSome Day Leeds
AWSome Day Leeds
 
Getting started with Amazon Redshift
Getting started with Amazon RedshiftGetting started with Amazon Redshift
Getting started with Amazon Redshift
 
Getting started with Amazon Kinesis
Getting started with Amazon KinesisGetting started with Amazon Kinesis
Getting started with Amazon Kinesis
 
Getting Started with Windows Workloads on Amazon EC2
 Getting Started with Windows Workloads on Amazon EC2 Getting Started with Windows Workloads on Amazon EC2
Getting Started with Windows Workloads on Amazon EC2
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
AWS for Startups
AWS for StartupsAWS for Startups
AWS for Startups
 
Protecting Your Data in AWS
 Protecting Your Data in AWS Protecting Your Data in AWS
Protecting Your Data in AWS
 

Andere mochten auch

[AWSマイスターシリーズ]Amazon Relational Database Service (RDS)
[AWSマイスターシリーズ]Amazon Relational Database Service (RDS)[AWSマイスターシリーズ]Amazon Relational Database Service (RDS)
[AWSマイスターシリーズ]Amazon Relational Database Service (RDS)
Amazon Web Services Japan
 
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Polly (MAC204)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Polly (MAC204)AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Polly (MAC204)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Polly (MAC204)
Amazon Web Services
 

Andere mochten auch (20)

Deep Dive on Amazon RDS (May 2016)
Deep Dive on Amazon RDS (May 2016)Deep Dive on Amazon RDS (May 2016)
Deep Dive on Amazon RDS (May 2016)
 
Deep Dive: Amazon RDS
Deep Dive: Amazon RDSDeep Dive: Amazon RDS
Deep Dive: Amazon RDS
 
Securing Serverless Architectures
Securing Serverless ArchitecturesSecuring Serverless Architectures
Securing Serverless Architectures
 
AWS business essentials - Toronto
AWS   business essentials - TorontoAWS   business essentials - Toronto
AWS business essentials - Toronto
 
Another Day, Another Billion Packets
Another Day, Another Billion PacketsAnother Day, Another Billion Packets
Another Day, Another Billion Packets
 
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer ToolsDevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
 
Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million Users
 
Continuous Delivery to Amazon ECS
Continuous Delivery to Amazon ECSContinuous Delivery to Amazon ECS
Continuous Delivery to Amazon ECS
 
Running Microsoft Workloads on AWS
Running Microsoft Workloads on AWSRunning Microsoft Workloads on AWS
Running Microsoft Workloads on AWS
 
Streaming Data Analytics with Kinesis Firehouse and Redshift
Streaming Data Analytics with Kinesis Firehouse and RedshiftStreaming Data Analytics with Kinesis Firehouse and Redshift
Streaming Data Analytics with Kinesis Firehouse and Redshift
 
Deep Dive on Microservices and Amazon ECS
Deep Dive on Microservices and Amazon ECSDeep Dive on Microservices and Amazon ECS
Deep Dive on Microservices and Amazon ECS
 
AWS June 2016 Webinar Series - Amazon Aurora Deep Dive - Optimizing Database ...
AWS June 2016 Webinar Series - Amazon Aurora Deep Dive - Optimizing Database ...AWS June 2016 Webinar Series - Amazon Aurora Deep Dive - Optimizing Database ...
AWS June 2016 Webinar Series - Amazon Aurora Deep Dive - Optimizing Database ...
 
Deep Dive on Amazon DynamoDB
Deep Dive on Amazon DynamoDBDeep Dive on Amazon DynamoDB
Deep Dive on Amazon DynamoDB
 
AWS re:Invent 2016: Chalk Talk: Applying Security-by-Design to Drive Complian...
AWS re:Invent 2016: Chalk Talk: Applying Security-by-Design to Drive Complian...AWS re:Invent 2016: Chalk Talk: Applying Security-by-Design to Drive Complian...
AWS re:Invent 2016: Chalk Talk: Applying Security-by-Design to Drive Complian...
 
Deep Dive on Microservices and Amazon ECS
Deep Dive on Microservices and Amazon ECSDeep Dive on Microservices and Amazon ECS
Deep Dive on Microservices and Amazon ECS
 
AWS Elemental Services for Video Processing and Delivery
AWS Elemental Services for Video Processing and DeliveryAWS Elemental Services for Video Processing and Delivery
AWS Elemental Services for Video Processing and Delivery
 
Amazon Aurora Deep Dive (db tech showcase 2016)
Amazon Aurora Deep Dive (db tech showcase 2016)Amazon Aurora Deep Dive (db tech showcase 2016)
Amazon Aurora Deep Dive (db tech showcase 2016)
 
[AWSマイスターシリーズ]Amazon Relational Database Service (RDS)
[AWSマイスターシリーズ]Amazon Relational Database Service (RDS)[AWSマイスターシリーズ]Amazon Relational Database Service (RDS)
[AWSマイスターシリーズ]Amazon Relational Database Service (RDS)
 
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Polly (MAC204)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Polly (MAC204)AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Polly (MAC204)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Polly (MAC204)
 
Deep Dive on Amazon Relational Database Service
Deep Dive on Amazon Relational Database ServiceDeep Dive on Amazon Relational Database Service
Deep Dive on Amazon Relational Database Service
 

Ähnlich wie Deep Dive on Amazon Relational Database Service

State of the Union: Database & Analytics
State of the Union: Database & AnalyticsState of the Union: Database & Analytics
State of the Union: Database & Analytics
Amazon Web Services
 

Ähnlich wie Deep Dive on Amazon Relational Database Service (20)

Deep Dive on Amazon Relational Database Service
Deep Dive on Amazon Relational Database ServiceDeep Dive on Amazon Relational Database Service
Deep Dive on Amazon Relational Database Service
 
AWS Big Data Solution Days
AWS Big Data Solution DaysAWS Big Data Solution Days
AWS Big Data Solution Days
 
Introduction to Amazon Relational Database Service (Amazon RDS)
Introduction to Amazon Relational Database Service (Amazon RDS)Introduction to Amazon Relational Database Service (Amazon RDS)
Introduction to Amazon Relational Database Service (Amazon RDS)
 
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database ServiceIntroduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
 
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
 
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database ServiceIntroduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
 
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database ServiceIntroduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
 
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database ServiceIntroduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
 
PASS 17: RDS SQL Server on Amazon Web Services Overview
PASS 17: RDS SQL Server on Amazon Web Services OverviewPASS 17: RDS SQL Server on Amazon Web Services Overview
PASS 17: RDS SQL Server on Amazon Web Services Overview
 
Managed Relational Databases
Managed Relational DatabasesManaged Relational Databases
Managed Relational Databases
 
Cloud Migration, Application Modernization, and Security
Cloud Migration, Application Modernization, and Security Cloud Migration, Application Modernization, and Security
Cloud Migration, Application Modernization, and Security
 
PostgreSQL
PostgreSQL PostgreSQL
PostgreSQL
 
PostgreSQL
PostgreSQLPostgreSQL
PostgreSQL
 
What’s New in Amazon RDS for Open-Source and Commercial Databases
What’s New in Amazon RDS for Open-Source and Commercial DatabasesWhat’s New in Amazon RDS for Open-Source and Commercial Databases
What’s New in Amazon RDS for Open-Source and Commercial Databases
 
Cloud Migration, Application Modernization and Security for Partners
Cloud Migration, Application Modernization and Security for PartnersCloud Migration, Application Modernization and Security for Partners
Cloud Migration, Application Modernization and Security for Partners
 
Build A Website on AWS for Your First 10 Million Users
Build A Website on AWS for Your First 10 Million UsersBuild A Website on AWS for Your First 10 Million Users
Build A Website on AWS for Your First 10 Million Users
 
What’s New in Amazon RDS for Open-Source and Commercial Databases
What’s New in Amazon RDS for Open-Source and Commercial DatabasesWhat’s New in Amazon RDS for Open-Source and Commercial Databases
What’s New in Amazon RDS for Open-Source and Commercial Databases
 
State of the Union: Database & Analytics
State of the Union: Database & AnalyticsState of the Union: Database & Analytics
State of the Union: Database & Analytics
 
Your First 10 million Users on the AWS Cloud
Your First 10 million Users on the AWS CloudYour First 10 million Users on the AWS Cloud
Your First 10 million Users on the AWS Cloud
 
Cloud Migration, Application Modernization and Security for Partners
Cloud Migration, Application Modernization and Security for PartnersCloud Migration, Application Modernization and Security for Partners
Cloud Migration, Application Modernization and Security for Partners
 

Mehr von Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Mehr von Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Deep Dive on Amazon Relational Database Service

  • 1. ©  2016,  Amazon  Web  Services,  Inc.  or  its  Affiliates.  All  rights  reserved. 7  July  2016 Deep  Dive  on  Amazon  Relational   Database  Service Martin  Minnock,  Centre  for  Innovation  &  Analytics,  Aon Paul  Burne  -­ Technical  Account  Manager,  AWS Toby  Knight  -­ Manager,  Solutions  Architecture,  AWS
  • 2. What  to  expect • Amazon  RDS  overview  (super  quick) • Security • Customer  story • Migrating  to  RDS • Metrics  and  monitoring • Scaling  on  RDS • Backups  and  snapshots • High  availability
  • 3. No  infrastructure   management Scale  up/down Cost-­effective Instant  provisioning Application   compatibility Amazon  Relational   Database  Service  (Amazon  RDS)
  • 4. Amazon  RDS  engines Commercial Open  source Amazon  Aurora
  • 5. Amazon  Aurora  vs.  MySQL Feature RDS  Aurora RDS MySQL Number  of  replicas Up  to  15 Up  to  5 Replication  type Asynchronous   (milliseconds)   Asynchronous   (seconds) Replication  performance  impact  on   primary Low High Replica  can  act  as  failover  target Yes  (no  data  loss) Yes  (potentially  minutes  of  loss) Storage Up  to  64  TB,  auto  growth Up  to  6  TB,  specify  storage  limit Automated  failover Yes,  to  replica   Yes,  to  standby   User-­‐defined  replication  delay No Yes Replica  support  for  different  data  or   schema  vs.  primary No Yes Cross-­‐region  replication No Yes Data  cache  survives   Yes No
  • 6. Trade-­offs  with  a  managed  service Fully  managed  host  and  OS • No  access  to  the  database  host  operating  system • Limited  ability  to  modify  configuration  that  is  managed  on  the   host  operating  system • No  functions  that  rely  on  configuration  from  the  host  OS Fully  managed  storage • Max  storage  limits • SQL  Server—4  TB • MySQL,  MariaDB,  PostgreSQL,  Oracle—6  TB • Aurora—64  TB • Growing  your  database  is  a  process
  • 9. Amazon  Virtual  Private  Cloud  (Amazon  VPC) Securely  control  network  configuration Availability  Zone AWS   Region 10.1.0.0/16 10.1.1.0/24 Manage  connectivity AWS  Direct   Connect VPN   Connection VPC   Peering Internet   Gateway Routing   Rules
  • 10. Security  groups Database  IP  firewall  protection Protocol Port  Range Source TCP 3306 172.31.0.0/16 TCP 3306 “Application security  group” Corporate  address  admins Application  tier
  • 12. MySQL  and  Oracle • SOC  1,  2,  and  3 • ISO  27001/9001 • ISO  27017/27018 • PCI  DSS • FedRamp • HIPAA  BAA • UK  government  programs • Singapore  MTCS Compliance SQL  Server  and  PostgreSQL • SOC  1,  2,  and  3 • ISO  27001/9001 • ISO  27017/27018 • PCI  DSS • UK  government  programs • Singapore  MTCS
  • 13. SSL Available  for  all  six  engines Using  SSL  to  encrypt  a  connection  to  a  DB  instance mysql -h myinstance.c9akciq32.rds-eu-west-1.amazonaws --ssl-ca=rds-combined-ca-bundle.pem --ssl-verify-server-cert.com
  • 14. At-­rest  encryption • DB  instance  storage • Automated  backups • Read  Replicas • Snapshots • Available  for  all  six  engines • No  additional  cost • Support  compliance  requirements
  • 15. AWS  KMS  — RDS  standard  encryption Two-­tiered  key  hierarchy  using  envelope  encryption • Unique  data  key  encrypts  customer  data • AWS  KMS  master  keys  encrypt  data  keys Benefits: • Limits  risk  of  compromised  data  key • Better  performance  for  encrypting  large  data • Easier  to  manage  small  number  of  master  keys   than  millions  of  data  keys • Centralized  access  and  audit  of  key  activity Data  Key  1 Amazon   S3  Object Amazon   EBS   Volume Amazon   Redshift   Cluster Data  Key  2 Data  Key  3 Data  Key  4 Custom Application Customer  Master Key(s)
  • 16. Enabling  encryption AWS  Command  Line  Interface  (AWS  CLI) aws  rds  create-­db-­instance  -­-­region  us-­west-­2  -­-­db-­instance-­identifier  sg-­cli-­test   -­-­allocated-­storage  20  -­-­storage-­encrypted -­-­db-­instance-­class  db.m4.large  -­-­engine  mysql   -­-­master-­username  myawsuser  -­-­master-­user-­password  myawsuser aws  rds  create-­db-­instance  -­-­region  us-­west-­2  -­-­db-­instance-­identifier  sg-­cli-­test1   -­-­allocated-­storage  20  -­-­storage-­encrypted    -­-­kms-­key-­id  xxxxxxxxxxxxxxxxxx   -­-­db-­instance-­class  db.m4.large  -­-­engine  mysql   -­-­master-­username  myawsuser   -­-­master-­user-­password  myawsuser
  • 17. Amazon  RDS  +  AWS  KMS  useful  hints   • You  can  only  encrypt  on  new  database  creation • Encryption  cannot  be  removed • Master  and  Read  Replica  must  be  encrypted • Unencrypted  snapshots  cannot  be  restored  to  encrypted  DB • Cannot  restore  MySQL  to  Aurora  or  Aurora  to  MySQL • Cannot  copy  snapshots  or  replicate  DB  across  regions
  • 18. IAM  governed  access You  can  use  AWS  Identity  and  Access  Management  (IAM)   to  control  who  can  perform  actions  on  RDS Users  and  DBAApplications DBA  and  Ops Your  database RDS Controlled  with  IAMControlled  with  database  grants
  • 19. IAM  governed  access Policies "Action":  [ "rds:Describe*", "rds:ListTagsForResource", "ec2:DescribeAccountAttributes", "ec2:DescribeAvailabilityZones", "ec2:DescribeSecurityGroups", "ec2:DescribeVpcs”, "cloudwatch:GetMetricStatistics", "logs:DescribeLogStreams",   "logs:GetLogEvents" ], "Effect":  "Allow", "Resource":  "*" "Action":  [ "rds:*", "cloudwatch:DescribeAlarms", "cloudwatch:GetMetricStatistics", "ec2:DescribeAccountAttributes", "ec2:DescribeAvailabilityZones", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "ec2:DescribeVpcs", "sns:ListSubscriptions", "sns:ListTopics",   "logs:DescribeLogStreams",   "logs:GetLogEvents"   ], "Effect":  "Allow", "Resource":  "*" Read  Only Full  Access
  • 20. Prepared  by  Aon   Inpoint  |  July  2016   RDS  Deep  Dive Martin  Minnock  -­ Aon  Centre  for  Innovation  &  Analytics
  • 21. 130+  staff Data  Analysts  |  Data  Scientists   |  Business  Analysts  |  IT  Development,   Database  &  Infrastructure  Specialists Platforms,  Projects  &  Services multi-­channel  web  portals  |  ad-­hoc   reporting  |  statistical  analysis  |   machine  learning  initiatives Dublin  Centre  for  Innovation  and  Analytics  at  the  heart  of  Aon  Inpoint Agile  Scrum 16  cross-­functional  teams   Agile  Scrum  &  Kanban 2  weekly  sprints  |  Incremental  releases Aon  Inpoint  &  ACIA  (Dublin)
  • 22. ACIA  Reference  Architecture  for  Analytics Data  Transformation  &  AnalysisData  Lake  Ingestion Database File/Object   Storage Message   Channel consume Data  Warehouses Advanced  Analysis Mart Marts Mart Mart Analytics   Distribution Bespoke   Analysis Reports APIs Web  Portal Dashboards Application  Middleware OrchestrationData  Sources Transactional Systems Documents Public Sources Reference Data Logs SQL APIs JSON/ XML SFTP/ PUT Metadata Workflow  &  BatchMessaging Technology  Management MonitoringSecurity Backup  &  Recovery ITIL  Service   Management integrate Logging  &  Audit.
  • 23. Drivers  for  AWS  Cloud  Adoption Performance  and  Productivity Poor  server  performance Re-­purposing/refreshing   hardware Capacity  planning  fails Cumbersome  work  practices Engagement   Focus  on  business  differentiation Promote  experimentation  &  fail-­ fast Drive  innovation Develop  careers Costs  and  Risks   Poor  utilisation Responsiveness   to  change Emerging  security  standards Ageing  hardware  /  EoL Separation  of  duties Platform  for  Growth Global  user  base   Data  increase  across  4V’s   Auto-­scaling  analytics   Democratisation  of  data Relentless  business  appetite
  • 24. Backend   Databases  for: Analytics   Delivery Analytics   Engine New Products Lift  &  Shift   Targets Short-­Life  POC   systems Precedent  for   native  AWS   services How  ACIA  uses  RDS
  • 25. Risk/View  – Analytics  Platform  for  Market  &  Risk  Insights Rapid  Updates,   Agile  delivery Customisable   Future-­ Proofed,   Flexible Focused  on   Self-­Service  &   Automation Highly   Available Resource   Intensive
  • 26. Challenges  (and  Solutions) 3rd Party  ToolsDatabase  Refreshes Missing  Functionality EC2  (&  BA) RDS  in  the  Ecosystem AWS  DMS
  • 27. Complete  Lift  &  Shift  – 100%  AWS Data  Lake  – feat.  S3,  EMR,  and  ECS   New  Product  Development RDS  for  PostgreSQL,  AWS  Lambda  for  Python Innovation!  Data  Science  &  Machine  Learning Intentions  for  the  Future  – RDS  and  Beyond
  • 28. ©  Aon  plc  or  its  affiliates  ("Aon"). All  rights  reserved.   NOTE: Aon  does  not  provide  or  express  an  opinion  or  recommendation  regarding  any  matter  mentioned  in  this   presentation.The  recipient  understands  that  neither  Aon  nor  its  employees  makes  or  shall  make  any  representation  or   warranty  as  to  the  accuracy  or  completeness  of  any  information  contained  in  this  presentation. Aon  shall  not  have  any   liability  to  the  recipient  or  any  other  party  resulting  from  the  use  of  such  information  by  the  recipient  or  any  other  party. The  information  contained  in  this  presentation  may  not  be  reproduced  in  any  way  or  disseminated  to  any  other  party   without  the  prior  written  consent  of  Aon. Aon  has  endeavoured  to  ensure  that  this  presentation  is  free  of  any  virus  or  any  other  thing  that  would  affect  the   recipient’s  computer  system. However,  Aon  cannot  guarantee  the  security  status  of  this  presentation  when  accessed  by   the  reader  and  shall  not  have  any  liability  to  the  reader,  recipient  or  any  other  party  resulting  from  access  to  or  use  of  the   information  contained  herein. Disclaimer
  • 30. Historically,  Migration  =  Cost,  Time Commercial  data  migration  and  replication  software Complex  to  setup  and  manage Legacy  schema  objects,  PL/SQL  or  T-­SQL  code Application  downtime
  • 32. Step  1:  Schema  Conversion  Overview
  • 33. ü Move  data  to  the  same  or  different  database  engine   ü Keep  your  apps  running  during  the  migration ü Start  your  first  migration  in  10  minutes  or  less ü Replicate  within,  to,  or  from  Amazon  EC2  or  RDS AWS  Database   Migration  Service
  • 34. Customer premises Application  Users AWS Internet VPN Start  a  replication  instance Connect  to  source  and  target   database Select  tables,  schemas,  or   databases Let  the  AWS  Database  Migration   Service  create  tables,  load  data,   and  keep  them  in  sync Switch  applications  over  to  the   target  at  your  convenience Keep  your  apps  running  during  the  migration
  • 35. Flexible  Migration  Approach Replication instance Source Target Target Target Multiple  targets Replication instance Source Target Source Source Multiple  sources   Source L Target Replication instance instance Selective
  • 37. Summary  of  Metrics  and  Monitoring   • Amazon  RDS  Metrics • Event  Notifications • Log  Files • Cloudtrail
  • 39. Amazon  RDS  Standard  Metrics 45  MetricsChange  Time  Period Dive  Deeper Create   Alarms
  • 40. Amazon  RDS  Enhanced  Monitoring Access  to  over  50  metrics  in  7   categories: • Memory,   • I/O,   • CPU,   • File  system,   • Load,   • Swap • Processes  
  • 41. Amazon  RDS  Event  Notifications • Get  Notified  when  events  occur  on   your  database  instances • 17  different  event  categories   (availability,  backup,  configuration   change,  and  so  on) • Uses  Amazon  Simple  Notification   Service  (Amazon  SNS)  
  • 43. Scale  out  with  Read  Replicas Relieve  pressure  on  your  master   node  for  supporting  reads  and   writes. Bring  data  close  to  your  customer’s   applications  in  different  regions Promote  a  Read  Replica  to  a   master  for  faster  recovery  in  the   event  of  disaster Replicas  within  and  cross-­ region • MySQL,  MariaDB,   PostgreSQL • Aurora Engines  Needing   Other  Tools • Oracle   • Microsoft  SQL  Server
  • 44. Creating  and  Prompting  Read  Replicas   Read  Replica  creation   and  promotion  are   accessed  from  the   Instance  Actions  button   in  the  RDS  console
  • 45. Creating  and  Promoting  Read  Replicas  
  • 46. Creating  and  Promoting  Read  Replicas  With  CLI  
  • 47. Creating  and  Promoting  Read  Replicas  With  CLI  
  • 48. Scaling  Up  and  Down • Handle  higher  load  or  lower  usage • Control  costs
  • 49. Scaling  Up  and  Down Console
  • 51. RDS  Backups MySQL,  PostgreSQL,  MariaDB,  Oracle,  SQL  Server • Scheduled  daily  backup  of  entire  instance • Archive  database  change  logs • Up  to  35  day  retention  for  backups • I/O  suspension  as  backup  is  initiated  (but  not  with  multi-­AZ  deployment) • Multiple  copies  in  each  AZ  where  you  have  instances  for  a  deployment Aurora • Automatic,  continuous,  incremental  backups • Point-­in-­time  restore • No  impact  on  database  performance • 35  day  retention
  • 52. RDS  Restore • Restoring  creates  an  entire  new  database  instance • You  define  all  the  instance  configuration  just  like  a  new   instance
  • 53. Snapshots • Full  copies  of  your  Amazon  RDS  database  that  are  different  from   your  scheduled  backups • Backed  by  Amazon  S3 • Typical  use  cases • Resolve  production  issues • Nonproduction  environments • Point-­in-­time  restore • Final  copy  before  terminating  a  database • Disaster  recovery • Cross-­region  copy • Copy  between  accounts
  • 55. Minimal  deployment—single  AZ Availability  Zone AWS   Region 10.1.0.0/16 10.1.1.0/24 Amazon  Elastic  Block  Store   Volume
  • 56. High  availability—Multi-­AZ Availability  Zone  A AWS   Region 10.1.0.0/16 10.1.1.0/24 Availability  Zone  B 10.1.2.0/24 Replicated  storage Same  instance   type  as  master
  • 57. High  availability—Multi-­AZ  to  DNS dbinstancename.1234567890.us-­west-­2.rds.amazonaws.com:3006
  • 58. High  availability—Amazon  Aurora  storage • Storage  volume  automatically  grows  up  to   64 TB • Quorum  system  for  read/write;;  latency   tolerant • Peer-­to-­peer  gossip  replication  to  fill  in   holes • Continuous  backup  to  Amazon  S3  (built  for   11 9s  durability) • Continuous  monitoring  of  nodes  and  disks   for  repair   • 10  GB  segments  as  unit  of  repair  or  hotspot   rebalance • Quorum  membership  changes  do  not  stall   writes AZ  1 AZ  2 AZ  3 Amazon S3
  • 59. High  availability—Aurora  nodes • Aurora  cluster  contains  primary   node  and  up  to  15  secondary   nodes • Failing  database  nodes  are   automatically  detected  and   replaced • Failing  database  processes  are   automatically  detected  and  recycled • Secondary  nodes  automatically   promoted  on  persistent  outage,  no   single  point  of  failure • Customer  application  can  scale  out   read  traffic  across  secondary  nodes AZ  1 AZ  3AZ  2 Primary Node Primary Node Primary Node Primary Node Primary Node Secondary Node Primary Node Primary Node Secondary Node
  • 60. Aurora-­DNS  Failover App RunningFailure  Detection DNS  Propagation Recovery Recovery DB Failure MYSQL App Running Failure  Detection DNS  Propagation Recovery DB Failure AURORA  WITH  MARIADB  DRIVER 1 5 -­ 3 0   s e c 5 -­ 2 0   s e c 1 5 -­ 3 0   s e c Driver  benefits
  • 62. Contacts Martin  Minnock Cloud  Product  Owner  &  Database  Manager   Aon  Centre  for  Innovation  &  Analytics martin.minnock@aon.ie Paul  Burne Technical  Account  Manager Amazon  Web  Services paulburn@amazon.co.uk Toby  Knight Manager,  Solutions  Architecture Amazon  Web  Services tobyk@amazon.co.uk @martinminnock
  • 63. Please  remember  to  rate  this   session  under  My  Agenda  on   awssummit.london