How 100-hours-a-week/ktb4-2nd-cloud works
KTB4-2nd-Cloud manages Yeodam’s AWS infrastructure and CI/CD, as described in the README. Its operational scope includes legacy and v2 staging infrastructure, release/deployment tooling, monitoring, and alarm forwarding. The tree also contains load-generation scenarios, shown here as a distinct operational capability. Source excerpts are limited to the alarm-forwarding Lambda, so infrastructure and deployment relationships are not inferred from filenames; the Lambda’s input and external calls are visible in its excerpt.
Main entry points: discord_alarm_forwarder.py Alarm forwarding
Components 15
AWS infrastructure
- Legacy AWS stack
terraform - V2 staging stack
terraform/v2/staging - MySQL replication
terraform/v2/staging/mysql-replication-link.tf - ECS services
terraform/v2/staging/ecs-services.tf
Release operations
- Release deployment
scripts/deploy-release.sh - Release rollback
scripts/rollback-release.sh - Staging deployment
scripts/deploy-v2-staging-frontend.sh
Monitoring and alerts
- Staging metrics
monitoring/v2-staging - Alarm forwarding
lambda/discord_alarm_forwarder.py
Load generation
- Load scenarios
tests/load/scenarios - Load tooling
tests/load/lib
Other components
- Cloud operator
- SNS notification
- AWS Parameter Store
- Discord webhook
Connections 3
- SNS notification → Alarm forwarding: delivers records
lambda/discord_alarm_forwarder.py - Alarm forwarding → AWS Parameter Store: reads webhook
lambda/discord_alarm_forwarder.py - Alarm forwarding → Discord webhook: posts alert
lambda/discord_alarm_forwarder.py