More Info:

A VPC endpoint for DynamoDB enables Amazon EC2 instances in your VPC to use their private IP addresses to access DynamoDB with no exposure to the public internet. Your EC2 instances do not require public IP addresses, and you do not need an internet gateway, a NAT device, or a virtual private gateway in your VPC.

Risk Level

Medium

Address

Security

Compliance Standards

HIPAA

Triage and Remediation

Remediation

To remediate the misconfiguration of VPC Endpoint not being enabled for DynamoDB in AWS, you can follow these steps using the AWS Management Console:

  1. Sign in to the AWS Management Console:

  2. Navigate to the VPC service:

    • In the AWS Management Console, search for “VPC” or locate the VPC service under the “Networking & Content Delivery” section.
  3. Create a VPC Endpoint for DynamoDB:

    • In the VPC dashboard, click on “Endpoints” in the left-hand menu.
    • Click on the “Create Endpoint” button.
    • For the service category, select “AWS services”.
    • For the service name, select com.amazonaws.<region>.dynamodb (replace <region> with the AWS region where your DynamoDB table is located).
    • For the VPC, select the VPC where your resources that need to access DynamoDB are located.
    • Select the route table associated with your VPC.
    • Choose whether to enable DNS name resolution for the endpoint.
    • Click on the “Create endpoint” button.
  4. Update Security Group Rules (if necessary):

    • If your resources are in a different security group than the DynamoDB endpoint, ensure that the security group rules allow traffic between the two.
  5. Verify the Endpoint Configuration:

    • Once the endpoint is created, verify that it is in the “available” state.
  6. Update the Route Tables (if necessary):

    • If the route tables in your VPC are not updated automatically, you may need to add a route to the DynamoDB VPC endpoint in the route tables associated with your subnets.

By following these steps, you will successfully enable a VPC Endpoint for DynamoDB in your AWS environment, ensuring secure and private communication between your VPC resources and DynamoDB.

Additional Reading: