Reputation: 22356
Tried to find a way to put DynamoDB in a VPC but could not find so far.
For Lambda, it can be inside a VPC with ENI having an IP from a VPC subnet, and then the Lambda does not have any internet connectivity without NAT.
Please confirm, DynamoDB has no such feature and it is always internet facing, although we can route the traffic not to go to the Internet via DynamoDB VPC endpoint.
Upvotes: 2
Views: 4727
Reputation: 5954
DynamoDB Preventative Security Best Practices -
TLDR, main points -
1. Use IAM policy conditions for fine-grained access control
2. Use a VPC endpoint and policies to access DynamoDB
3. Encryption at rest
4. Use IAM roles
Upvotes: 1
Reputation: 644
Your are right, DynamoDB always internet-facing. Is it bother you? Access to DynamoDB denied without IAM authentication
Upvotes: 1
Reputation: 8885
That is correct. You can use IAM policies with conditions to limit access to within a VPC, however. Restricting Access to a Specific VPC
Upvotes: 4