A step-by-step guide for giving a .NET Lambda function (connected to a VPC) access to AWS Secrets Manager via a NAT Gateway. Covers allocating an Elastic IP, creating the NAT Gateway on a public subnet, setting up a new route table, associating the private subnet, and adding a route directing internet traffic through the NAT Gateway — restoring Secrets Manager access without using a VPC Endpoint.
Table of contents
Why connect a Lambda function to the VPC?AssumptionsPrerequisiteConceptsStep by step1 Impression