Short guide to deployment, diagnostics, and audits. Run scripts from services/ unless noted.
deploy.py: Full deployment (build, push, task defs, services)deploy_autoscale.py: Deploy autoscale mode (gateway + agent services)deploy_single.py: Deploy single-service modecheck.py: Health checks for servicescheck_autoscale.py: Autoscale health checks with extra context
register_secrets.py: Sync secrets to AWS Secrets Managerupdate_secrets.py: Update Secrets Manager fromservices/keys.envenv_to_ecs.py: Build Secrets Manager payload from env filesgenerate_rabbitmq_cookie.py: Generate Erlang cookie value
network_utils.py: Network validation and fixesnetwork_discovery.py: Discover VPC/subnet/security group IDsfix_iam_permissions.py: IAM permissions for ECS task protectionfix_vpc_dns.py: DNS fixes for VPC
build_task_definition.py: Generate ECS task definitionsdeploy_task_definitions.py: Register task definitions onlydeploy_service_discovery.py: Service discovery setupdeploy_network.py: Network provisioningdeploy_ecr.py: ECR repository setupdeploy_common.py: Shared deploy helpers
diagnose_deployment.py: Deployment diagnosticsdiagnose_agent_connectivity.py: Agent connectivity checksdiagnose_gateway_failures.py: Gateway diagnosticsaudit_aws_changes.py: Track AWS changes vs git statesnapshot_deployment.py: Capture deployment snapshotscomprehensive_audit.py: Full state auditanalyze_audit.py: Analyze audit snapshotscapture_stable_config.py: Store stable config snapshotverify_config.py: Validate task definitions and security groups
efs_tools.py: EFS verification and diagnosticsefs_manager.py: EFS management utilities
pip install -r scripts/requirements.txt