top of page

AWS Database Migration Service

  • Writer: Anand Nerurkar
    Anand Nerurkar
  • Jan 23, 2025
  • 1 min read

Heterogenous Migration

===


offline migration- take db back up and recreate db in cloud


online migration - DMS support it for the application which is reading/writing to db and at the same time copy data to cloud db.


source db on ec2 instance

==


create target db-aurora mysl instance in aws

conenct to source db mysql as below


create db script to prepare this db as source db for the migration as below


execute above script to prepare db as source db for the migration.


Download and install AWS SCT


Use my sql workbanch and create target db instace connection with aurora writer endpoint as below


open taregt db conenction and in query editor , provide certain permision to execute script in target db as below


open SCT and enter details as below


conenct to source db as below with required driver


choose scema


This will perform dm migration assesment and provide the report for the same.


choose target db


will present action items which indicate

1- can be taken care

  1. need manual intervention


seldct sample and convert schema


select target sample and right click- applyu to database



above steps conclude schema migration.


now we will perform data migration


connect to target db instance in my sql workbench and open query editor


drop forien key or indexex so that data copy process run smoothly.


then we will update contraint again.



Goto AWS cosole ->DMS-> migration data->replication instance-create it


once it is created , create endpoint for source db and target db as below


source endpoint and target endpoint created


now we create database migration task

===



 
 
 

Recent Posts

See All
Best Chunking Practices

1. Chunk by Semantic Boundaries (NOT fixed size only) Split by sections, headings, paragraphs , or logical units. Avoid cutting a sentence or concept in half. Works best with docs, tech specs, policie

 
 
 
Future State Architecture

USE CASE: LARGE RETAIL BANK – DIGITAL CHANNEL MODERNIZATION 🔹 Business Context A large retail bank wants to “modernize” its digital channels (internet banking + mobile apps). Constraints: Heavy regul

 
 
 

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
  • Facebook
  • Twitter
  • LinkedIn

©2024 by AeeroTech. Proudly created with Wix.com

bottom of page