chore: holding pattern cost reduction (~56% monthly savings) - #80
Conversation
- Add "under active development" banner to base template linking to GitHub repo - Disable user registration via SSM (FILEPROXY_REGISTRATION_ENABLED=False) - Shrink all ECS task definitions to Fargate minimum (0.25 vCPU / 512 MB) - Reduce Gunicorn and Celery worker counts to 1 to match smaller CPU allocation - Cap autoscaling max to 1 for api/ui/worker (prevent scale-out) Reduces estimated monthly cost from ~$168 to ~$74/mo (~56% reduction). Requires `terraform apply` to take effect. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR downscales a development environment by adding a visual indicator to the UI and reducing ECS task resources. The dev banner notifies users they are working in a development environment with a GitHub link, while infrastructure changes constrain CPU, memory, worker processes, and auto-scaling limits across all services to minimal levels. ChangesDevelopment Environment Configuration Downscale
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Pull request overview
This PR reduces holding-pattern infrastructure costs by downsizing ECS/Fargate resources, limiting service scale-out, and adding an active-development notice to the shared UI layout.
Changes:
- Shrinks API, UI, and worker task definitions to 0.25 vCPU / 512 MB.
- Reduces Gunicorn and Celery worker concurrency to 1.
- Caps API/UI/worker autoscaling maximum capacity at 1 and adds a development banner to the base template.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
terraform/ecs.tf |
Reduces ECS task sizing, runtime concurrency, and autoscaling maximums for cost savings. |
fileproxy/templates/base.html |
Adds a site-wide active-development banner with a link to the GitHub repository. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
Cost impact
Deploy steps
cd terraform && terraform applyto resize ECS tasks and cap autoscalingNotes
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Chores