×
Community Blog Migrate Data From AWS DynamoDB To Alibaba Cloud ApsaraDB For MongoDB By Using NimoShake

Migrate Data From AWS DynamoDB To Alibaba Cloud ApsaraDB For MongoDB By Using NimoShake

This article introduces the migration framework of AWS DynamoDB to Alibaba Cloud ApsaraDB for MongoDB.

By Decai Xu

This article introduces the migration framework for transferring data from AWS DynamoDB to Alibaba Cloud ApsaraDB for MongoDB.

It outlines the following steps:

  1. Provision ApsaraDB for MongoDB on Alibaba Cloud and Apply Public Endpoint
  2. Install Nimoshake on AWS EC2
  3. Whitelist the Access From AWS EC2 to Alibaba Cloud ApsaraDB for MongoDB
  4. Configure Nimoshake and Start the Migrating Process
  5. Verify the Incremental Data on The Target Database

1. Create Alibaba Cloud MongoDB Instance (4.4 Version Sharded Cluster)

1
2

Nimoshake does not support MongoDB versions above v4.4, please be sure to use MongoDB 4.4, MongoDB 4.2 or MongoDB 4.0.

3

2. Apply for Public Connection String of MongoDB Instance

4
5

3. Create EC2 Instance for Deployment of Nimoshake

6
7
8

4. Add EC2 IP Address to Whitelist of MongoDB Instance

9

5. Deployment of Nimoshake and Data Migration

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
aws configure

10

wget https://github.com/alibaba/NimoShake/releases/download/release-v1.0.13-20220411/nimo-shake-v1.0.13.tar.gz
tar zxvf nimo-shake-v1.0.13.tar.gz
cd nimo-shake-v1.0.13/
vi nimo-shake.conf

Type AWS AK/SK and Region

11

Type Alibaba cloud MongoDB instance public connection string and cluster type.

12

./nimo-shake.linux -conf=nimo-shake.conf

13

6. Check Migration Result on Alibaba Cloud MongoDB Instance Using DMS

14

0 1 0
Share on

ApsaraDB

443 posts | 93 followers

You may also like

Comments

ApsaraDB

443 posts | 93 followers

Related Products