How logssey/infrastructure works
Logssey Infrastructure defines and deploys AWS infrastructure for the Re:Used marketplace, with Terraform in the prod environment as the principal workflow: an operator plans and applies configuration, then accesses nodes and the Kubernetes cluster through SSM. The repository also includes Kubernetes platform configuration and an IaC-security collector added to a dashboard host. Relationships for the collector are limited to those visible in the bootstrap excerpt; some Terraform-to-resource detail is documented only at the README level.
Main entry points: prod Prod configuration · bootstrap-iac-host.py Host bootstrap · kubespray Kubespray cluster setup · platform Platform add-ons
Components 16
Terraform infrastructure
- Prod configuration
terraform/environments/prod - Network
terraform/modules/network - Security and IAM
terraform/modules/security - Compute
terraform/modules/compute - Data services
terraform/modules/rds - Load balancing
terraform/modules/lb - Edge and DNS
terraform/modules/edge - AWS resources
Kubernetes platform
- Kubespray cluster setup
kubespray - Platform add-ons
k8s/platform
IaC security collection
- Host bootstrap
deploy/logssey-dashboard/bootstrap-iac-host.py - IaC worker
deploy/logssey-dashboard/bootstrap-iac-host.py - Cartography collector
deploy/logssey-dashboard/bootstrap-iac-host.py - Neo4j asset graph
deploy/logssey-dashboard/bootstrap-iac-host.py - Daily collector runner
deploy/logssey-dashboard/run-iac-collector.sh
Other components
- Operator
Connections 15
- Operator → Prod configuration: plans and applies
README.md - Prod configuration → AWS resources: provisions
README.md - Prod configuration → Network
- Prod configuration → Security and IAM
- Prod configuration → Compute
- Prod configuration → Data services
- Prod configuration → Load balancing
- Prod configuration → Edge and DNS
- Operator → Kubespray cluster setup: runs on cluster node
README.md - Host bootstrap → IaC worker: adds service
deploy/logssey-dashboard/bootstrap-iac-host.py - Host bootstrap → Cartography collector: adds service
deploy/logssey-dashboard/bootstrap-iac-host.py - Host bootstrap → Neo4j asset graph: adds service
deploy/logssey-dashboard/bootstrap-iac-host.py - Daily collector runner → Cartography collector: runs daily
deploy/logssey-dashboard/bootstrap-iac-host.py - Cartography collector → Neo4j asset graph: collects into
deploy/logssey-dashboard/bootstrap-iac-host.py - Platform add-ons → Kubespray cluster setup