Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dms s3 source endpoint connection fails

Getting below connection error when trying to validate S3 source endpoint of DMS.

Test Endpoint failed: Application-Status: 1020912, Application-Message: Failed to connect to database.

Followed all the steps listed in the below links but still maybe I am missing something...

https://aws.amazon.com/premiumsupport/knowledge-center/dms-connection-test-fail-s3/ https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.S3.html

The role associated with the endpoint does have access to the S3 bucket of the endpoint, along with dms being listed as trusted entity.

like image 877
nmakb Avatar asked Jan 27 '26 19:01

nmakb


1 Answers

I got this same error when trying to use S3 as a target.

The one thing not mentioned in the documentation, and which turned out to be the root cause for my error, is that the DMS Replication Instance and the Bucket need to be in the same region.

like image 137
Alex R Avatar answered Jan 29 '26 11:01

Alex R