- Newest
- Most votes
- Most comments
VPC dns Settings Make sure the VPC attached to the SageMaker job has: Enable DNS Resolution: Yes Enable DNS Hostnames: Yes
You can check these under VPC -->Your VPC--->Actions --->Edit DNS resolution/hostnames
Ensure your SageMaker job is launched into the private subnet that: Has access to the Route 53 Resolver outbound endpoint Has security group that allows outbound traffic to DNS resolvers (udp port 53,)
Verify this outbound endpoint is in the same VPC or shared via AWS RAM Forwarding rules are set for domains like internal.api.corp and point to the on-prem DNS IP Use Route 53 Resolver logging to confirm whether queries from SageMaker jobs are reaching the Resolver endpoint
Workeraroud launch your SageMaker Processing job with a custom script to overide resolv.conf you can use --network--config in your SageMaker SDK or API calls to specify networking
Ensure the SageMaker execution role has access to the VPC configuration
You can also use VPC endpoints if your internal services are hosted in AWS, consider exposing them via VPC interface Endpoints and routing through the AWS VPC DNS namespace
Relevant content
- asked a year ago
- asked 2 years ago
