About
ProjectsSkillsExperienceCertificationsHome ServerEducationContact

© 2026 Syed Mehfooz C S

AboutContactExperienceProjectsHome Server
Back to Home

AWS Infrastructure Automation

EC2 Instance Launcher

GitHub

Tech Stack

Bash
AWS
Linux
CLI
EC2 Instance Launcher — Syed Mehfooz C S

Overview

A clean, production-style Bash script that automates the process of launching an AWS EC2 instance using the AWS CLI. It acts as a lightweight alternative to IaC tools for simple deployments, featuring modular functions, automatic AWS CLI installation, credential validation, strict error handling, and environment-based configuration (.env).

Challenges & Solutions

Manual and error-prone EC2 provisioning via the AWS Console

Solution: Engineered an automated bash script that securely reads environment configurations to launch EC2 instances, ensuring repeatable and consistent cloud infrastructure provisioning.

Ensuring script reliability across environments with missing dependencies

Solution: Implemented auto-detection and installation of the AWS CLI, robust credential validation before API calls, and native polling to guarantee the instance reaches a running state before completion.