Sagemaker Pipeline connection to RDS times out but EC2 and Reachability Analyzer can connect? How to fix or debug?

0

We have a Sagemaker Notebook created via python .ipynb file. The preprocessing step sets the network_config like so:

Enter image description here

and runs the pipeline with outside network isolation:

Enter image description here

These are private subnets in VPC "ML". We have an RDS in VPC "Prod". The pipeline logs in CloudWatch show a timeout when trying to connect to RDS, which has public DNS and a security group. The security group for the pipeline has outbound access to anything (and the rds sg for good measure), and the RDS sg has inbound for the pipeline sg (and the CIDR of the PeerConnection).

I created an EC2 instance on the private ML VPC subset with the pipeline SG. This could reach the RDS.

I used Reachability Analyzer to trace that instance to the local IP of RDS. It worked, labeld "Reachable", like this:

Enter image description here

The security group and subnet of that instance are the same ones specified in the pipeline network_config.

How can I diagnose the Sagemaker Pipeline? Why will it not connect to RDS when my EC2 instance does connect? Any help would be great, thank you.

답변 없음

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

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

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

관련 콘텐츠