Salta al contenuto

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

posta 2 anni fa243 visualizzazioni
1 Risposta
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.

AWS
ESPERTO
con risposta 2 anni fa
ESPERTO
verificato 2 anni 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.