How I Set Up Multi-Cloud Infrastructure with Terraform

Running Terraform across AWS and Azure at the same time can be challenging. But, a solid structure helps you scale without duplication or chaos. Here’s how I do it: Be very specific Create a “multi-cloud” folder. Under “multi-cloud”, create AWS and Azure into their own folders. Each has its own main.tf, variables.tf, and outputs.tf to […]
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 I troubleshoot when EC2 instance terminates unexpectedly

It’s a common issue in AWS environment. Your instance goes from the pending state to the terminated state without you doing anything. Below are my 5 tips to troubleshoot this issue. 1. Check CloudTrail Logs for Termination Events Go to AWS CloudTrail and filter for TerminateInstances API calls. Search for who or what initiated the […]
How I Troubleshoot AWS when SNS Notifications Are Not Being Sent?

Have you set up AWS SNS but noticed that notifications aren’t being delivered? I’ve been there. Here’s how I would troubleshoot it: 1️⃣ Check Subscription Status -Login to AWS Console → Go to SNS → Topics → Subscriptions and verify if the endpoint (email, Lambda, SQS, etc.) is confirmed.– If it’s in a “PendingConfirmation” state, […]
How I Troubleshoot “Access Denied” Errors on an S3 Bucket?

You run into “Access Denied” when trying to get objects from your S3 bucket. Now, you need help to figure out what’s going wrong and get it fixed. Below are my 5 top tips to troubleshoot this issue: 1️⃣ Review the Bucket Policy Go to the S3 console, open your bucket, and check the bucket […]
How To Troubleshoot API Gateway Throttling Requests Returning 429 Error

What a crazy experience when hitting a 429 error when calling your API. You’re finally ready to scale and boom: “Too Many Requests.” I’ve run into this before, and here’s how I troubleshoot it: Let me remind you what’s an API Gateway and a 429 error. Amazon API Gateway is a fully managed service that […]
S3 Glacier VS S3 Standard: Choosing the Right Storage Class for Your Data

When it comes to cloud storage, not all data is created equal. Some data is mission-critical and accessed frequently, while other data needs to be archived for compliance or disaster recovery but may never be touched again. Amazon S3 offers a range of storage classes tailored to different use cases, with S3 Standard and S3 […]
How to troubleshoot if CloudWatch Logs not showing up

Set up CloudWatch logging, but nothing’s coming through? I’ve been there. I put together a quick guide to help you troubleshoot the issue, from checking log groups and IAM permissions to testing with the AWS CLI. Step 1: Check if the Log Group and Log Stream Exist Go to CloudWatch → Logs → Log groups. Find […]
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 API Gateway 403 Forbidden Errors

Nothing’s more frustrating than setting up an API Gateway, only to get hit with a 403 Forbidden error. I’ve been there too. Here’s how I troubleshoot it: 1️⃣ Check Resource Policies Go to API Gateway → Permissions Ensure the resource policy allows access to the intended users or services. 2️⃣ Verify IAM Roles […]