How jamesesc/aws-secure-network-infrastructure works
This repository provisions a secure AWS network with Terraform. The documented workflow is to initialize and apply the bootstrap configuration, then apply the infrastructure, and finally connect through a bastion to a private EC2 instance. The README also highlights least-privilege security groups, remote state, and user-managed KMS encryption. No Terraform source excerpts were provided, so relationships below are limited to capabilities and deployment steps stated in the README.
Main entry points: infrastructure/main.tf Infrastructure config · compute/main.tf Bastion host · bootstrap/main.tf Bootstrap config · networking/main.tf Private VPC
Components 10
Provisioning
- Bootstrap config
bootstrap/main.tf - Infrastructure config
infrastructure/main.tf
State and encryption
- Remote state
bootstrap/main.tf - Managed KMS key
infrastructure/modules/storage/main.tf
Network security
- Private VPC
infrastructure/modules/networking/main.tf - Least-privilege groups
infrastructure/modules/networking/main.tf
Compute access
- Bastion host
infrastructure/modules/compute/main.tf - Private EC2
infrastructure/modules/compute/main.tf
Other components
- Operator
- Authorized SSH source
Connections 9
- Operator → Bootstrap config: applies first
README.md - Operator → Infrastructure config: applies next
README.md - Bootstrap config → Remote state: sets up
- Infrastructure config → Private VPC: provisions
README.md - Infrastructure config → Least-privilege groups: provisions
README.md - Infrastructure config → Bastion host: provisions
README.md - Infrastructure config → Private EC2: provisions
README.md - Authorized SSH source → Bastion host: SSH connects
README.md - Bastion host → Private EC2: SSH hops
README.md