top of page

AWS Database Migration Service

  • Writer: Anand Nerurkar
    Anand Nerurkar
  • Jan 23
  • 1 min read
ree
ree
ree
ree

Heterogenous Migration

===

ree

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

ree

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


ree
ree

source db on ec2 instance

==

ree

create target db-aurora mysl instance in aws

ree

conenct to source db mysql as below

ree

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

ree

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

ree

ree

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

ree

open SCT and enter details as below

ree

conenct to source db as below with required driver

ree

choose scema

ree

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

ree

choose target db

ree

will present action items which indicate

1- can be taken care

  1. need manual intervention

ree

seldct sample and convert schema

ree

select target sample and right click- applyu to database

ree

ree

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.


ree

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

ree

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

ree
ree

source endpoint and target endpoint created

ree

now we create database migration task

===

ree

ree

 
 
 

Recent Posts

See All
why springbatch job??

Spring Batch Job Spring Batch is designed exactly for batch workloads  like Pro*C migrations. ✅ Advantages: Chunk-oriented processing...

 
 
 
Pro*c Job to Spring Batch Job

Example1: 📌 Background Pro*C job  → Written in C with embedded SQL, often used for batch ETL-like jobs in Oracle. Spring Batch job  →...

 
 
 

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