Skip to main content

Alarms

CloudWatch alarms email hello@oncoeverything.com through SNS. The monthly budget is $120. It emails when the forecast passes 80%, and when actual spend passes 100%.

Logs

The API logs to CloudWatch in the log group /ecs/oncoeverything-api. Follow them live:
Web app logs are in the Vercel dashboard, under the project’s Logs tab.

Health

A 200 means the API is up and its migrations ran.

Run a command inside AWS

The database accepts connections only from inside the VPC. infra/run-task.sh starts a one-off task there, on the same image the API runs, and prints its output.
Use it for seeds and read-only queries.

Restore the database

RDS keeps backups for 14 days. You can restore to any minute in that window, to a new instance.
1

Restore to a new instance

It takes about 12 minutes.
2

Check it

Run a count with run-task.sh, pointed at the new instance’s address.
3

Delete it, or switch to it

For a drill, delete the new instance. For a real recovery, point the API at it. Then import it into Terraform.
Record each drill in docs/operations/restore-drill.md. The last one was on September 18, 2026.

Common problems