Skip to content

grbyrd99/human-gov-infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

HumanGov Infrastructure

Terraform infrastructure-as-code for the HumanGov application — a simulated multi-tenant SaaS platform for U.S. state government agencies running on AWS.

Overview

This repository manages all AWS infrastructure for the HumanGov application using Terraform. Infrastructure is provisioned as code to ensure consistency, repeatability, and auditability across environments. Each migration phase introduces new infrastructure components in response to requirements from the simulated CIO.

Infrastructure Evolution

Phase What Was Built Status
1 EC2 instance, VPC, Security Groups Complete
2 Docker containerization, ECR repository Complete
3 ECS Cluster, ALB, per-tenant DynamoDB and S3, multi-tenant isolation Complete
4 EKS cluster, Kubernetes workloads In Progress

Current Infrastructure (Phase 3)

Multi-Tenant Architecture

Each state tenant is provisioned with isolated AWS resources to ensure data separation and independent scalability:

  • Amazon ECS — containerized application per tenant
  • Amazon ECR — Docker image registry
  • Application Load Balancer — routes traffic to tenant-specific ECS services
  • Amazon DynamoDB — per-tenant data store
  • Amazon S3 — per-tenant object storage
  • VPC — isolated network with public/private subnets, security groups

Terraform Structure

terraform/
├── main.tf          # Core infrastructure resources
├── variables.tf     # Input variables
├── outputs.tf       # Output values
└── ...

Technologies

  • IaC: Terraform (HCL)
  • Cloud Provider: AWS
  • Services: ECS, ECR, ALB, DynamoDB, S3, VPC, IAM

Usage

# Initialize Terraform
terraform init

# Preview changes
terraform plan

# Apply infrastructure
terraform apply

# Destroy infrastructure
terraform destroy

Related Repository

Application code: grbyrd99/human-gov-application

About This Project

Part of a hands-on DevOps and cloud engineering bootcamp simulating enterprise infrastructure evolution. Each phase is driven by a new CIO requirement, mirroring real-world cloud engineering engagements where infrastructure must evolve incrementally without disrupting existing workloads.

About

Terraform IaC for multi-tenant AWS infrastructure — ECS, ECR, ALB, DynamoDB, S3, VPC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages