跳至內容

DMS serverless fails connecting to source endpoint using Secrets Manager

0

I have a DMS source endpoint (SQL Server) linked to a Secrets Manager secret with my DB credentials in it. I've previously created serverless tasks using this endpoint, which successfully performed initial load and CDC (and some are still actively pulling CDC). This indicates that The task, endpoint, secret and network are configured correctly, as well as any necessary IAM permissions.

However, as of yesterday, any attempt to create a new serverless migration task using the already existing endpoint/secret ends up failing with the following error:

Failed to fetch the secret from the AWS Secrets Manager. Please check if the permissions are set up correctly: https://docs.aws.amazon.com/dms/latest/userguide/security_iam_secretsmanager.html

In addition, when reviewing the "problematic" endpoint via the console and testing the connection manually - the test end up being successful.

UPDATE: Just to be sure, I've created a replication instance and a non-serverless replication task using the same source endpoint and it works fine. This issue seems to be limited to serverless tasks.

I'm wondering if I'm doing something wrong, or is it a faulty behaviour of DMS - does anyone else experience similar issues?

1 個回答
0

Hi,

I would first check the connectivity issues potentially associated to this migration task: is it in a vpc allowed to reach the DMS SQL Server endpoint? Can it reach the SM service point ? So, I'd look at corresponding routing tables, sec groups and vpc setup.

Best,

Didier

專家

已回答 3 年前

  • Thanks Didier, just to be sure I created a replication instance and tried running the task on it - that works fine, which indicated the issue is not around networking, IAM permissions or access to SM. It seems to be limited to serverless tasks.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。