No Data appearing in Redshift from MongoDB using AWS DMS

Viewed 170

I am trying to test the AWS data migration service to fetch some data from Atlas MongoDB to Redshift cluster, I have created the replication instance, both the endpoints, successfully tested the connection them and created the replication task, the task loads and completes normally but no data appears in redshift, just empty tables?

Anybody can you please help what might be the reason?

Load complete but no rows in table statistics

1 Answers

Ok so first try to debug it , modify the task and enable cloudwatch logs and run the task again and look at the logs , also enalbe data assessment task you will need to add an iam role for that. Some mistakes I made was that the endpoint for mongodb needs an atlasadmin login , no other will work , tell me if it did not work. Also make sure all tasks have correct db name , capitol letters matter , same happend with me , my endpoint had db name with small letters and my task had db name with capitol letter , the task was successful but no data.Lastly and most important is that make sure your mongo peering connection is correctly figured with aws. Im sure when you see the logs there will be an un authorized error.

Related