0% found this document useful (0 votes)
45 views36 pages

Slides Migrate and Modernize Commercial Databases On AWS

Uploaded by

Bùi Kiệt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views36 pages

Slides Migrate and Modernize Commercial Databases On AWS

Uploaded by

Bùi Kiệt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 36

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Migrate and modernize commercial


databases on AWS

Barry Ooi Jay Shin


Sr. Database Solutions Architect Sr. Database Migration Specialist
AWS
AWS

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
• Key drivers for database migration and modernization

• Commercial database migration and modernization journey

• Migrate to Amazon RDS (Re-platform)


o How to migrate

o Demo

• Modernize to Amazon Aurora (Re-factor)


o How to modernize

o Demo

• Wrap-up

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Both migration and modernization are important
Innovation
velocity

Total cost of
ownership
(TCO)

On-premises Lift Move to Break free from Modernize with


and managed legacy databases purpose-built
shift databases databases

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of modernization

Audit

Cost Proprietary Lock in Punitive licensing You’ve got mail

Increased Reduced Performance Faster


agility cost and scale innovation

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Commercial database migration
& modernization journey

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Database migration and modernization journey

Migrate Modernize
Re-host Re-platform Re-factor

Self-managed MOVE TO MANAGED CLOUD NATIVE


databases run on virtual Managed provisioning, backups, High performance and scalability
machines (VMs) patching, monitoring, and scaling Save on licensing costs
No code changes No code changes

Amazon Amazon Amazon Amazon


RDBMS on Amazon EC2 Amazon RDS Aurora DynamoDB Neptune Redshift

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Re-host your database

Lower costs Reduce complexity

Lower compute costs with Amazon EC2, Amazon Infrastructure is managed so you can focus
EC2 Spot, fully-managed and self-managed options on your core business, not IT

Lower storage costs with fully provisioned capacity

Purchased
You pay on-premises
Modernize on your own timetable
Protected

Allocated Move now, Modernize


OR
You pay in the cloud modernize later while you move
Used

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenges of self-managed database platform

Hardware + Performance + Capacity Manage security


software availability planning + compliance
installation issues + cluster scaling

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why migrate to Amazon RDS
(Re-platform)

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Relational Database Service (RDS)
Set up, operate and scale managed database in a few clicks

Fully managed Flexible licensing Highly available Easy migration


Automated administrative License include subscriptions for Customize your workload for the Reduce the complexity of
tasks like provisioning, SQL Server availability that you need with migrating with like-to-like
patches, backup and recovery security and durability migration
Bring-your-own-license and license
Access the latest major and included options for Oracle Access to Amazon RDS Multi-AZ Deploy using the familiar code,
minor versions with one standby or with up to features, and tools of your favorite
No upfront fees or long-term five in-region readable replicas database
commitment with pay-as-you-go
or reserved pricing options Disaster recovery with cross- No schema conversion, simply
region read replica migrate to and from

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS Custom
Managed database for applications that require operating system and database customization

Managed experience Flexibility Granular control Lift & shift


Pause/resume RDS custom Custom patches or patching Full database and operating Make little to no application
automation schedules system access changes

Automatic provisioning, Ability to mount shared All resources are in customer’s Bring your third-party and
monitoring, backup, restore, storage volumes, such as AWS account packaged applications
point in time recovery, and Amazon EFS
scale compute Fine-grained access control Migrate with minimal
Run older Oracle database management downtime using native
versions database tools or the Amazon
Enable features like CLR or MS Database Migration Service
replication for SQL Server

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How to migrate to Amazon RDS

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Migrate database to Amazon RDS
Migrate on-premises or self-managed relational databases to managed services

• Migration options for SQL Server and Oracle


• Migration best practices

Amazon RDS/RDS Custom


Oracle, SQL Server

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Data migration with Amazon RDS for Oracle
Source database Data movement RDS for Oracle database instance

Logical export Oracle database links Logical import

SQL, log mining (shorter downtime) Network connectivity SQL


AWS Database Migration Service (DMS), Oracle Direct or via logical replication
GoldenGate

Oracle Data Pump (longer downtime) Oracle Data Pump


expdp, dbms_datapump, exp impdp, dbms_datapump, imp

Amazon Elastic File System


(Amazon EFS)

Amazon Simple Storage


Dump files Service (Amazon S3) Dump files

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Data migration with Amazon RDS for SQL Server
Source database Data movement RDS for SQL Server database instance

Logical export Logical import

SQL, log mining (shorter downtime) SQL linked server SQL


Customized log shipping, transactional replication, Direct or via logical replication
AWS Database Migration Service (DMS)
Network connectivity

SQL Server backup (longer downtime) SQL Server restore


Native restore (.bak, .trn file)
Native backup (.bak, .trn file)

Amazon Simple Storage


.bak, .trn files Service (Amazon S3) bak, trn files

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Database Migration Service (AWS DMS)

Customer AWS
premises

Application DMS replication


users AWS AWS instance
Database Direct Connect VPN Relational
database service

• Start AWS DMS replication instance • Let AWS DMS create tables,
• Connect to source and target databases load data, and keep them in
• Select tables, schemas, or databases sync

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Migration best practices
Oracle and SQL Server
• Use the latest database engine version
• Right size the RDS instance
• Disable Multi-AZ and backup retention (set 0) during data load
• Large database (Oracle)
▪ Export data in parallel mode
▪ If using AWS DMS or Oracle GoldenGate, ensure enough space to hold archive logs
▪ Use Amazon EFS integration to store large dump files
• Large database (SQL Server)
▪ Use compression and split your backup files
▪ Use multi-part upload to Amazon S3
▪ Using differential, log backup or AWS DMS to keep your database in sync

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo
Migrate self-managed SQL Server database to Amazon RDS
AWS Cloud

Virtual private cloud (VPC)

Private subnet Private subnet

SQL Server on Amazon Amazon Relational


Elastic Compute Cloud Database Service for SQL
(Amazon EC2) Server (Amazon RDS)

Backup Restore
Amazon Simple Storage
Service (Amazon S3)

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modernize your data infrastructure

Moving to managed Breaking free from Modernizing with


database services legacy databases purpose-built tools

Amazon
Aurora
DB on Amazon
Amazon EC2 ElastiCache
Amazon RDS Amazon Aurora
(Oracle or SQL Server) (MySQL, PostgreSQL)

On-prem DB Amazon
Relational
DynamoDB
database

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora
• MySQL and PostgreSQL compatible relational database built for the cloud
• Performance and availability of commercial-grade databases at 1/10th the cost

Performance Availability Highly secure Fully managed


and scalability and durability

5x throughput of MySQL Fault-tolerant self-healing storage Network isolation Managed by Amazon RDS
3x throughput of PostgreSQL Six copies of data across three AZs Encryption at rest/transit No hardware provisioning,
software patching, set up,
15 read replicas Continuous backup to Amazon S3
configuration, or backups
Scale out reads and writes Single global database with cross-
across multiple data centers region replication

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modernize to open source database
Modernize legacy commercial engines to open source

• Break free from legacy databases through heterogenous migration


• Re-architect database and application
• Simplicity, cost-effectiveness, and agility

Amazon Aurora
MySQL, PostgreSQL

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modernization journey

Create a case for change Mobilize through experiences Accelerate migration at scale

Phase Assess Mobilize Migrate and modernize

What do I have? How do I do it? Learn and do Migrate, modernize,


optimize, repeat

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Database Migration Service (AWS DMS)
Fleet Advisor

Assess
• Discover and inventory

• Collect metadata

• Gather usage data


AWS DMS Fleet Advisor
https://aws.amazon.com/ • Analyze infrastructure
dms/fleet-advisor/

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Schema Conversion Tool (AWS SCT)
Helps convert one database engine to another like Oracle to PostgreSQL

Assess
• Assess commercial
database schemas for
migration

Mobilize
• Help convert database
AWS SCT schemas and code

aws.amazon.com/dms/ • Help convert application


schema-conversion-tool embedded SQL

Migrate & modernize


© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Database Migration Service (AWS DMS)
Moving data to AWS

Assess
Sources
Oracle

SQL Server
Targets
Azure SQL Server
Oracle

• Migrate database data with PostgreSQL SQL Server

minimal downtime MySQL

Mobilize
PostgreSQL

SAP ASE MySQL

• Keep your apps running MongoDB SAP ASE

AWS DMS during the migration Amazon S3 Amazon Redshift

Amazon S3
IBM DB2 (LUW)
aws.amazon.com/dms Amazon DynamoDB
Amazon DocumentDB
Amazon Kinesis

Migrate & modernize


Amazon OpenSearch

Amazon DocumentDB

Amazon Neptune

Apache Kafka

Redis

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Optimize your application with purpose-built databases
• Modernize databases with microservices architecture

• Choose the right databases for the job

• Improve scalability and agility

• Optimize performance and cost


Amazon ElastiCache
Redis, Memcached
Amazon Aurora
MySQL, PostgreSQL
Amazon MemoryDB for Redis
Redis

Amazon DocumentDB
Amazon RDS MongoDB
MySQL, PostgreSQL

Amazon Keyspaces
Cassandra

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modernization best practices

• Automate to manage databases at scale


• Break free from legacy databases
• Choose the right database for the job
• Use case-driven and distributed databases
to fit your application
• Continuous optimization of your data

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo
Modernize Amazon RDS (Oracle) to Amazon Aurora PostgreSQL

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How can AWS help?
Create a case for change Mobilize through experiences Accelerate migration at scale

Assess Mobilize Migrate and modernize

AWS Schema Conversion Tool AWS Database Migration Service


Tools AWS DMS Fleet Advisor
(AWS SCT) (AWS DMS)

AWS Partners &


People AWS Solutions Architects & Amazon Database Migration Accelerator
Professional Services

Migration Acceleration Program (MAP)


Database Amazon Database Database migration best
Programs & Optimization and Licensing Assessment practices, playbooks, & guides
(OLA) Freedom Migration Accelerator

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS database services
aws.amazon.com/products/databases/

Database Freedom
aws.amazon.com/solutions/databasemigrations/database-freedom

Amazon Database Migration Accelerator (DMA)


aws.amazon.com/solutions/databasemigrations/database-

Learn more
migration-accelerator

Playbooks & guides


aws.amazon.com/products/databases/migrations

Migration playbooks
aws.amazon.com/dms/resources

Workshops
Amazon RDS for SQL Server
Amazon RDS for Oracle
AWS DMS
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Visit the AWS Data Resource Hub
A modern data strategy can help you manage, act on, and react to your
data so you can make better decisions, respond faster, and uncover new
opportunities. Dive deeper with these resources today.
• Maximizing business value with data: 6 essential data-driven use cases
for leaders
• The ultimate guide to developing an end-to-end data strategy
• 5 key elements of a data-driven culture https://tinyurl.com/data-hub-aws

• A builder's guide to AWS analytics services


• … and more!

Visit resource hub

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Training and Certification
Access 600+ free digital courses with AWS Skill Builder
Focus on the cloud skills and services that are most relevant to you
across 30+ AWS solutions, including digital self-paced learning plans
and ramp-up guides

• Build your future in the AWS Cloud at your own pace


• Advance your skills and knowledge with learning plans
• Validate your cloud expertise with AWS Certification

LEARN YOUR WAY SKILLBUILDER.AWS

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Working with AWS Partner Network
AWS Partners are uniquely positioned to help your organization at any stage of your cloud adoption
journey.

• Innovation – innovative and cost-effective scalable cloud


solutions and capabilities for your organization - helping
you keep pace with cutting edge technology changes.

• Expertise – strategic experts and experienced builders, Find and connect


with AWS Partners
providing groundbreaking, relevant and reliable solutions
to help your business grow.

• Global Reach - choose from the global community of


trusted AWS Partners across software, hardware, and
services.
Explore partner
offerings on AWS
Marketplace

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you for attending AWS Innovate – Data Edition
We hope you found it interesting! A kind reminder to complete the survey.
Let us know what you thought of today’s event and how we can improve the event
experience for you in the future.

[email protected]

twitter.com/AWSCloud

facebook.com/AmazonWebServices

youtube.com/user/AmazonWebServices

slideshare.net/AmazonWebServices

twitch.tv/aws

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.

You might also like