Cloudwatch Custom Metrics With CloudWatch Embedded Metric Format

Introduction Cloudwatch is an integral part of the AWS ecosystem. Every service in AWS reports to cloudwatch for the service logs, application logs, metrics, etc. In this article let鈥檚 discuss the cloudwatch custom metrics in detail. Metrics help us with finding the performance of the AWS services and the applications we run using these services. It also allows us to visualize the data with graphs and dashboards and create alarms based on the data reported tho metrics....

August 17, 2021 路 6 min 路 Vishnu Prasad

AWS SQS With Lambda, Partial Batch Failure Handling

Update Nov 23, 2021, My wish I mentioned at the end of this blog has been granted by AWS 馃コ. AWS Lambda now supports partial batch response for SQS as an event source. Find the announcement here. I have written a new article on how to do it here https://vishnuprasad.blog/posts/aws-sqs-lambda-partial-batch-failure-improved-way/ Amazon Web Services released SQS triggers for Lambda functions in June 2018. You can use an AWS Lambda function to process messages in an Amazon Simple Queue Service (Amazon SQS) queue....

February 23, 2021 路 4 min 路 Vishnu Prasad

Decoupling Application configuration from application code in your serverless application with AWS Appconfig

The easiest and most common way of adding application configurations(Eg: feature toggle flags, secrets, fallback URLs, etc) with your serverless applications is by setting them as lambda environment variables. These variables are set to the lambda functions from a configuration file in your code (eg: serverless.yml) or read from secrets manager or parameter store etc and exported during the deployment on your CICD pipeline. The problem with this approach is, suppose you have a serverless application that has multiple lambda functions under it....

February 14, 2021 路 7 min 路 Vishnu Prasad

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鈥檛 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