Pending:
- Enable local development/debugging with TLS
- Make sure dev & prod set ups are as close as possible
- Local deployment should use traefik too
- Create cookiecutter for app
- Use RDS or AuroraDB for prod instead of postgres container
- Monitor containers and restart as needed
- https://mattsegal.dev/simple-django-deployment-4.html (not focused on containers)
- Scale/Load balance requests to backend (multiple gunicorn workers & traefik load balancing)
- Instrument (manage logs, papertrail, sentry, new relic, datadog)
- Implement & Test recovery plan (backups, restore backups)
- Serve FE via cloudfront CDN to avoid 404
Done:
- Document the whole architecture
- Implement CI/CD via GitHub Actions
References: