SlideShare a Scribd company logo
1 of 31
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Puneet Agarwal, Solutions Architect, AWS
April 28, 2016
Migrating your databases
to Amazon Aurora
Why migrate to Amazon Aurora?
Aurora is MySQL compatible
 Fully compatible with MySQL 5.6
using the InnoDB storage engine
 Code, applications, drivers, and
tools you already use with your
MySQL databases can be used
with Aurora with little or no change
Enterprise-class performance
 Provides ~ 5X the throughput of standard
MySQL running on the same hardware.
 Achieve up to 585,000 reads and 100,000
writes per second
 Read replicas with <10ms latency
Highly available and durable
 Six copies of data across three
Availability Zones with backups to
Amazon S3
 Automated failover in less than 30
seconds
 Instant crash recovery and survivable
caches
Highly scalable
 Push button scaling from 2 vCPU
and 15GiB memory up to 32 vCPUs
and 244GiB memory
 Automatic storage growth from 10G
to 64TB without performance impact
 Scale reads with up to 15 low
latency read replicas
Multiple levels of security
 Encrypt data at rest using keys you
create and control through AWS
KMS
 Encrypt data in transit using SSL
 Seamless encryption and
decryption, no application changes.
 Complete network isolation using
Amazon VPC
Fully managed
 Start database cluster in minutes
 Automatic OS and database patching
 Automatic backups and restores
 In-built advanced monitoring and alerts
Low cost
 Priced at 1/10th of the cost of
commercial database engines
 No licenses, no lock-in, pay only for
what you use
 Read replicas as standby instances
 Up to 63% discounts with reserved
instances
Rapid customer adoption
Fastest growing service
in AWS history
Database Migration Factors
Migration Factors: Source Database
Other MySQL
engines
Homogenous Migrations
Other non-
MySQL engines
Heterogenous Migrations
Migration Factors: Application Downtime
Migration with downtime Near zero downtime migration
binlog
replication
Replication
Instance
Load Backup
LoadBackup
 Ease of migration
 Migration cost
 Schema migration complexity
 Failback options
 Migration of databases with multiple
shards
 Migration of large databases
Other Migration Factors
Migration Tools
DB Snapshot Migration
 One-click migration from
RDS MySQL 5.6 to Aurora
 Automatic conversion from
MyISAM to InnoDB
 Migrate either manual or
automated snapshots
 Most migrations finish
under one hour, can take
more time for very large
databases
DB
Snapshot
One-click
Migrate
RDS MySQL
Master/Slave New Aurora
Cluster
Snapshot Migration Demo
DB Snapshot Migration
Pros
 Simplest method with the fewest number of steps
 Will migrate over all schema objects, secondary indexes, and stored
procedures along with all of the database data
Cons
 Requires downtime while snapshot is being migrated (or source DB must be in
read-only mode)
 Currently only works with RDS MySQL 5.6 snapshots
Recommendation
 Test migration time using previous RDS MySQL snapshot
 Use DB snapshot migration if migration time within downtime requirements
Schema Migration Tools
Homogenous Schema Copy
 Using mysqldump
 AWS Database Migration Service (DMS) basic schema copy
Heterogenous Schema Migrations
 AWS Schema Conversion Tool (migrate from Oracle, SQL Server, PostgreSQL)
 Manual schema migration
 Schema migration using other 3rd party tools
 Migrate from Oracle, SQL Server and
PostgreSQL
 Move your tables, views, stored
procedures, and data manipulation
language (DML) to MySQL, MariaDB,
PostgreSQL and Amazon Aurora
 Know exactly where manual edits are
needed
 Available for Microsoft Windows, Mac
and Linux desktops
AWS Schema Conversion
Tool
SCT Demo
AWS Schema conversion tool
Pros
 Automatic schema migration of most of your schema
 Detailed database migration assessment report
 Manual tasks categorized as simple (less than 1hr), medium (1 to 4 hrs)
and significant (more than 4 hrs)
 No additional cost
Cons
 Supports Oracle, SQL Server and PostgreSQL sources only
Recommendation
 Create assessment report during migration planning
 Use AWS Schema conversion tool for heterogeneous migrations
Data Movement Tools
Homogenous
• Using mysqldump / select into outfile
• AWS Database Migration Service one time copy
• AWS Database Migration Service with replication
• mysqldump + binlog replication
Heterogenous
 AWS Database Migration Service one time copy
 AWS Database Migration Service with replication
 Data replication using other 3rd party tools
 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 AWS EC2 or RDS
AWS Database Migration
Service
Customer
premises
Application users
AWS
Internet
VPN
Start a replication instance
Connect to source and target databases
Select tables, schemas, or databases
Let AWS Database Migration Service
create tables, load data, and keep
them in sync
Switch applications over to the target
at your convenience
DMS Migration Process
AWS
Database Migration
Service
DMS Demo
AWS Database Migration Tool
Pros
 Fast and parallel table loads
 Migration can be paused and restarted
 Selective table migration
 Fully managed replication using agent-less change data capture (CDC)
 Consolidate multiple sources in single target
 No additional cost, pay only for replication instance and storage
Cons
 Supports Oracle, SQL Server, PostgreSQL & MySQL compatible sources only
Recommendation
 Use DMS for both homogenous and heterogeneous migrations, easy to get started
 Use DMS if RDS DB snapshot migration takes long time
Aurora Database Migration Matrix
Source Database Type Migration With Downtime Near-zero Downtime Migration
RDS MySQL
Option 1: RDS Snapshot Migration
(Recommended)
Option 2: Database Migration Service
Option 3: Manual migration using mysqldump
Option 1: Schema migration with mysqldump +
Database Migration Service (Recommended)
Option 2: Manual migration using mysqldump and bin
log replication.
MySQL EC2/On-Prem
Option 1: Schema migration with mysqldump +
Database Migration Service (Recommended)
Option 2: Manual migration using mysqldump
Option 1: Schema migration with mysqldump +
Database Migration Service (Recommended)
Option 2: Manual migration using mysqldump and bin
log replication.
Oracle/SQL Server
Option 1: AWS Schema Conversion Tool +
Database Migration Service (Recommended)
Option 2: Manual/3rd party tool for schema
conversion and data movement
Option 1: AWS Schema Conversion Tool +
Database Migration Service (Recommended)
Option 2: Manual/3rd party tool for schema conversion
and data movement + 3rd party tool for replication
Other Non-MySQL Databases
Option: Manual/3rd party tool for schema
conversion and data movement
Option: Manual/3rd party tool for schema conversion
and data movement + 3rd party tool for replication
Q & A
Thank you!

More Related Content

What's hot

What's hot (20)

AWS re:Invent 2016: Cross-Region Replication with Amazon DynamoDB Streams (DA...
AWS re:Invent 2016: Cross-Region Replication with Amazon DynamoDB Streams (DA...AWS re:Invent 2016: Cross-Region Replication with Amazon DynamoDB Streams (DA...
AWS re:Invent 2016: Cross-Region Replication with Amazon DynamoDB Streams (DA...
 
Hands On Lab: Introduction to Microsoft SQL Server in AWS - May 2017 AWS Onli...
Hands On Lab: Introduction to Microsoft SQL Server in AWS - May 2017 AWS Onli...Hands On Lab: Introduction to Microsoft SQL Server in AWS - May 2017 AWS Onli...
Hands On Lab: Introduction to Microsoft SQL Server in AWS - May 2017 AWS Onli...
 
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
 
AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...
AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...
AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...
 
BDA302 Deep Dive on Migrating Big Data Workloads to Amazon EMR
BDA302 Deep Dive on Migrating Big Data Workloads to Amazon EMRBDA302 Deep Dive on Migrating Big Data Workloads to Amazon EMR
BDA302 Deep Dive on Migrating Big Data Workloads to Amazon EMR
 
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot InstancesWKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
 
Running Relational Databases on AWS
Running Relational Databases on AWS  Running Relational Databases on AWS
Running Relational Databases on AWS
 
AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)
AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)
AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)
 
ENT314 Automate Best Practices and Operational Health for Your AWS Resources
ENT314 Automate Best Practices and Operational Health for Your AWS ResourcesENT314 Automate Best Practices and Operational Health for Your AWS Resources
ENT314 Automate Best Practices and Operational Health for Your AWS Resources
 
SMC302 Building Serverless Web Applications
SMC302 Building Serverless Web ApplicationsSMC302 Building Serverless Web Applications
SMC302 Building Serverless Web Applications
 
Amazon Aurora for the Enterprise - August 2016 Monthly Webinar Series
Amazon Aurora for the Enterprise - August 2016 Monthly Webinar SeriesAmazon Aurora for the Enterprise - August 2016 Monthly Webinar Series
Amazon Aurora for the Enterprise - August 2016 Monthly Webinar Series
 
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceBDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
 
Workshop: AWS Lamda Signal Corps vs Zombies
Workshop: AWS Lamda Signal Corps vs ZombiesWorkshop: AWS Lamda Signal Corps vs Zombies
Workshop: AWS Lamda Signal Corps vs Zombies
 
Amazon Redshift
Amazon Redshift Amazon Redshift
Amazon Redshift
 
HSBC and AWS Day - Big Data and HPC on AWS
HSBC and AWS Day - Big Data and HPC on AWSHSBC and AWS Day - Big Data and HPC on AWS
HSBC and AWS Day - Big Data and HPC on AWS
 
AWS re:Invent 2016: 20k in 20 Days - Agile Genomic Analysis (ENT320)
AWS re:Invent 2016: 20k in 20 Days - Agile Genomic Analysis (ENT320)AWS re:Invent 2016: 20k in 20 Days - Agile Genomic Analysis (ENT320)
AWS re:Invent 2016: 20k in 20 Days - Agile Genomic Analysis (ENT320)
 
Introduction to Amazon Aurora
Introduction to Amazon AuroraIntroduction to Amazon Aurora
Introduction to Amazon Aurora
 
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
 
Wild Rydes - Serverless DevOps to the Rescue
Wild Rydes - Serverless DevOps to the RescueWild Rydes - Serverless DevOps to the Rescue
Wild Rydes - Serverless DevOps to the Rescue
 
Convert and Migrate Your NoSQL Database or Data Warehouse to AWS - May 2017 A...
Convert and Migrate Your NoSQL Database or Data Warehouse to AWS - May 2017 A...Convert and Migrate Your NoSQL Database or Data Warehouse to AWS - May 2017 A...
Convert and Migrate Your NoSQL Database or Data Warehouse to AWS - May 2017 A...
 

Viewers also liked

Viewers also liked (20)

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
 
Advanced data migration techniques for Amazon RDS
Advanced data migration techniques for Amazon RDSAdvanced data migration techniques for Amazon RDS
Advanced data migration techniques for Amazon RDS
 
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
 
AWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS OracleAWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS Oracle
 
Configuring MongoDB HA Replica Set on AWS EC2
Configuring MongoDB HA Replica Set on AWS EC2Configuring MongoDB HA Replica Set on AWS EC2
Configuring MongoDB HA Replica Set on AWS EC2
 
Sundog Media Toolkit
Sundog Media Toolkit Sundog Media Toolkit
Sundog Media Toolkit
 
AWS IoT - Introduction - Pop-up Loft
AWS IoT - Introduction - Pop-up LoftAWS IoT - Introduction - Pop-up Loft
AWS IoT - Introduction - Pop-up Loft
 
DevOps en Amazon: Un vistazo a nuestras herramientas y procesos
DevOps en Amazon: Un vistazo a nuestras herramientas y procesosDevOps en Amazon: Un vistazo a nuestras herramientas y procesos
DevOps en Amazon: Un vistazo a nuestras herramientas y procesos
 
Women in Technology: Supporting Diversity in a Technical Workplace
Women in Technology: Supporting Diversity in a Technical WorkplaceWomen in Technology: Supporting Diversity in a Technical Workplace
Women in Technology: Supporting Diversity in a Technical Workplace
 
Next Generation Open Data Platforms | AWS Public Sector Summit 2016
Next Generation Open Data Platforms | AWS Public Sector Summit 2016Next Generation Open Data Platforms | AWS Public Sector Summit 2016
Next Generation Open Data Platforms | AWS Public Sector Summit 2016
 
Simplestream
SimplestreamSimplestream
Simplestream
 
Event-Driven Serverless Apps - Pop-up Loft Tel Aviv
Event-Driven Serverless Apps - Pop-up Loft Tel AvivEvent-Driven Serverless Apps - Pop-up Loft Tel Aviv
Event-Driven Serverless Apps - Pop-up Loft Tel Aviv
 
Using amazon machine learning to identify trends in io t data technical 201
Using amazon machine learning to identify trends in io t data   technical 201Using amazon machine learning to identify trends in io t data   technical 201
Using amazon machine learning to identify trends in io t data technical 201
 
Movidiam
MovidiamMovidiam
Movidiam
 
AWSome Day Intro - Stockholm 20160308
AWSome Day Intro - Stockholm 20160308AWSome Day Intro - Stockholm 20160308
AWSome Day Intro - Stockholm 20160308
 
AWS Mobile Hub
AWS Mobile HubAWS Mobile Hub
AWS Mobile Hub
 
Ingest and storage options
Ingest and storage optionsIngest and storage options
Ingest and storage options
 
BBC
BBCBBC
BBC
 
Amazon ECS – Production Docker at Scale
Amazon ECS – Production Docker at ScaleAmazon ECS – Production Docker at Scale
Amazon ECS – Production Docker at Scale
 
The Modern Day Pressures and Trends Driving Cloud Access Requirements
The Modern Day Pressures and Trends Driving Cloud Access RequirementsThe Modern Day Pressures and Trends Driving Cloud Access Requirements
The Modern Day Pressures and Trends Driving Cloud Access Requirements
 

Similar to Migrating your Databases to Aurora - AWS April 2016 Webinar Series

strategies-for-migrating-oracle-database-to-aws
strategies-for-migrating-oracle-database-to-awsstrategies-for-migrating-oracle-database-to-aws
strategies-for-migrating-oracle-database-to-aws
Abdul Sathar Sait
 

Similar to Migrating your Databases to Aurora - AWS April 2016 Webinar Series (20)

Migrating On-Premises Databases to Cloud - AWS PS Summit Canberra
Migrating On-Premises Databases to Cloud - AWS PS Summit CanberraMigrating On-Premises Databases to Cloud - AWS PS Summit Canberra
Migrating On-Premises Databases to Cloud - AWS PS Summit Canberra
 
Migrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration ServiceMigrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration Service
 
Migrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration ServiceMigrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration Service
 
2016 Utah Cloud Summit: RDS
2016 Utah Cloud Summit: RDS2016 Utah Cloud Summit: RDS
2016 Utah Cloud Summit: RDS
 
database migration simple, cross-engine and cross-platform migrations with ...
database migration   simple, cross-engine and cross-platform migrations with ...database migration   simple, cross-engine and cross-platform migrations with ...
database migration simple, cross-engine and cross-platform migrations with ...
 
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
 
AWS-DMS-2023.pptx
AWS-DMS-2023.pptxAWS-DMS-2023.pptx
AWS-DMS-2023.pptx
 
RDS Postgres and Aurora Postgres | AWS Public Sector Summit 2017
RDS Postgres and Aurora Postgres | AWS Public Sector Summit 2017RDS Postgres and Aurora Postgres | AWS Public Sector Summit 2017
RDS Postgres and Aurora Postgres | AWS Public Sector Summit 2017
 
Amazon relational database service (rds)
Amazon relational database service (rds)Amazon relational database service (rds)
Amazon relational database service (rds)
 
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...
 
strategies-for-migrating-oracle-database-to-aws
strategies-for-migrating-oracle-database-to-awsstrategies-for-migrating-oracle-database-to-aws
strategies-for-migrating-oracle-database-to-aws
 
New Database Migration Services & RDS Updates
New Database Migration Services & RDS UpdatesNew Database Migration Services & RDS Updates
New Database Migration Services & RDS Updates
 
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database ServiceIntroduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
 
Migrating Your Oracle Database to PostgreSQL - AWS Online Tech Talks
Migrating Your Oracle Database to PostgreSQL - AWS Online Tech TalksMigrating Your Oracle Database to PostgreSQL - AWS Online Tech Talks
Migrating Your Oracle Database to PostgreSQL - AWS Online Tech Talks
 
Migrating Your Oracle Database to PostgreSQL - AWS Online Tech Talks
Migrating Your Oracle Database to PostgreSQL - AWS Online Tech TalksMigrating Your Oracle Database to PostgreSQL - AWS Online Tech Talks
Migrating Your Oracle Database to PostgreSQL - AWS Online Tech Talks
 
February 2016 Webinar Series - Introduction to AWS Database Migration Service
February 2016 Webinar Series - Introduction to AWS Database Migration ServiceFebruary 2016 Webinar Series - Introduction to AWS Database Migration Service
February 2016 Webinar Series - Introduction to AWS Database Migration Service
 
Migrating On-Premises Databases to Cloud
Migrating On-Premises Databases to CloudMigrating On-Premises Databases to Cloud
Migrating On-Premises Databases to Cloud
 
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...
 
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...
 
AWS re:Invent 2016: Amazon Aurora Best Practices: Getting the Best Out of You...
AWS re:Invent 2016: Amazon Aurora Best Practices: Getting the Best Out of You...AWS re:Invent 2016: Amazon Aurora Best Practices: Getting the Best Out of You...
AWS re:Invent 2016: Amazon Aurora Best Practices: Getting the Best Out of You...
 

More from 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
 

More from 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
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

Migrating your Databases to Aurora - AWS April 2016 Webinar Series

  • 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Puneet Agarwal, Solutions Architect, AWS April 28, 2016 Migrating your databases to Amazon Aurora
  • 2. Why migrate to Amazon Aurora?
  • 3. Aurora is MySQL compatible  Fully compatible with MySQL 5.6 using the InnoDB storage engine  Code, applications, drivers, and tools you already use with your MySQL databases can be used with Aurora with little or no change
  • 4. Enterprise-class performance  Provides ~ 5X the throughput of standard MySQL running on the same hardware.  Achieve up to 585,000 reads and 100,000 writes per second  Read replicas with <10ms latency
  • 5. Highly available and durable  Six copies of data across three Availability Zones with backups to Amazon S3  Automated failover in less than 30 seconds  Instant crash recovery and survivable caches
  • 6. Highly scalable  Push button scaling from 2 vCPU and 15GiB memory up to 32 vCPUs and 244GiB memory  Automatic storage growth from 10G to 64TB without performance impact  Scale reads with up to 15 low latency read replicas
  • 7. Multiple levels of security  Encrypt data at rest using keys you create and control through AWS KMS  Encrypt data in transit using SSL  Seamless encryption and decryption, no application changes.  Complete network isolation using Amazon VPC
  • 8. Fully managed  Start database cluster in minutes  Automatic OS and database patching  Automatic backups and restores  In-built advanced monitoring and alerts
  • 9. Low cost  Priced at 1/10th of the cost of commercial database engines  No licenses, no lock-in, pay only for what you use  Read replicas as standby instances  Up to 63% discounts with reserved instances
  • 10. Rapid customer adoption Fastest growing service in AWS history
  • 12. Migration Factors: Source Database Other MySQL engines Homogenous Migrations Other non- MySQL engines Heterogenous Migrations
  • 13. Migration Factors: Application Downtime Migration with downtime Near zero downtime migration binlog replication Replication Instance Load Backup LoadBackup
  • 14.  Ease of migration  Migration cost  Schema migration complexity  Failback options  Migration of databases with multiple shards  Migration of large databases Other Migration Factors
  • 16. DB Snapshot Migration  One-click migration from RDS MySQL 5.6 to Aurora  Automatic conversion from MyISAM to InnoDB  Migrate either manual or automated snapshots  Most migrations finish under one hour, can take more time for very large databases DB Snapshot One-click Migrate RDS MySQL Master/Slave New Aurora Cluster
  • 18. DB Snapshot Migration Pros  Simplest method with the fewest number of steps  Will migrate over all schema objects, secondary indexes, and stored procedures along with all of the database data Cons  Requires downtime while snapshot is being migrated (or source DB must be in read-only mode)  Currently only works with RDS MySQL 5.6 snapshots Recommendation  Test migration time using previous RDS MySQL snapshot  Use DB snapshot migration if migration time within downtime requirements
  • 19. Schema Migration Tools Homogenous Schema Copy  Using mysqldump  AWS Database Migration Service (DMS) basic schema copy Heterogenous Schema Migrations  AWS Schema Conversion Tool (migrate from Oracle, SQL Server, PostgreSQL)  Manual schema migration  Schema migration using other 3rd party tools
  • 20.  Migrate from Oracle, SQL Server and PostgreSQL  Move your tables, views, stored procedures, and data manipulation language (DML) to MySQL, MariaDB, PostgreSQL and Amazon Aurora  Know exactly where manual edits are needed  Available for Microsoft Windows, Mac and Linux desktops AWS Schema Conversion Tool
  • 22.
  • 23. AWS Schema conversion tool Pros  Automatic schema migration of most of your schema  Detailed database migration assessment report  Manual tasks categorized as simple (less than 1hr), medium (1 to 4 hrs) and significant (more than 4 hrs)  No additional cost Cons  Supports Oracle, SQL Server and PostgreSQL sources only Recommendation  Create assessment report during migration planning  Use AWS Schema conversion tool for heterogeneous migrations
  • 24. Data Movement Tools Homogenous • Using mysqldump / select into outfile • AWS Database Migration Service one time copy • AWS Database Migration Service with replication • mysqldump + binlog replication Heterogenous  AWS Database Migration Service one time copy  AWS Database Migration Service with replication  Data replication using other 3rd party tools
  • 25.  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 AWS EC2 or RDS AWS Database Migration Service
  • 26. Customer premises Application users AWS Internet VPN Start a replication instance Connect to source and target databases Select tables, schemas, or databases Let AWS Database Migration Service create tables, load data, and keep them in sync Switch applications over to the target at your convenience DMS Migration Process AWS Database Migration Service
  • 28. AWS Database Migration Tool Pros  Fast and parallel table loads  Migration can be paused and restarted  Selective table migration  Fully managed replication using agent-less change data capture (CDC)  Consolidate multiple sources in single target  No additional cost, pay only for replication instance and storage Cons  Supports Oracle, SQL Server, PostgreSQL & MySQL compatible sources only Recommendation  Use DMS for both homogenous and heterogeneous migrations, easy to get started  Use DMS if RDS DB snapshot migration takes long time
  • 29. Aurora Database Migration Matrix Source Database Type Migration With Downtime Near-zero Downtime Migration RDS MySQL Option 1: RDS Snapshot Migration (Recommended) Option 2: Database Migration Service Option 3: Manual migration using mysqldump Option 1: Schema migration with mysqldump + Database Migration Service (Recommended) Option 2: Manual migration using mysqldump and bin log replication. MySQL EC2/On-Prem Option 1: Schema migration with mysqldump + Database Migration Service (Recommended) Option 2: Manual migration using mysqldump Option 1: Schema migration with mysqldump + Database Migration Service (Recommended) Option 2: Manual migration using mysqldump and bin log replication. Oracle/SQL Server Option 1: AWS Schema Conversion Tool + Database Migration Service (Recommended) Option 2: Manual/3rd party tool for schema conversion and data movement Option 1: AWS Schema Conversion Tool + Database Migration Service (Recommended) Option 2: Manual/3rd party tool for schema conversion and data movement + 3rd party tool for replication Other Non-MySQL Databases Option: Manual/3rd party tool for schema conversion and data movement Option: Manual/3rd party tool for schema conversion and data movement + 3rd party tool for replication
  • 30. Q & A