How to create a Serverless AWS project

Praveen Sambu
Feb 3 · 1 min read

We can use Serverless to create, write, host our aws lambda functions.

Before starting a new project, If you do not have serverless installed, then use the below command

npm install serverless-g

In order to create a new serverless project, create a folder and open in Vs Code and use the below syntax to create a serverless project.

serverless create -t aws-nodejs -p {{ProjectName}}

once this command runs successfully we see below image

files inside the folder

Once we create a new project. We get a default handler(nothing but lambda) also serverless.yml file which is template for this project.

This way we can create a new serverless project.


We provide detail over view on Cloud Solutions and help you understand.