AWS Automation
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 an AWS RDS MySQL database to an EC2 instance with PHP, 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 تشرين الثاني 2022
- 11 Mins read
Introduction In this post, we will learn how to connect an EBS volume to a Windows EC2 instance using PowerShell or the Disk Management GUI, and how to mount the volume on the instance. Prereq

Scaling Up, Staying Strong: Hands-On AWS CloudFormation Techniques for Building Resilient and Scalable Systems
- AWS
- Cloud Computing
- 02 حزيران 2023
- 04 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 capabiliti
CodeSnippets
4 items
Check S3 Bucket Existence
- Aws
- Shell scripting
- 11 حزيران 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. The Problem Missing bucket failure

AWS Secrets Manager
Loading secrets in a Node.js app without exposing them If you're still storing API keys or database credentials in .env files or hardcoding them into your codebase, it's time for a better appro

List S3 Buckets
Overview Multi-profile S3 management Ever juggled multiple AWS accounts and needed a quick S3 bucket inventory across all of them? This Python script handles it. Use case Perfect for or

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