Lambda Private Link

I followed the docs here:

I have a VPC with a private and a public subnet. The VPC endpoint is configured and both active on the AWS and the Atlas side.

In the Atlas UI I got the connection string for the PrivateLink connection.

When I try to connect a AWS Lambda function, residing in the private subnet, the connection times out.

Connection string looks like this: mongodb+srv://

Any help would be appreciated.

Hi @Florian_Bischoff,

Are you still having issues with connecting via the private endpoint? If so, I was wondering if you could provide the following details:

  • What type of cluster you’re trying to connect to (serverless or dedicated M10+)
  • The full connection error message
  • Is the endpoint created in the same region as the Atlas cluster?
  • Driver and driver version you’ve attempted to connect with