Cost#
Itemised, with the reasoning for each avoidance. Figures are us-east-1 on-demand list prices; verify against the AWS pricing pages before relying on them.
Steady state#
| Item | Unit price | Monthly |
|---|---|---|
| Route 53 public hosted zone | $0.50/zone | $0.50 |
| KMS asymmetric key (DNSSEC KSK) | $1.00/key | $1.00 |
| KMS signing requests | $0.15/10k (asymmetric) | ~$0.00 |
| Route 53 DNS queries | $0.40/million | ~$0.00 |
| S3 storage (site, ~2 MB) | $0.023/GB | ~$0.00 |
| S3 requests | $0.0004/1k GET | ~$0.00 |
| CloudFront data transfer | first 1 TB/month free, perpetually | $0.00 |
| CloudFront requests | first 10M/month free, perpetually | $0.00 |
| CloudFront Functions | first 2M invocations/month free | $0.00 |
| ACM public certificate | free | $0.00 |
Lambda (/api/whoami, DNSSEC probe) | 1M requests + 400k GB-s free/month | $0.00 |
| EventBridge Scheduler (DNSSEC probe, 720 runs/month) | first 14M invocations/month free | $0.00 |
| CloudWatch Logs (14-day retention) | $0.50/GB ingested; first 5 GB free | ~$0.00 |
| CloudWatch custom metrics (2, from the probe's log lines) | $0.30/metric; first 10 free | $0.00 |
| CloudWatch alarms (5) | $0.10/alarm metric; first 10 free | $0.00 |
| SNS email notifications | first 1k free | $0.00 |
| AWS Budgets | first 2 free | $0.00 |
| S3 state bucket | negligible | ~$0.00 |
| Weekly drift detection (GitHub Actions, read-only role) | about 3 Actions minutes a week; 2,000 free/month on a private repository | $0.00 |
| Total | ≈ $1.55/month |
Plus the .dev registration, roughly $12–16/year depending on registrar.
About $20/year, all in.
Where the money actually goes#
Two line items are the entire bill, and both are Route 53:
- $0.50 for the hosted zone. Unavoidable if you want Route 53.
- $1.00 for the KMS key that signs the zone. This is the price of DNSSEC.
Route 53 charges nothing to enable DNSSEC signing; the cost is the asymmetric KMS key it requires.
DNSSEC therefore roughly triples the bill. For a site serving public documentation it buys no confidentiality — but it is the single most interesting piece of DNS configuration here, and $12/year is a reasonable price for it.
The KMS key can be shared across multiple hosted zones, so adding more signed domains later costs $0.50 each rather than $1.50.
What is avoided, and what it would have cost#
| Avoided | Would cost | Why avoided |
|---|---|---|
| NAT gateway | ~$32/month + data | No VPC. Twenty times the entire rest of the stack. |
| Application Load Balancer | ~$16/month + LCU | CloudFront is the entry point. |
| AWS WAF | $5/month web ACL + $1/rule + $0.60/million requests | No injectable surface. ADR-0009. |
| API Gateway | $1.00/million + no free tier after year one | Lambda Function URL behind CloudFront does the same job. |
| DynamoDB state lock table | ~$0.25/month | Native S3 locking. ADR-0005. |
| Customer-managed KMS key for state | $1.00/month | AWS-managed aws/s3 key is free. ADR-0012. |
| Customer-managed KMS key for site objects | $1.00/month + per-request | The objects are a public website. |
| Route 53 health checks | $0.50 each | Nothing to fail over to. |
| CloudFront access logging | ~$0.10/month storage | Privacy first; visitor IPs are personal data. |
| Shield Advanced | $3,000/month | Shield Standard is included and sufficient. |
| Nothing runs continuously | — | No EC2, no Fargate, no RDS, no ElastiCache. |
The avoided total is roughly $55/month, or 35× the actual bill. Most of that is the three line items — NAT gateway, load balancer, WAF — that a conventional-looking architecture diagram would include by reflex.
How the free tiers behave#
Worth understanding, because two of these are unusual:
- CloudFront's 1 TB / 10M requests is perpetual, not a 12-month trial. It does
not expire.
- Lambda's 1M requests and 400,000 GB-seconds is also perpetual.
- **EventBridge Scheduler's 14 million invocations, and CloudWatch's 10 custom
metrics, 10 alarm metrics and 5 GB of log ingestion, are monthly and perpetual too.** The DNSSEC probe uses 720 invocations, 2 metrics and 2 alarm metrics of them (ADR-0020).
- S3's free tier is 12 months only. After that, storage and requests are
billed — but at ~2 MB of content the amount is rounding error.
What would actually cost money#
Realistic scenarios, in rough order of likelihood:
- Exceeding 1 TB of CloudFront egress. At ~200 KB per page view that is
~5 million views in a month. Beyond it, ~$0.085/GB.
- A tight cache-invalidation loop. The first 1,000 invalidation paths per
month are free, then $0.005 each. Deploying with /* many times a day gets noticed.
- Enabling access logs and forgetting. Storage accrues quietly; the lifecycle
rule expires them after 30 days for exactly this reason.
- Adding the DNS server from the roadmap. UDP/53 needs a persistent
listener, so this is the one planned addition that meaningfully changes the bill — see below.
- Leaving a debugging resource running. The budget tripwire exists for this.
The guardrail#
A $5/month budget with notifications at 50% actual, 100% actual, and 100% forecast. The forecast one matters most: it warns while there is still time to act rather than after the money is gone.
$5 against an expected $1.55 is a tripwire for something structurally unexpected, not a forecast with headroom.
Cost of the roadmap#
| Planned addition | Estimated monthly |
|---|---|
| DNS-over-HTTPS endpoint for this zone (Lambda + CloudFront) | ~$0.00 (free tier) |
legacy.testz.dev TLS exhibit (second distribution) | ~$0.00 (free tier) |
| Authoritative DNS server (Fargate Spot, UDP/53) | ~$3–6 |
| Authoritative DNS server (t4g.nano EC2) | ~$3 |
| Certificate Transparency monitoring (scheduled Lambda) | ~$0.00 |
| Second signed domain | +$0.50 (shares the KMS key) |
Your own authoritative DNS server is the one item that cannot be free: UDP/53 needs something listening continuously, and no serverless product answers raw UDP. That is a real architectural constraint, not a gap in AWS's catalogue — see the roadmap.