CloudWatch Logs captures output from your ECS containers.Documentation Index
Fetch the complete documentation index at: https://agno-v2-team-approvals.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
View Logs
Tail logs in real-time:Replace
{infra_name} with your infra_name from settings.py (e.g.,
agentos-aws-template).ECS Service Status
View service status and recent events:What Success Looks Like
After a successful deployment, logs show:Warning Signs
| Log Pattern | Meaning | Action |
|---|---|---|
database is locked | DuckDB concurrency issue | Reduce workers to 1 |
connection refused | Can’t reach RDS | Check security group |
OOMKilled | Out of memory | Increase task memory |
CannotPullContainerError | ECR auth expired | Re-run auth_ecr.sh |
SIGTERM then restart loop | Health check failing | Check app logs for errors |
Health Checks
The load balancer checks/health every 30 seconds.
| Target Status | Meaning |
|---|---|
| healthy | Task passing health checks |
| unhealthy | Health check failing |
| draining | Task being replaced |
- Container logs for startup errors
- Security group allows port 8000 from ALB
- Database connectivity (
DB_HOST,DB_PASS)
Log Retention
CloudWatch retains logs indefinitely by default. Set a retention policy to control costs:| Retention | Monthly Cost (10GB/day) |
|---|---|
| 7 days | ~$3 |
| 30 days | ~$15 |
| 90 days | ~$45 |