Deployment Documentation

May 2, 2026 ยท View on GitHub

The primary deployment documentation is in the main docs directory:

๐Ÿ“– CodeDeploy Setup Guide

This guide covers:

  • AWS infrastructure setup (OIDC, ECR, CodeDeploy)
  • GitHub secrets configuration
  • EC2 instance setup
  • Deployment workflows
  • Monitoring and troubleshooting
  • Rollback procedures

Quick Reference

EnvironmentTriggerPortWorkflow
ProductionPush to master3001codedeploy_production.yml
StagingPush to staging/develop3002codedeploy_staging.yml

Key Differences from Legacy Deployment

FeatureLegacy (SSH)Current (CodeDeploy)
AuthenticationSSH keys + AWS access keysOIDC (no long-lived credentials)
Image RegistrySelf-hosted registryAWS ECR
Deployment AgentSSH commandsCodeDeploy agent
Build CachingNoneDocker buildx with GitHub Actions cache
RollbackManual via SSHAutomatic on failure

Additional Documentation

Scripts

The scripts in scripts/deployment/ are still useful for manual testing:

  • run-integration-tests.sh - API integration tests
  • validate-environment.sh - Environment variable validation