Deploying your first Serverless Node.js API to AWS Lambda

Cristiano Ventura
Level Up Coding
Published in
4 min readDec 19, 2019

--

Serverless makes you focus on your code instead of thinking about provisioning instances and managing servers. Here in this article, we will deploy a basic Node.js web app to AWS Lambda within minutes.

First, you need to install the Serverless Framework globally with npm. That’s the tool that will handle the easy deployment for you.

npm install -g serverless

Now, let’s create a new project with an AWS Node.js template.

mkdir my-serverless && cd my-serverless

--

--

I’m a Software Engineer, and here I share some of the things I learn on a daily basis.