AWS Service Limits To Keep In Mind While Developing A Serverless Application

Serverless is great, it helps companies to focus on product and application development without worrying much about the infrastructure and scaling. But there are some soft and hard limits for every AWS service which we need to keep in mind when we are developing a serverless application. These limits are set to protect the customer as well as the provider against any unintentional use. In this article, we will talk about some of those limits and how to avoid them....

February 10, 2021 · 6 min · Vishnu Prasad

DynamoDB CheatSheet For NodeJS/JavaScript

Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database so that you don’t have to worry about hardware provisioning, setup, and configuration, replication, software patching, or cluster scaling. DynamoDB also offers encryption at rest, which eliminates the operational burden and complexity involved in protecting sensitive data. This cheat sheet will cover the most commonly used scenarios of data operations in DynamoDB with AWS DynamoDB Document client for JavaScript/Nodejs....

September 1, 2020 · 4 min · Vishnu Prasad

Load Testing Serverless Applications With Serverless Artillery

Load testing is an important part when you are designing any type of application, whether it is traditional EC2 based or container-based or a complete serverless application. Why is Load Testing important? Load testing will help us to find the following - How fast is the system - How much load can the system handle - Under what conditions will the system fail - Determine our application’s capabilities by measuring its response time, throughput, CPU utilization, latency, etc....

April 13, 2020 · 5 min · Vishnu Prasad

URL redirects with AWS S3 and Cloudfront

Hosting a static website with S3 is awesome! It is Faster, Cheaper, Zero maintenance. In this article, we will see how to do URL redirects on a website hosted with AWS S3 and Cloudfront. There was a scenario which I was faced once in my company, One of our websites had deleted some old content and replaced it with new content and URL. And when people who google search for that particular content they get the old URL which doest exists....

January 28, 2020 · 2 min · Vishnu Prasad

Automating Deployment Of Lambda Functions Using Serverless Framework, AWS CodePipeline

In this guide we will set up a very simple REST API endpoint with the serverless framework, AWS Lambda, and API Gateway and deploy it to AWS Lambda with Github, AWS Codepipeline, Codebuild 1. Install the Serverless Framework npm install serverless -g 2. Create a project serverless create --template aws-nodejs --path serverless-nodejs-api This will create two files handler.js and serveless.yml 'use strict'; module.exports.api = async event => { return { statusCode: 200, body: JSON....

January 1, 2020 · 4 min · Vishnu Prasad