AWS Deployment Resources¶
Development Deployment¶
The development environment (peopledepot-dev.vrms.io) is automatically deployed whenever code is pushed to the main branch. It's used for testing features and validating infrastructure changes before production.
Live Site: peopledepot-dev.vrms.io
AWS Resources¶
Requires incubator account access from #ops
| Resource | Purpose |
|---|---|
| Logs | Monitor app output and errors |
| Database Credentials | View credentials |
| Deployment Status | Check latest deployment run |
How Deployment Works¶
- Code is pushed to the
mainbranch - GitHub Actions automatically triggers the deploy-dev workflow
- The workflow builds the Docker image using Dockerfile-aws
- The updated image is pushed to the incubator account on AWS
- Terraform starts the Docker container, which runs entrypoint-aws.sh to execute database migrations before launching the app
Configuration & Infrastructure¶
Docker & App Startup
- Dockerfile — Defines the container image
- Entrypoint Script — Handles app initialization and database migrations
Infrastructure as Code (Terraform)
- Terraform Project Directory — All AWS resource definitions
- Dev Environment Variables — Dev-specific config
Troubleshooting & References¶
- Deployment Issue #330 — Historical context