Hamara Venue Screenshot 1
Hamara Venue Screenshot 2
Hamara Venue Screenshot 3

Hamara Venue

Multi-cloud deployment of Hamaravenue product on AWS & Contabo using Terraform automation

Multi-Cloud Terraform IaC CI/CD Pipelines Production Deployment
Deployment Date
September 2024
Platform
MEAN Stack
Duration
Ongoing
Role
Cloud Infrastructure Lead

Project Overview

Deployed Hamaravenue product across AWS & Contabo multi-cloud environments using Terraform for automated infrastructure provisioning. Built multi-environment setups (staging & production) with CI/CD pipelines, Elastic Load Balancers for EC2 scalability, and automated MongoDB backups via shell scripts and Cron jobs.

Key Learnings & Achievements

1. Infrastructure as Code

Provisioned AWS resources (EC2, SQS, RDS, ALB, S3) using Terraform, ensuring reproducibility and scalability across multi-cloud environments.

2. CI/CD Pipelines

Automated deployments using GitHub Actions with staging → production promotion workflows. Enabled branch protection to enforce code review and prevent direct pushes to prod/staging.

3. Load Balancing & Scalability

Deployed AWS Elastic Load Balancers to distribute traffic across EC2 instances. Configured auto-scaling groups (ASG) to handle dynamic workloads.

4. Database Backups & Resilience

Automated MongoDB backups using cron jobs + shell scripts, stored encrypted in S3 with lifecycle policies.

5. Security

Enforced least-privilege access using IAM roles/policies and security groups. Added extra layers by setting up secrets for sensitive data storage.

6. Performance Optimization

Achieved 40% faster load times through NGINX tuning and SSR implementation for SEO.

Performance Optimization Details

NGINX Tuning

Static asset caching (immutable, 30d) • Gzip compression (65% smaller assets) • Optimized API timeouts (3s fail-fast)

SSR Implementation

Prerendered content for SEO optimization and improved initial page load performance.

Technology Stack

AWS (EC2, RDS, ALB, S3)
Contabo Cloud
Terraform
GitHub Actions
NGINX
IAM & Security Groups
Secrets Management
Cron Jobs & Shell Scripts

Interested in this project?