Blog Posts
6 items
Scaling Up, Staying Strong: Hands-On AWS CloudFormation Techniques for Building Resilient and Scalable Systems
- Mohammad Abu Mattar
- AWS
- Cloud Computing
- DevOps
- Infrastructure as Code
- Scalability
- Resilience
- Published: 02 Jun, 2023
Introduction: In today's rapidly evolving digital landscape, building resilient and scalable systems is crucial for businesses to meet growing demands and maintain high availability. Cloud native

How To Connect A EBS Volume To An Windows EC2 Instance Using Powershell/GUI
- Mohammad Abu Mattar
- AWS
- Windows Server
- EC2
- EBS
- PowerShell
- Published: 15 Nov, 2022
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

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 Install and Configure Node.js on EC2 Instance Amazon Linux 2
- Mohammad Abu Mattar
- AWS
- EC2
- Node.js
- Linux
- Published: 07 Nov, 2022
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 Create a AWS RDS MySQL Database and Connect to it using MySQL Workbench
- Mohammad Abu Mattar
- AWS
- RDS
- MySQL
- Database Management
- Cloud Computing
- Published: 07 Nov, 2022
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 Run an Apache Web Server Using Docker on an AWS EC2 Instance
- Mohammad Abu Mattar
- AWS
- EC2
- Docker
- Apache
- Web Server
- Published: 31 Oct, 2022
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](
CodeSnippets
4 items
AWS EC2 Instance Management with Boto3: Start, Stop, and Query Instances
- Mohammad Abu Mattar
- Cloud
- Aws
- Devops
- Automation
- Published: 14 Apr, 2026
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

List S3 Buckets
- Mohammad Abu Mattar
- Aws
- Python
- Devops
- Published: 25 Jun, 2025
Overview Multi-Profile S3 Management Multi-Profile S3 Safari! Ever juggled multiple AWS accounts and needed a quick S3 bucket inventory across all of them? This Python script is your guid

AWS Secrets Manager
- Mohammad Abu Mattar
- Aws
- Devops
- Published: 18 Jun, 2025
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

Check S3 Bucket Existence
- Mohammad Abu Mattar
- Aws
- Shell scripting
- Devops
- Published: 11 Jun, 2025
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