---
title: "Comment by Nilanth on \"Getting started with AWS Lambda and Serverless Framework\" | Hashnode"
description: "Nice Article Does this not require NAT Gateway to connect the Lambda with the internet?"
url: "https://hashnode.com/posts/getting-started-with-aws-lambda-and-serverless-framework/60e764df3dc33f032e23c08b/comment/60f6fde2410a0224b5d4f269"
---

[Discussion](https://hashnode.com/posts/getting-started-with-aws-lambda-and-serverless-framework/60e764df3dc33f032e23c08b)

Comment [Getting started with AWS Lambda and Serverless Framework](https://hashnode.com/posts/getting-started-with-aws-lambda-and-serverless-framework/60e764df3dc33f032e23c08b)

[Nilanth](https://hashnode.com/@Nilanth)

[Jul 20, 2021](https://hashnode.com/posts/getting-started-with-aws-lambda-and-serverless-framework/60e764df3dc33f032e23c08b/comment/60f6fde2410a0224b5d4f269)

Nice Article

Does this not require NAT Gateway to connect the Lambda with the internet?

[Tomasz Tarnowski](https://hashnode.com/@ttarnowski)

[Jul 20, 2021](https://hashnode.com/posts/getting-started-with-aws-lambda-and-serverless-framework/60e764df3dc33f032e23c08b/comment/60f6fde2410a0224b5d4f269#reply-60f712763e181324dac70e32)

Great question Nilanth!

I double-checked, and as long as your API Gateway endpoint is public, you don't need to use VPC at all.

Therefore to answer your question:

No, NAT Gateway is not required. You can make requests from your Lambda to any publicly available Internet endpoints.
