Home › Forums › AWS › AWS Certified Solutions Architect Professional › Question on Lambda connectivity to VPC hosted DB › Reply To: Question on Lambda connectivity to VPC hosted DB
-
Hi Varun,
Take note that it is a common misconception that the “NAT was present already” simply because the Lambda function is working properly.
Please refer to the AWS documentation below:
By default, Lambda runs your functions in a secure VPC with access to AWS services and the internet. The VPC is owned by Lambda and does not connect to your account’s default VPC. When you connect a function to a VPC in your account, it does not have access to the internet unless your VPC provides access.
Reference:
https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html#vpc-internet
Let us know if you need further assistance. The Tutorials Dojo team is dedicated to help you pass your AWS exam on your first try!
Regards,
Jon Bonso @ Tutorials Dojo