Blog Posts
6 items
How to Run an Apache Web Server Using Docker on an AWS EC2 Instance
Introduction In this post, we will learn how to run an Apache web server using Docker on an AWS EC2 instance. We will use the following tools:AWS EC2 [Docker](

How to Create a AWS RDS MySQL Database and Connect to it using MySQL Workbench
Introduction RDS is a managed service that makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while automating time-c

How to Install and Configure Node.js on EC2 Instance Amazon Linux 2
Introduction Node.js does not exist in the default Amazon Linux 2 repository. So, we need to add the Node.js repository to the system. In this post, we will learn how to install and configure Node

How to Connect to AWS RDS MySQL Database to EC2 Instance With PHP By Using PDO
Introduction In this post, we will learn how to connect to AWS RDS MySQL Database to EC2 Instance With PHP By Using PDO. PrerequisitesAWS Account EC2 Instance Amazon Linux 2 RDS MySQL

How To Connect A EBS Volume To An Windows EC2 Instance Using Powershell/GUI
- AWS
- Windows Server
- 15 Nov, 2022
- 11 Mins read
Introduction In this post, we will learn how to connect a EBS volume to an Windows EC2 instance using Powershell/GUI and also how to mount the EBS volume to the EC2 instance. Prerequisites

Scaling Up, Staying Strong: Hands-On AWS CloudFormation Techniques for Building Resilient and Scalable Systems
- AWS
- Cloud Computing
- 02 Jun, 2023
- 05 Mins read
Introduction: Building resilient and scalable systems matters for businesses that need to meet growing demand and maintain high availability. Cloud native architecture, combined with the capabilit
CodeSnippets
4 items
Check S3 Bucket Existence
- Aws
- Shell scripting
- 11 Jun, 2025
- 02 Mins read
Quick Tip Don’t let your deployment blow up because of a missing S3 bucket. This Bash script lets you check if a bucket exists before anything fails clean and simple. The Problem Missi

AWS Secrets Manager
Need to load secrets in your Node.js app without exposing them? Here's how. If you're still storing API keys or database credentials in .env files or hardcoding them into your codebase, it's ti

AWS EC2 Instance Management with Boto3: Start, Stop, and Query Instances
If you've ever spent 20 minutes clicking through the AWS Console just to stop a handful of dev instances, you already know the pain. It's tedious, it doesn't scale, and one wrong click can ruin your a
