How sispaing/cloudbank-lab works
cloudbank-lab is a Terraform-managed, three-VPC AWS lab. Its infrastructure workflow is coordinated by the dev environment, which configures reusable modules for networking, security, compute, load balancing, certificates, DNS, and artifact delivery. At runtime, a request to the customer-profile endpoint traverses the customer-profile, account, and statement tiers across chained VPC peering. The README documents these capabilities and value-passing, but no source excerpts were provided; edges therefore cite documented relationships rather than inspected Terraform calls.
Main entry points: network.tf Network config · alb/main.tf Application load balancers · dns/main.tf Route 53 records · compute.tf Compute config
Components 18
Environment coordination
- Network config
envs/dev/network.tf - Security config
envs/dev/security.tf - Compute config
envs/dev/compute.tf - Load balancer config
envs/dev/loadbalancer.tf - DNS config
envs/dev/dns.tf
Network and security
- VPCs and subnets
modules/vpc/main.tf - VPC peering
modules/vpc-peering/main.tf - Security groups
modules/security-group/main.tf
Compute and traffic
- Tier instances
modules/ec2/main.tf - Tier startup
templates/fake-service.sh.tftpl - Application load balancers
modules/alb/main.tf
DNS and artifacts
- TLS certificate
modules/acm/main.tf - Route 53 records
modules/dns/main.tf - Private S3 artifacts
modules/artifacts/main.tf
Other components
- User / operator
- Customer-profile tier
- Account tier
- Statement tier
Connections 15
- User / operator → Network config: deploys
README.md - Network config → VPCs and subnets: configures
README.md - Network config → VPC peering: configures
README.md - Network config → Private S3 artifacts: configures
README.md - Security config → Security groups: configures
README.md - Compute config → Tier instances: configures
README.md - Compute config → Tier startup: fills
README.md - Load balancer config → Application load balancers: configures
README.md - DNS config → TLS certificate: configures
README.md - DNS config → Route 53 records: configures
README.md - User / operator → Route 53 records: requests hostname
README.md - Route 53 records → Application load balancers: resolves to
README.md - Application load balancers → Customer-profile tier: routes traffic
- Customer-profile tier → Account tier: calls
README.md - Account tier → Statement tier: calls
README.md