Creating and deploying a Serverless REST API with AWS Lambda, DynamoDB and API Gateway and node.js

AWS Lambda is a compute service that lets you run code without provisioning or managing servers. Amazon DynamoDB is a fast and flexible nonrelational database service for all applications that need consistent, single-digit millisecond latency at any scale. Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, … Continue reading Creating and deploying a Serverless REST API with AWS Lambda, DynamoDB and API Gateway and node.js

How to add data to DynamoDB table using AWS Lambda(serverless) function?

AWS Lambda is a compute service that lets you run code without provisioning or managing servers. Amazon DynamoDB is a fast and flexible nonrelational database service for all applications that need consistent, single-digit millisecond latency at any scale. Let us see how we can execute our code in AWS Lambda so that it saves the data in … Continue reading How to add data to DynamoDB table using AWS Lambda(serverless) function?

Cloud 101: Deployment Models

Cloud Deployment models are of three types: Private Public Hybrid Private Cloud Cloud infrastructure operated solely for a single organization. It is managed internally or by a third-party, and hosted either internally or externally. This model offers the versatility and convenience of the cloud, while preserving the management, control and security common to local data centers. … Continue reading Cloud 101: Deployment Models

Beginners lesson on how to scale your Website?

So, what is Application Scalability? When your website gets too much traffic(requests per minute or queries per second) which makes the website process the requests slowly and sometimes results in crashing of the server on which it is running. To prevent failures and sluggishness add more resources on both hardware and software side that is … Continue reading Beginners lesson on how to scale your Website?

Creating and Deploying Express Web App on Azure in few steps

In this post we will see how can we setup an express web application and how to deploy an node.js based express web application. Step 1: Creating an web application in express. To create a express application skeleton we need to install express generator from npm: Check available option while creating an express app: After … Continue reading Creating and Deploying Express Web App on Azure in few steps

Resolved! – AWS Lex: ‘An error has occurred: Received error response from Lambda: Handled’

While invoking Lambda function through AWS Lex we generally get below error. An error has occurred: Received error response from Lambda: Handled There could be many reasons for this error to occur. Suppose lambda has following callback response function in node.js: Now according to the AWS docs here the fullfilmentState is a mandatory key field also … Continue reading Resolved! – AWS Lex: ‘An error has occurred: Received error response from Lambda: Handled’