Automating a Serverless CRUD REST API with Node.js

In this guide, I walk you through building and automating the deployment of a serverless CRUD REST API using Node.js, AWS Lambda, API Gateway, DynamoDB, Serverless Framework, and GitHub Actions CI/CD. I’ll build a Coffee Shop API to to manage orders, inventory, and customer requests, deploying it automatically whenever code changes are pushed. Prerequisites Before […]

How to Troubleshoot When S3 Event Notifications Don’t Trigger Lambda

Set up an S3 event to trigger your Lambda function, but nothing happens? I’ve run into that too. I put together a quick guide to help you troubleshoot the issue. It walks you through everything from checking S3 event config to verifying Lambda permissions. 1️⃣ Double-check Your S3 Event Notification Go to your bucket → […]

How To Troubleshoot AWS Lambda Timeout Errors?

Lambda timeouts are a common issue that can break your serverless workflows. Here’s how I would troubleshoot it: 1️⃣ Check the function’s timeout settings: – Navigate to Lambda → Function → Configuration → General settings.– The default timeout is 3 seconds, but you can increase it up to 15 minutes if needed. 2️⃣ Increase the […]

How To Troubleshoot AWS Lambda Timeout Errors?

Wanna be good at AWS? Learn to build, but also learn to fix things when they break. Lambda timeouts are a common issue that can break your serverless workflows. Here’s how I would troubleshoot it: 1️⃣ Check the function’s timeout settings – Navigate to Lambda → Function → Configuration → General settings.– The default timeout […]

Difference between AWS Lambda and Amazon API Gateway

AWS Lambda and API Gateway are two powerful tools that serve very different purposes, but work hand-in-hand to create seamless serverless applications. Let’s break it down with an analogy to make things clearer  AWS Lambda:   Imagine having a chef in a restaurant. The chef only starts cooking when an order is placed, and once the […]

Cost Management for AWS CI/CD Infrastructure using Python and Lambda

In this tutorial, I will show you how to streamline CI/CD Cost Management with Python Scripts and AWS Lambda. Scenario Consider your DevOps team using a development lab for application testing, where AWS EC2 instances in the lab run continuously. Your management raises concerns about the escalating costs, as these instances operate 24/7 even when […]

AWS Lambda Tutorial

Let’s have fun creating a lambda function that converts Celsius in Farenheit. image credit: aws.amazon.com Background In the simple word, Lambda run code without thinking about servers or clusters. AWS Lambda is a serverless computing service provided that allows developers to run code without provisioning or managing servers. With AWS Lambda, developers can write code […]

Building a Serverless App on AWS using API Gateway, Lambda, SNS, S3.

“Give to Caesar what belongs to Caesar” — French proverb. Before jumping in the meat and potato, I want to shout out a huge thanks to Adrien Cantrill. He has the best course for AWS. The project below is one of the many demos he provided in his AWS SAA C03 course. Prerequisite For this advanced […]