---
title: "Discussion on \"Getting started with AWS Lambda and Serverless Framework\" | Hashnode"
description: "Discussion on \"Getting started with AWS Lambda and Serverless Framework\". https://www.youtube.com/watch?v=JL_7Odb7GLM\nIn this article, you're going to learn how to deploy your first AWS Lambda Function as an API Gateway endpoint without much of a hassle thanks to the Serverless Framework.\nThe technologies used in this tuto..."
url: "https://hashnode.com/posts/getting-started-with-aws-lambda-and-serverless-framework/60e764df3dc33f032e23c08b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Getting started with AWS Lambda and Serverless Framework](https://blog.tomasztarnowski.com/getting-started-with-aws-lambda-and-serverless-framework?utm_source=hashnode&utm_medium=feed)

https://www.youtube.com/watch?v=JL\_7Odb7GLM In this article, you're going to learn how to deploy your first AWS Lambda Function as an API Gateway endpoint without much of a hassle thanks to the Serverless Framework. The technologies used in this tuto...

Jul 8, 2021 · 7 min read · blog.tomasztarnowski.com  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#aws-lambda](https://hashnode.com/tag/aws-lambda)
-   [#serverless](https://hashnode.com/tag/serverless)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

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

@ttarnowski · London, UK

  
[View profile](https://hashnode.com/@ttarnowski)

Software Developer

Hey, I'm a polyglot Full Stack Software Engineer and IoT enthusiast. I write about Node.js, AWS, Serverless, TypeScript, IoT, and Software Development in general. You can also find me on these platforms: https://linktr.ee/ttarnowski

## Responses 8

Markdown supported · ⌘↵ to post

[Siddharth Vishvanath (Sid)](https://hashnode.com/@Sid92)

[May 6, 2022](https://hashnode.com/posts/getting-started-with-aws-lambda-and-serverless-framework/60e764df3dc33f032e23c08b/comment/6275132d50c6035691e2a979)

Really well written article, I just have a question about the serverless config file itself,

I used your article to create the lambda function and able to trigger the endpoint. Now i want to add a Dynamo DB and a step function to the serverless config file, initially when we create the project, we used a template to generate the YAML file, now in order for the lambda to interact with the AWS services, what changes do i make within the function section so that when my endpoint is triggered I am able to putItem into DynamoDB and with that start a step function workflow ?

[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.

[Gayatri Kale](https://hashnode.com/@Gayu)

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

This is cool

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

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

Thank you, Gayatri.

[Phillip Ninan](https://hashnode.com/@phillip_ninan)

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

Great article! I've heard great things about the serverless framework.

I'm writing a similar article on lambda and the AWS CDK. I've been interested in learning about the difference between the serverless framework and the AWS CDK.

Keep tthe good articles coming! ☺️

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

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

Thank you, Philip. I haven't had a chance yet to look at the AWS CDK, although I'm curious about the differences (going to add it to my topic list).

And yeah definitely I'm going to keep the articles coming!

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

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

Interesting read, I will have to try this soon. I also just posted my first blog here on hashnode, please check it out! [You Validate Your Downloaded Software, Right?](https://jotcode.hashnode.dev/you-validate-your-downloaded-software-right)

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

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

Thanks! Let me know how it goes once you try it 🙂

[Pedro Lucas de Aroucha Monteiro](https://hashnode.com/@pedr0aroucha)

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

Great article Tomasz!

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

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

Thanks, Pedro!

[Andrew Baisden](https://hashnode.com/@andrewbaisden)

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

Good article just what I was looking for.

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

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

Thanks, Andrew. I'm glad I could help.

[Catalin Pit](https://hashnode.com/@Catalinpit)

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

Nice article! 👏

I didn't know you have a YouTube channel. I liked the video and I subscribed! 🙌

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

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

Thank you 🙏, Catalin!

I really appreciate it.
