Prodigi Interactive

PRODIGI INTERACTIVE is the pioneering Sri Lankan startup that focuses on Consumer-driven Interactive media , Game Development and content production and platform creation.

Member-only story

How to deploy NodeJS serverless application in AWS Lambda

--

Photo by Justin Boyer from stackify

These days the term serverless is very popular. Most of you might think serverless means there aren’t any servers but the concept here is you don’t have to manage servers yourself instead cloud platforms like AWS gives you the service like Lambda to host your API there. Thank god we have these services because we don’t need to worry about managing our servers. This will be very cost effective too.

This is good for lightly used applications. You are only charged for what you have consumed rather than reserved capacity. For example, if your application uses 1000 API requests per month. So you’ll be charged only for the computing time that takes to make these 1000 requests. Imagine if you use the EC2 instance here. You need to pay for the instance that was used for the month. This serverless service has auto scaling facilities too. If your application gets more requests, everything will be automatically handled by the service provider. I hope you got the basic understanding of why and where we need to use this serverless function.

For this tutorial, I’ll use serverless framework. You can setup and manage Lambda using the AWS management console too but this framework will make everything very easier for you. You can discover more about this framework by visiting this site:

--

--

Prodigi Interactive
Prodigi Interactive

Published in Prodigi Interactive

PRODIGI INTERACTIVE is the pioneering Sri Lankan startup that focuses on Consumer-driven Interactive media , Game Development and content production and platform creation.

Gugatharsan Sivalingam
Gugatharsan Sivalingam

Written by Gugatharsan Sivalingam

I’m a tech savvy person who loves to keep myself updated to the current trends of the technology world.

No responses yet