DMS migration task failing to connect to S3

1

We have a DMS migration task that has been successfully running for months. Recently, it started failing. We've tried restarting and recreating the task, but it continues to fail. It looks like the failures are related to an S3 connection issue. We even tried deleting the default S3 bucket that is created and used by the DMS migration task, and then creating a new task that recreated the S3 bucket. Here is a sample of the errors that we are seeing in the DMS migration task logs.

2023-08-01T17:45:20 [SOURCE_CAPTURE ]E: Failed to list bucket 'dms-x-prod-redshift': error code <>: curlCode: 7, Couldn't connect to server [1001713] (s3_dir_actions.cpp:105)

2023-08-01T17:45:20 [SOURCE_CAPTURE ]I: Failed to list bucket 'dms-x-prod-redshift' (s3_dir_actions.cpp:209)

Ryan
posta 9 mesi fa708 visualizzazioni
2 Risposte
1
Risposta accettata

Is your DMS connected to a subnet in your VPC which

  1. doesn’t have a route to the internet via a NAT gateway
  2. is in a public subnet without a public IP
  3. Have a S3 gateway and can’t route via it.

The DMS if attaching to the VPC will need to be able resolve and connect to the S3 endpoint.

profile picture
ESPERTO
con risposta 9 mesi fa
profile picture
ESPERTO
verificato 9 mesi fa
  • Thank you for your response. We did discover that this problem started occurring after we upgraded to DMS 3.5.1 from DMS 3.4.6. I think we were able to resolve the issue by adding an S3 VPC gateway endpoint.

1

Make sure you have ephemeral ports open if a private subnet behind NAT!!

https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html#nacl-ephemeral-ports

mja311
con risposta 8 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande