Using VPC Endpoint for DynamoDB with Amazon.DynamoDBv2

Welcome to Programming Tutorial official website. Today - we are going to cover how to solve / find the solution of this error Using VPC Endpoint for DynamoDB with Amazon.DynamoDBv2 on this date .

I have a .Net core app hosted on Elastic beanstalk currently using DynamoDB with AWSSDK.DynamoDBv2 package and from what i understand, connection to dynamodb will happen over public internet unless i use the dynamodb vpc gateway endpoint.

How can i specific the vpc endpoint while using AWSSDK.DynamoDBv2 package ?

Answer

If your code runs in the VPC with the endpoint, you don’t need to do anything.

The VPC endpoint will “overwrite” the DNS name of the public endpoint and redirect the traffic to it over a private connection.