AWS Grocery App Infrastructure
Engineered a production-ready AWS infrastructure for GroceryMate v2 using Terraform and a fully automated Bash deployment script. The system leverages immutable EC2 rollouts via Auto Scaling Groups, JWT and DB secrets via AWS Secrets Manager, and an SSH/SCP-based deployment pipeline through a bastion host. The Bash script automates frontend build distribution from S3, backend updates, permission fixes, service restarts, and instance refresh orchestration. PostgreSQL is provisioned on RDS with secure IAM access. Nginx serves static React builds with asset caching and error fallback. Monitoring, cost control, and CI workflows complete the DevSecOps stack.
TerraformAWS (EC2, ASG, RDS, VPC, S3, IAM, Secrets Manager)GitHub ActionsBashSSHSCPAuto ScalingInstance RefreshPostgreSQLFlaskGunicornReactNginxDockerCloudWatchIAM RolesSecrets RotationImmutable InfraCI/CDStatic HostingCost OptimizationDevSecOpsAutomation