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
질문됨 9달 전708회 조회
2개 답변
1
수락된 답변

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
전문가
답변함 9달 전
profile picture
전문가
검토됨 9달 전
  • 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
답변함 8달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠