AWS Glue to MongoDb atlas - ServerSelectionTimeoutError -Timed out

0

Hi Team,

Have a AWS Glue job connection to mongo db atlas . Getting this error ServerSelectionTimeoutError: xyz.mongodb.net:27017: timed out error. How can i resolve this using AWS privatelink and MOngoDb service Endpoint ?

Thanks

MD
asked a month ago40 views
1 Answer
0

It seems your Glue job is still trying to reach to Mongodb over the public endpoint. If you are using and VPC endpoint, then in the connection settings for your Glue job, use the private DNS name of the MongoDB endpoint provided by the VPC endpoint, instead of the public xyz.mongodb.net address.

profile pictureAWS
EXPERT
AmerO
answered a month ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions