Route 53 Cost Optimizer
What this skill does
Translates a Route 53 DNS footprint into a concrete cost-optimization
recommendation with a dollar-denominated savings estimate. The verdict is
the highest-leverage action across seven dimensions — hosted zone
inventory, health check configuration, query volume and routing policy,
traffic policies, private zone VPC associations, DNSSEC overhead, and
query logging volume — applied in priority order. Always pairs the
recommendation with exact CLI commands.
Quick navigation
| Section |
What it covers |
When to jump here |
| Quick start |
Four headline rules and the cost formula |
First read |
| Mindset |
Why hosted zone consolidation is the #1 lever |
Understanding the approach |
| Quick reference — verdict thresholds |
Decision matrix at a glance |
Classifying a zone |
| Pre-flight data gate |
CloudWatch metrics, Cost Explorer, zone inventory |
Before any recommendation |
| Step 0 non-obvious behaviours |
Calculated health checks, DNSSEC KMS, zone limits |
Edge cases |
| Step 1 Hosted zone inventory |
Zone consolidation, unused zone detection |
The headline savings dimension |
| Step 2 Health check analysis |
Endpoint vs calculated vs alarm-based |
High check-count accounts |
| Step 3 Query volume and routing |
Latency, geo, weighted surcharges |
High-volume zones |
| Step 4 Traffic policy evaluation |
$50/month flat vs free routing |
Traffic policy users |
| Step 5 Private zone VPC cost |
Multi-VPC association overhead |
Private DNS |
| Step 6 DNSSEC cost impact |
KMS signing key + API calls |
DNSSEC-enabled zones |
| Step 7 Query logging reduction |
Log volume and retention |
Logging-enabled zones |
| Step 8 Impact estimation |
The cost formula and worked math |
Every recommendation |
| Output format |
VERDICT block + worked examples |
Emitting the result |
| Anti-Patterns — NEVER |
Common misclassifications |
Self-check before emit |
| Pre-flight safety checks |
CONFIRM gate, zone backup, TTL |
Before any apply CLI |
Quick start
- Hosted zones bill even when unused. Each public or private zone
costs $0.50/month (first 25) or $0.10/month (25+). A zone with 0
queries over 30 days is pure waste. Inventory and delete unused zones
first.
- Cost formula (memorise this):
monthly_cost = (zone_count × $0.50) + (standard_queries_B × $0.40) + (latency_queries_B × $0.20) + (geo_queries_B × $0.30) + (health_checks × $0.50) + (traffic_policies × $50) + (dnssec_kms_keys × $1)
- Calculated health checks are free. A calculated health check that
monitors the status of up to 25 other health checks costs $0/month.
Replace redundant endpoint checks with a calculated check parent.
- Routing policy surcharges compound. Latency-based routing adds
$0.20/B queries over base; geolocation adds $0.30/B. Evaluate whether
simple or weighted routing (no surcharge) suffices for the traffic
pattern.
Mindset
Four principles guide every recommendation (zones are the fixed cost; health checks are the variable cost; routing surcharges are the hidden cost; query logging is the wildcard): references/advanced-patterns.md.
Load on demand for the full reasoning behind each principle.
Quick reference — verdict thresholds
| Observation (14-30 day window) |
Verdict |
Recommendation |
| Zone with 0 queries over 30 days AND no dependent services (no ACM validation, no SES, no MX) |
FURTHER_OPTIMIZATION_AVAILABLE (unused zone) |
Step 1 — delete the hosted zone |
| Two or more low-traffic domains (< 10K queries/month each) with separate zones |
FURTHER_OPTIMIZATION_AVAILABLE (consolidation) |
Step 1 — consolidate into a single zone with subdomain records |
| Endpoint health check monitoring a resource that also has an ALB health check AND the Route 53 check is redundant |
FURTHER_OPTIMIZATION_AVAILABLE (health check) |
Step 2 — delete redundant check or convert to calculated |
| 10+ endpoint health checks where a calculated health check parent could replace the composite |
FURTHER_OPTIMIZATION_AVAILABLE (calculated) |
Step 2 — replace with calculated health check (free) |
| Latency-based routing on a zone with < 1M queries/month from a single region |
FURTHER_OPTIMIZATION_AVAILABLE (routing) |
Step 3 — switch to simple or weighted routing (no surcharge) |
| Traffic policy active but the routing logic matches a simple weighted policy achievable with records |
FURTHER_OPTIMIZATION_AVAILABLE (traffic policy) |
Step 4 — replace traffic policy with record-level routing (saves $50/month) |
| DNSSEC enabled on a zone with < 100 queries/month AND no compliance requirement |
FURTHER_OPTIMIZATION_AVAILABLE (DNSSEC) |
Step 6 — disable DNSSEC to remove KMS key cost |
| Query logging enabled on a zone generating > 50 GB/month of logs AND no compliance requirement |
FURTHER_OPTIMIZATION_AVAILABLE (logging) |
Step 7 — reduce retention, sample, or disable logging |
| All dimensions verified AND a change was applied and confirmed this session |
OPTIMIZED |
Emit post-state verification |
| All zones active, health checks right-sized, no surcharge routing abuse, no waste |
ALREADY_OPTIMAL |
None — continue monitoring |
Configuration dependency graph
Configuration dependency graph (HostedZone -> DNSSEC/KMS, QueryLogging, RoutingPolicy surcharges, HealthChecks, VPC associations): references/advanced-patterns.md.
Load on demand to walk every cost-lever node.
Pre-flight: data gate (run before any optimization decision)
Optimization decisions are only as good as the underlying data. Pull
these metrics before any recommendation. Full CLI sequences are in
references/route53-pricing-and-configuration.md.
Required data-source command listing (zone inventory, record sets, health checks, traffic policies, query-logging configs, DNSQueries metrics, Cost Explorer): references/diagnostic-commands.md.
Full CLI sequences also live in references/route53-pricing-and-configuration.md.
Data-quality short-circuits
| Condition |
Effect on optimization |
DNSQueries metric absent (never queried) |
Zone is likely unused. Cross-check with record count and dependent services. |
| Observation window < 14 days |
Extend to minimum 14 days; 30 days preferred. |
list-hosted-zones returns 0 zones |
Account has no Route 53 spend. Skip. |
| Cost Explorer returns 0 for Route 53 |
No optimization needed. Skip. |
Health check LastCheckedAt > 24 hours ago |
Health check may be disabled or failed. Investigate before counting cost. |
| Zone has ACM certificate validation CNAME |
Zone is required for cert renewal. Do NOT delete without cert migration. |
| Private zone with no VPC associations |
Zone is orphaned. Safe to delete. |
Process — Optimization logic (apply in order)
Step 0: Non-obvious behaviours that change the recommendation
The 10 non-obvious behaviours (calculated-check nesting limit, DNSSEC KMS billing, NS-delegation-before-deletion, per-policy traffic-policy billing, latency surcharge scope, private-zone surcharges, ingestion-vs-storage logging, domain-transfer invariance, interval-invariant pricing, 25-zone price break): references/advanced-patterns.md.
Load on demand — each behaviour reroutes the recommendation.
Step 1: Hosted zone inventory (the #1 lever)
Every hosted zone bills monthly regardless of query volume. Zone
reduction is the highest-leverage cost action.
Unused-zone detection loop and zone-consolidation loop (DNSQueries check, ACM/SES dependent-service cross-checks, subdomain consolidation math): references/advanced-patterns.md.
The decision gate below is authoritative; procedures are on demand.
Decision gate:
| Zone query volume |
Dependent services |
Verdict |
| 0 queries / 30 days |
None |
Delete zone — saves $0.50/month |
| < 1,000 queries / 30 days |
None |
Delete zone or consolidate — saves $0.50/month |
| < 10,000 queries / 30 days |
Subdomain of active zone |
Consolidate into parent zone — saves $0.50/month |
| > 10,000 queries / 30 days |
— |
Keep zone; evaluate other dimensions |
Step 2: Health check cost analysis
Each endpoint health check costs $0.50/month. Calculated health checks
are free. The goal is to minimize endpoint checks and maximize
calculated checks.
Health check type decision:
| Check type |
Cost |
Use when |
| Endpoint ($0.50/mo) |
Monitoring an IP, domain, or resource directly |
Primary health monitoring of a critical endpoint |
| Calculated (FREE) |
Composite of up to 25 other checks |
Combining multiple endpoint checks into one DNS failover decision |
| Alarm-based ($0.50/mo) |
Monitoring a CloudWatch alarm |
Route 53 should fail over based on a non-HTTP metric |
Calculated health check conversion procedure (3+ endpoint checks -> one free calculated parent): references/advanced-patterns.md.
The type decision table above is authoritative.
Redundancy elimination guidance (ALB-vs-Route 53 duplicate checks; interval changes never save money): references/advanced-patterns.md.
Step 3: Query volume and routing policy analysis
DNS query billing is tiered and routing-policy-dependent. The surcharge
for latency-based and geolocation routing can dominate cost at scale.
Query pricing tiers (standard tiering, latency +$0.20/B, geolocation +$0.30/B, weighted no-surcharge): references/route53-pricing-and-configuration.md.
Routing policy evaluation procedure (single-region latency cutoffs, multi-region justification): references/advanced-patterns.md.
Per-zone query ranking procedure (top-5 zones by volume x surcharge): references/advanced-patterns.md.
Step 4: Traffic policy evaluation
Traffic policies are visual routing editors that cost $50/month flat
per policy. Many use cases are achievable with record-level routing
rules at no additional cost.
Traffic policy decision gate:
| Traffic policy characteristic |
Verdict |
| Policy replicates a simple weighted or failover rule |
Replace with record-level routing — saves $50/month |
| Policy uses geoproximity or multi-region active-active with complex rules |
Keep; traffic policy is justified |
| Policy is attached to 0 records (orphaned) |
Delete the policy — saves $50/month |
| Policy is attached to a record with < 10K queries/month |
Evaluate replacing with record-level routing — likely saves $50/month |
Step 5: Private hosted zone VPC association
Private hosted zones bill the same $0.50/month as public zones. VPC
associations themselves carry no additional charge. The optimization
is purely inventory-based.
Private zone audit procedure (VPC association check, orphaned-zone and overlap rules): references/advanced-patterns.md.
Step 6: DNSSEC cost impact analysis
DNSSEC cost detail (KMS key $1/month + $0.03 per 10,000 signatures): references/route53-pricing-and-configuration.md.
DNSSEC decision gate:
| DNSSEC usage |
Verdict |
| DNSSEC enabled, zone has compliance/regulatory requirement |
Keep; cost is justified |
| DNSSEC enabled, zone has < 100 queries/month, no compliance mandate |
Disable DNSSEC — saves $1/month KMS cost |
| DNSSEC enabled, KMS key shared across 10+ zones |
Cost is amortized; keep |
| DNSSEC enabled but key rotation creates new KMS keys without cleanup |
Audit KMS key inventory; delete orphaned signing keys |
Step 7: Query logging volume reduction
CloudWatch Logs charges $0.50/GB ingested. Route 53 query logging can
generate significant volume on high-traffic zones.
Query logging audit procedure (volume estimate, 50 GB/month cutoff, retention reduction): references/advanced-patterns.md.
Query logging volume formula and worked math (100M queries x 200 bytes = ~18.6 GB = $9.28/month): references/route53-pricing-and-configuration.md.
Step 8: Impact estimation
Compute the monthly savings for each recommendation:
current_monthly_cost =
(zone_count × zone_rate)
+ (standard_queries_B × $0.40)
+ (latency_queries_B × $0.20)
+ (geo_queries_B × $0.30)
+ (health_checks × $0.50)
+ (traffic_policies × $50)
+ (dnssec_kms_keys × $1)
+ (query_logging_GB × $0.50)
projected_monthly_cost = <recalculated with proposed changes>
monthly_saving = current_monthly_cost - projected_monthly_cost
Always state assumptions: zone count, query volumes by routing type,
health check count, traffic policy count, DNSSEC key count, logging
volume, pricing region.
Step 9: Final verdict
- Any dimension recommends a change → FURTHER_OPTIMIZATION_AVAILABLE.
- All dimensions pass AND no waste detected → ALREADY_OPTIMAL.
- Change applied and verified this session → OPTIMIZED.
Never emit FURTHER_OPTIMIZATION_AVAILABLE without first discharging
every data-gate check.
Output format
Canonical TARGET/VERDICT/RECOMMENDATION/ESTIMATED_SAVINGS/REMEDIATION_STEPS/CONFIRM template: references/worked-examples.md.
The STRICT output contract below is authoritative.
Full worked examples are in references/worked-examples.md.
STRICT output contract
The rules below are hard constraints. Violating any one produces a
misclassification or an arithmetic contradiction that breaks downstream
FinOps automation. Self-check EVERY emitted block against these rules
before returning the response.
Required output structure
Every response MUST be a single block using these literal labels, in this
order. Do NOT substitute markdown headings, camelCase, or bold variants.
TARGET: <zone-name or health-check-id>
VERDICT: OPTIMIZED | FURTHER_OPTIMIZATION_AVAILABLE
REASON: <1-2 sentences naming the recommendation and the supporting data>
RECOMMENDATION:
Current: <zone/config description>
Proposed: <zone/config description>
Dimensions changed: <zones | health_checks | routing | traffic_policy | dnssec | logging>
Dimensions checked: <list ALL seven, each ✓ (no finding) or → (finding)>
Confidence: <HIGH/MEDIUM/LOW> — <one-line rationale>
ESTIMATED_SAVINGS:
Current monthly: $<amount> ← MUST show all subtotals
Projected monthly: $<amount>
Monthly saving: $<amount> ← MUST equal Current − Projected, 2 decimals
Annual saving: $<amount> ← MUST equal Monthly × 12
REMEDIATION_STEPS:
1. <specific action with CLI command>
2. <verification step>
CONFIRM: <confirmation prompt text>
FORBIDDEN output patterns
NEVER emit VERDICT: FURTHER_OPTIMIZATION_AVAILABLE with Monthly saving: $0.00. If every dimension nets zero cost delta, the verdict
MUST be ALREADY_OPTIMAL. A cost-neutral configuration improvement is
surfaced in REASON, NOT as a dollar saving.
NEVER show savings math that does not balance.
Current monthly − Projected monthly MUST equal Monthly saving,
rounded to 2 decimal places.
NEVER emit scratch lines ("WAIT — recompute", "Hmm, let me redo",
"corrected:") in the output. Finalize the math before emitting.
NEVER recommend deleting a hosted zone without checking for ACM
certificate validation CNAMEs, SES domain verification, or API
Gateway custom domains. Deleting a zone that supports certificate
renewal breaks the certificate.
NEVER recommend disabling DNSSEC for a zone with a known compliance
requirement (PCI-DSS, FedRAMP, HIPAA) without flagging the
compliance impact in the CONFIRM gate.
NEVER omit a dimension from the RECOMMENDATION block. The
Dimensions checked line MUST list all seven dimensions, each marked
✓ (no finding) or → (finding).
NEVER round intermediate formula steps differently from the final
figure. Compute at full precision, round only the displayed result.
Perfect example output — FURTHER_OPTIMIZATION_AVAILABLE with verified math
Every field below is internally consistent. Copy this shape exactly.
TARGET: legacy-staging.example.com
VERDICT: FURTHER_OPTIMIZATION_AVAILABLE
REASON: Hosted zone has received 0 DNS queries in 30 days (CloudWatch
DNSQueries Sum = 0). No ACM certificate validation CNAMEs, no SES
verification records, no MX records. Zone is pure waste at $0.50/month.
Additionally, 3 endpoint health checks ($1.50/month) monitor a
decommissioned ALB and should be deleted.
RECOMMENDATION:
Current: 1 hosted zone (legacy-staging.example.com), 3 endpoint health
checks, DNSSEC enabled (1 KMS key), query logging enabled
Proposed: 0 hosted zones, 0 health checks, DNSSEC disabled, logging
disabled
Dimensions changed: zones (delete) + health_checks (delete) + dnssec
(disable) + logging (disable)
Dimensions checked: zones → (delete) health_checks → (delete)
routing ✓ (no records with surcharge policy) traffic_policy ✓ (none)
dnssec → (disable) logging → (disable)
private_zones ✓ (not a private zone)
Confidence: HIGH — CloudWatch confirms zero queries; record set audit
confirms no dependent service CNAMEs; ALB was decommissioned 45 days
ago per CloudTrail.
ESTIMATED_SAVINGS:
Current monthly: $3.00
zone: 1 × $0.50 = $0.50
health_checks: 3 × $0.50 = $1.50
dnssec_kms: 1 × $1.00 = $1.00
logging: ~0 GB (no queries) = $0.00
Projected monthly: $0.00
Monthly saving: $3.00
($3.00 − $0.00 = $3.00 ✓)
Annual saving: $36.00
REMEDIATION_STEPS:
1. Verify no ACM certificates depend on this zone:
aws acm list-certificates --output table
aws route53 list-resource-record-sets --hosted-zone-id Z1A2B3C4D5E6F7
2. Delete health checks:
aws route53 delete-health-check --health-check-id <id-1>
aws route53 delete-health-check --health-check-id <id-2>
aws route53 delete-health-check --health-check-id <id-3>
3. Disable DNSSEC signing:
aws route53 delete-key-signing-key --hosted-zone-id Z1A2B3C4D5E6F7 --key-id <ksk-id>
4. Delete query logging config:
aws route53 delete-query-logging-config --id <config-id>
5. Delete the hosted zone (must empty records first except NS/SOA):
aws route53 delete-hosted-zone --id Z1A2B3C4D5E6F7
6. Update the domain registrar NS records to point elsewhere (if the
domain is still registered).
CONFIRM: About to delete hosted zone legacy-staging.example.com and 3
health checks and disable DNSSEC. Monthly saving $3.00 ($36.00/year).
This is irreversible. Proceed? (yes/no)
Self-check before emit:
Verdict semantics
| Verdict |
When to emit |
FURTHER_OPTIMIZATION_AVAILABLE |
At least one dimension has a concrete, savings-bearing recommendation. |
OPTIMIZED |
A change was applied and verified this session; metrics confirm the new configuration. |
ALREADY_OPTIMAL |
All dimensions pass (zones active, health checks justified, no surcharge routing abuse, no waste). |
Zero-savings rule: If MONTHLY_SAVING == $0.00 for every dimension,
verdict MUST be ALREADY_OPTIMAL, never FURTHER_OPTIMIZATION_AVAILABLE.
Exception: a configuration improvement without cost change is surfaced
in REASON, not as dollar savings.
Anti-Patterns — NEVER (top 5)
NEVER recommend deleting a hosted zone without verifying no ACM
certificate validation, SES domain verification, or API Gateway
custom domain depends on it. Deleting a zone that supports active
certificate renewal will break the certificate within 24 hours.
NEVER recommend converting an endpoint health check to a calculated
health check if the endpoint is the sole health signal for a DNS
failover. A calculated check that monitors only one endpoint
provides no aggregation benefit and the original endpoint check must
still exist ($0.50/month) — there is no saving.
NEVER recommend disabling DNSSEC without flagging the security and
compliance implications. DNSSEC protects against DNS spoofing and
cache poisoning. Disabling it for a compliance-bound zone is a
security regression, not just a cost saving.
NEVER recommend switching from latency-based routing to simple
routing for a zone that genuinely serves multi-region traffic with
latency SLOs. The $0.20/B surcharge is justified when the routing
policy delivers measurable latency improvement across regions.
NEVER assume health check interval reduction saves money. The
cost is $0.50/month flat regardless of interval (10s vs 30s).
Interval is a reliability decision, not a cost decision.
Extended anti-patterns in references/route53-pricing-and-configuration.md.
Expert heuristic (domain expert rules of thumb)
Three expert heuristics (consolidation break-even ~3 zones; check COUNT is the cost lever not interval; calculated-check nesting fan-in 25/one-level): references/advanced-patterns.md.
Pre-flight safety checks (run before any remediation CLI)
- MANDATORY CONFIRMATION GATE. Before any state-changing operation,
emit and await operator approval. Do NOT execute until confirmed.
- Back up zone records before deletion. Export the full record set
to a JSON file before deleting a hosted zone. Zone deletion is
irreversible.
- Verify registrar NS delegation before zone deletion. If the
registrar still delegates to this zone, DNS resolution for the domain
will fail after deletion.
- Check ACM certificate dependencies. Run
aws acm list-certificates
and cross-check CNAME validation records against the zone's record
sets. Do NOT delete a zone that hosts a validation CNAME for an active
certificate.
- Health check deletion is irreversible. Record the health check
configuration before deleting in case it needs to be recreated.
- DNSSEC disabling requires key-signing-key deletion. After removing
the KSK, wait for DS record TTL expiry before the zone is fully
unsigned. Update the parent zone's DS record or the registrar.
- Query logging deletion does not delete existing logs. Logs remain
in CloudWatch Logs subject to retention policy. Only ingestion cost
stops.
- Traffic policy deletion fails if attached to active records. Remove
all policy instances before deleting the policy.
- Bulk-operation limit: Process at most 5 zone deletions per batch.
Verify each deletion does not break DNS resolution before proceeding
to the next batch.
Recent AWS features (2024-2026)
Recent AWS features (DNSSEC GA, traffic-policy editor, calculated-check capacity 25, Logs Insights, Resolver DNS Firewall, Cost Optimization Hub): references/advanced-patterns.md.
References
references/route53-pricing-and-configuration.md — pricing tables,
hosted zone limits, health check types, routing policy surcharges,
DNSSEC setup steps, query logging configuration, CLI reference, anti-
pattern catalog.
references/worked-examples.md — full worked examples (unused zone
deletion, health check calculated conversion, routing policy switch,
already-optimal, end-to-end walkthrough).
References (load on demand)
- Advanced patterns — mindset principles, configuration dependency graph, Step 0 non-obvious behaviours, per-step optimization procedures, expert heuristics, recent AWS features
- Diagnostic commands — pre-flight data-gate command listing
- Worked examples — full worked examples plus the canonical output block template
- Pricing and configuration — pricing tables, query tiers, DNSSEC cost detail, query-logging formula, CLI reference, anti-pattern catalog
Domain
AWS CloudOps / Route 53 DNS Cost Optimization & FinOps.
AWS documentation
1---2name: route53-cost-optimizer3description: 'Optimises Amazon Route 53 DNS cost across seven dimensions: hosted zone cost reduction (consolidating low-traffic domains, detecting unused zones that still bill $0.50/month), health check cost analysis (endpoint checks at $0.50/month vs calculated checks which are free), DNS query volume analysis per zone (standard queries $0.40/B, latency-based routing +$0.20/B, geolocation +$0.30/B), traffic policy vs simple routing cost (traffic policies are $50/month flat), routing policy surcharge evaluation, private hosted zone VPC association audit, DNSSEC cost impact (KMS signing key at $1/key/month), and query logging volume reduction (CloudWatch ingestion $0.50/GB). Emits FURTHER_OPTIMIZATION_AVAILABLE, OPTIMIZED, or ALREADY_OPTIMAL. Use when reviewing Route 53 spend, auditing hosted zones, or a FinOps DNS review.'4license: Apache-2.05compatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). Offline recommendation classification works from pasted Route 53 configuration and CloudWatch metrics. Live-account optimization uses aws route53 list-hosted-zones, aws route53 list-health-checks, aws route53 get-hosted-zone, aws route53 list-traffic-policies, aws route53 list-query-logging-configs, aws cloudwatch get-metric-statistics (DNSQueries, HealthCheckPercentHealthy), aws ce get-cost-and-usage, and aws...6metadata:7 source: https://skillmd.com/skills/jhkchan/route53-cost-optimizer8 domain: aws-cloudops9 complexity: medium10 requires_llm: 'true'11 phase: '3'12 supports_pipeline: 'true'13 entry_point: 'false'14 family: Networking15 task_type: optimize16 skill_class: capability17 lifecycle_status: active18 verdict_shape: OPTIMIZED | FURTHER_OPTIMIZATION_AVAILABLE19 when_to_use: Optimising Route 53 cost, auditing hosted zone inventory, detecting unused hosted zones, analysing health check spend, evaluating traffic policy necessity, reviewing DNS query volume and routing policy surcharges, assessing DNSSEC cost impact, or reducing DNS query logging volume.20 when_not_to_use: Route 53 record-level troubleshooting (use route53-record-auditor), Route 53 health check functional debugging (use route53-health-check-troubleshooter), Route 53 failover operations (use route53-failover-operator), or Route 53 resolver configuration (use route53-resolver-deployer). This skill focuses on cost-driven optimization decisions, not functional DNS debugging.21 activation_triggers: optimise Route 53 cost, Route 53 hosted zone audit, Route 53 unused zones, Route 53 health check cost, Route 53 traffic policy cost, Route 53 DNSSEC cost, Route 53 query logging cost, Route 53 routing policy cost, Route 53 FinOps savings, reduce DNS bill, hosted zone consolidation, calculated health checks, DNS query volume analysis, Route 53 monthly savings estimate, private hosted zone cost22 invocation_schema: 'Input: either (a) a hosted zone identifier + live-account context, (b) a Cost Explorer Route 53 cost breakdown, OR (c) CloudWatch Route 53 metrics (DNSQueries, HealthCheckPercentHealthy, HealthCheckStatus) with at least 14 days of observation. Output: a deterministic TARGET/VERDICT/REASON/RECOMMENDATION/ESTIMATED_SAVINGS/REMEDIATION_STEPS block per zone or health check, where VERDICT is one of OPTIMIZED, FURTHER_OPTIMIZATION_AVAILABLE.'23 invocation_example: '# Minimal valid input (offline finding classification):2425 HostedZoneId: Z1A2B3C4D5E6F72627 DomainName: legacy-staging.example.com2829 ZoneType: Public3031 RecordCount: 4 (SOA, NS, 1 A record, 1 TXT)3233 HealthChecks: 2 (endpoint-based, 30s interval)3435 QueryVolume: ~1,000/month (last 30 days)3637 DNSSEC: Enabled (KMS key in use)3839 QueryLogging: Enabled (CloudWatch Logs)4041 Region: us-east-14243 Emit the standard optimization block (TARGET, VERDICT, REASON,4445 RECOMMENDATION, ESTIMATED_SAVINGS, REMEDIATION_STEPS).'46 version: 0.1.047 author: Jacky Chan — AWS Community Builder48 keywords: Route 53, DNS, cost optimization, hosted zones, health checks, traffic policies, latency-based routing, geolocation routing, weighted routing, DNSSEC, query logging, private hosted zones, domain transfer, calculated health checks, FinOps, CloudOps49 tags: route53, networking, dns, cost-optimization, finops, health-checks, dnssec50---5152# Route 53 Cost Optimizer5354## What this skill does5556Translates a Route 53 DNS footprint into a concrete cost-optimization57recommendation with a dollar-denominated savings estimate. The verdict is58the highest-leverage action across seven dimensions — hosted zone59inventory, health check configuration, query volume and routing policy,60traffic policies, private zone VPC associations, DNSSEC overhead, and61query logging volume — applied in priority order. Always pairs the62recommendation with exact CLI commands.6364## Quick navigation6566| Section | What it covers | When to jump here |67|---|---|---|68| Quick start | Four headline rules and the cost formula | First read |69| Mindset | Why hosted zone consolidation is the #1 lever | Understanding the approach |70| Quick reference — verdict thresholds | Decision matrix at a glance | Classifying a zone |71| Pre-flight data gate | CloudWatch metrics, Cost Explorer, zone inventory | Before any recommendation |72| Step 0 non-obvious behaviours | Calculated health checks, DNSSEC KMS, zone limits | Edge cases |73| Step 1 Hosted zone inventory | Zone consolidation, unused zone detection | The headline savings dimension |74| Step 2 Health check analysis | Endpoint vs calculated vs alarm-based | High check-count accounts |75| Step 3 Query volume and routing | Latency, geo, weighted surcharges | High-volume zones |76| Step 4 Traffic policy evaluation | $50/month flat vs free routing | Traffic policy users |77| Step 5 Private zone VPC cost | Multi-VPC association overhead | Private DNS |78| Step 6 DNSSEC cost impact | KMS signing key + API calls | DNSSEC-enabled zones |79| Step 7 Query logging reduction | Log volume and retention | Logging-enabled zones |80| Step 8 Impact estimation | The cost formula and worked math | Every recommendation |81| Output format | VERDICT block + worked examples | Emitting the result |82| Anti-Patterns — NEVER | Common misclassifications | Self-check before emit |83| Pre-flight safety checks | CONFIRM gate, zone backup, TTL | Before any apply CLI |8485## Quick start8687- **Hosted zones bill even when unused.** Each public or private zone88 costs $0.50/month (first 25) or $0.10/month (25+). A zone with 089 queries over 30 days is pure waste. Inventory and delete unused zones90 first.91- **Cost formula (memorise this):**92 `monthly_cost = (zone_count × $0.50)93 + (standard_queries_B × $0.40)94 + (latency_queries_B × $0.20)95 + (geo_queries_B × $0.30)96 + (health_checks × $0.50)97 + (traffic_policies × $50)98 + (dnssec_kms_keys × $1)`99- **Calculated health checks are free.** A calculated health check that100 monitors the status of up to 25 other health checks costs $0/month.101 Replace redundant endpoint checks with a calculated check parent.102- **Routing policy surcharges compound.** Latency-based routing adds103 $0.20/B queries over base; geolocation adds $0.30/B. Evaluate whether104 simple or weighted routing (no surcharge) suffices for the traffic105 pattern.106107## Mindset108109Four principles guide every recommendation (zones are the fixed cost; health checks are the variable cost; routing surcharges are the hidden cost; query logging is the wildcard): [references/advanced-patterns.md](references/advanced-patterns.md).110Load on demand for the full reasoning behind each principle.111112## Quick reference — verdict thresholds113114| Observation (14-30 day window) | Verdict | Recommendation |115|---|---|---|116| Zone with 0 queries over 30 days AND no dependent services (no ACM validation, no SES, no MX) | **FURTHER_OPTIMIZATION_AVAILABLE** (unused zone) | Step 1 — delete the hosted zone |117| Two or more low-traffic domains (< 10K queries/month each) with separate zones | **FURTHER_OPTIMIZATION_AVAILABLE** (consolidation) | Step 1 — consolidate into a single zone with subdomain records |118| Endpoint health check monitoring a resource that also has an ALB health check AND the Route 53 check is redundant | **FURTHER_OPTIMIZATION_AVAILABLE** (health check) | Step 2 — delete redundant check or convert to calculated |119| 10+ endpoint health checks where a calculated health check parent could replace the composite | **FURTHER_OPTIMIZATION_AVAILABLE** (calculated) | Step 2 — replace with calculated health check (free) |120| Latency-based routing on a zone with < 1M queries/month from a single region | **FURTHER_OPTIMIZATION_AVAILABLE** (routing) | Step 3 — switch to simple or weighted routing (no surcharge) |121| Traffic policy active but the routing logic matches a simple weighted policy achievable with records | **FURTHER_OPTIMIZATION_AVAILABLE** (traffic policy) | Step 4 — replace traffic policy with record-level routing (saves $50/month) |122| DNSSEC enabled on a zone with < 100 queries/month AND no compliance requirement | **FURTHER_OPTIMIZATION_AVAILABLE** (DNSSEC) | Step 6 — disable DNSSEC to remove KMS key cost |123| Query logging enabled on a zone generating > 50 GB/month of logs AND no compliance requirement | **FURTHER_OPTIMIZATION_AVAILABLE** (logging) | Step 7 — reduce retention, sample, or disable logging |124| All dimensions verified AND a change was applied and confirmed this session | **OPTIMIZED** | Emit post-state verification |125| All zones active, health checks right-sized, no surcharge routing abuse, no waste | **ALREADY_OPTIMAL** | None — continue monitoring |126127## Configuration dependency graph128129Configuration dependency graph (HostedZone -> DNSSEC/KMS, QueryLogging, RoutingPolicy surcharges, HealthChecks, VPC associations): [references/advanced-patterns.md](references/advanced-patterns.md).130Load on demand to walk every cost-lever node.131132## Pre-flight: data gate (run before any optimization decision)133134Optimization decisions are only as good as the underlying data. Pull135these metrics before any recommendation. Full CLI sequences are in136`references/route53-pricing-and-configuration.md`.137138Required data-source command listing (zone inventory, record sets, health checks, traffic policies, query-logging configs, DNSQueries metrics, Cost Explorer): [references/diagnostic-commands.md](references/diagnostic-commands.md).139Full CLI sequences also live in [references/route53-pricing-and-configuration.md](references/route53-pricing-and-configuration.md).140141### Data-quality short-circuits142143| Condition | Effect on optimization |144|---|---|145| `DNSQueries` metric absent (never queried) | Zone is likely unused. Cross-check with record count and dependent services. |146| Observation window < 14 days | Extend to minimum 14 days; 30 days preferred. |147| `list-hosted-zones` returns 0 zones | Account has no Route 53 spend. Skip. |148| Cost Explorer returns 0 for Route 53 | No optimization needed. Skip. |149| Health check `LastCheckedAt` > 24 hours ago | Health check may be disabled or failed. Investigate before counting cost. |150| Zone has ACM certificate validation CNAME | Zone is required for cert renewal. Do NOT delete without cert migration. |151| Private zone with no VPC associations | Zone is orphaned. Safe to delete. |152153## Process — Optimization logic (apply in order)154155### Step 0: Non-obvious behaviours that change the recommendation156157The 10 non-obvious behaviours (calculated-check nesting limit, DNSSEC KMS billing, NS-delegation-before-deletion, per-policy traffic-policy billing, latency surcharge scope, private-zone surcharges, ingestion-vs-storage logging, domain-transfer invariance, interval-invariant pricing, 25-zone price break): [references/advanced-patterns.md](references/advanced-patterns.md).158Load on demand — each behaviour reroutes the recommendation.159160### Step 1: Hosted zone inventory (the #1 lever)161162Every hosted zone bills monthly regardless of query volume. Zone163reduction is the highest-leverage cost action.164165Unused-zone detection loop and zone-consolidation loop (DNSQueries check, ACM/SES dependent-service cross-checks, subdomain consolidation math): [references/advanced-patterns.md](references/advanced-patterns.md).166The decision gate below is authoritative; procedures are on demand.167168**Decision gate:**169170| Zone query volume | Dependent services | Verdict |171|---|---|---|172| 0 queries / 30 days | None | Delete zone — saves $0.50/month |173| < 1,000 queries / 30 days | None | Delete zone or consolidate — saves $0.50/month |174| < 10,000 queries / 30 days | Subdomain of active zone | Consolidate into parent zone — saves $0.50/month |175| > 10,000 queries / 30 days | — | Keep zone; evaluate other dimensions |176177### Step 2: Health check cost analysis178179Each endpoint health check costs $0.50/month. Calculated health checks180are free. The goal is to minimize endpoint checks and maximize181calculated checks.182183**Health check type decision:**184185| Check type | Cost | Use when |186|---|---|---|187| Endpoint ($0.50/mo) | Monitoring an IP, domain, or resource directly | Primary health monitoring of a critical endpoint |188| Calculated (FREE) | Composite of up to 25 other checks | Combining multiple endpoint checks into one DNS failover decision |189| Alarm-based ($0.50/mo) | Monitoring a CloudWatch alarm | Route 53 should fail over based on a non-HTTP metric |190191Calculated health check conversion procedure (3+ endpoint checks -> one free calculated parent): [references/advanced-patterns.md](references/advanced-patterns.md).192The type decision table above is authoritative.193194Redundancy elimination guidance (ALB-vs-Route 53 duplicate checks; interval changes never save money): [references/advanced-patterns.md](references/advanced-patterns.md).195196### Step 3: Query volume and routing policy analysis197198DNS query billing is tiered and routing-policy-dependent. The surcharge199for latency-based and geolocation routing can dominate cost at scale.200201Query pricing tiers (standard tiering, latency +$0.20/B, geolocation +$0.30/B, weighted no-surcharge): [references/route53-pricing-and-configuration.md](references/route53-pricing-and-configuration.md).202203Routing policy evaluation procedure (single-region latency cutoffs, multi-region justification): [references/advanced-patterns.md](references/advanced-patterns.md).204205Per-zone query ranking procedure (top-5 zones by volume x surcharge): [references/advanced-patterns.md](references/advanced-patterns.md).206207### Step 4: Traffic policy evaluation208209Traffic policies are visual routing editors that cost $50/month flat210per policy. Many use cases are achievable with record-level routing211rules at no additional cost.212213**Traffic policy decision gate:**214215| Traffic policy characteristic | Verdict |216|---|---|217| Policy replicates a simple weighted or failover rule | Replace with record-level routing — saves $50/month |218| Policy uses geoproximity or multi-region active-active with complex rules | Keep; traffic policy is justified |219| Policy is attached to 0 records (orphaned) | Delete the policy — saves $50/month |220| Policy is attached to a record with < 10K queries/month | Evaluate replacing with record-level routing — likely saves $50/month |221222### Step 5: Private hosted zone VPC association223224Private hosted zones bill the same $0.50/month as public zones. VPC225associations themselves carry no additional charge. The optimization226is purely inventory-based.227228Private zone audit procedure (VPC association check, orphaned-zone and overlap rules): [references/advanced-patterns.md](references/advanced-patterns.md).229230### Step 6: DNSSEC cost impact analysis231232DNSSEC cost detail (KMS key $1/month + $0.03 per 10,000 signatures): [references/route53-pricing-and-configuration.md](references/route53-pricing-and-configuration.md).233234**DNSSEC decision gate:**235236| DNSSEC usage | Verdict |237|---|---|238| DNSSEC enabled, zone has compliance/regulatory requirement | Keep; cost is justified |239| DNSSEC enabled, zone has < 100 queries/month, no compliance mandate | Disable DNSSEC — saves $1/month KMS cost |240| DNSSEC enabled, KMS key shared across 10+ zones | Cost is amortized; keep |241| DNSSEC enabled but key rotation creates new KMS keys without cleanup | Audit KMS key inventory; delete orphaned signing keys |242243### Step 7: Query logging volume reduction244245CloudWatch Logs charges $0.50/GB ingested. Route 53 query logging can246generate significant volume on high-traffic zones.247248Query logging audit procedure (volume estimate, 50 GB/month cutoff, retention reduction): [references/advanced-patterns.md](references/advanced-patterns.md).249250Query logging volume formula and worked math (100M queries x 200 bytes = ~18.6 GB = $9.28/month): [references/route53-pricing-and-configuration.md](references/route53-pricing-and-configuration.md).251252### Step 8: Impact estimation253254Compute the monthly savings for each recommendation:255256```257current_monthly_cost =258 (zone_count × zone_rate)259 + (standard_queries_B × $0.40)260 + (latency_queries_B × $0.20)261 + (geo_queries_B × $0.30)262 + (health_checks × $0.50)263 + (traffic_policies × $50)264 + (dnssec_kms_keys × $1)265 + (query_logging_GB × $0.50)266267projected_monthly_cost = <recalculated with proposed changes>268269monthly_saving = current_monthly_cost - projected_monthly_cost270```271272Always state assumptions: zone count, query volumes by routing type,273health check count, traffic policy count, DNSSEC key count, logging274volume, pricing region.275276### Step 9: Final verdict277278- Any dimension recommends a change → **FURTHER_OPTIMIZATION_AVAILABLE**.279- All dimensions pass AND no waste detected → **ALREADY_OPTIMAL**.280- Change applied and verified this session → **OPTIMIZED**.281282Never emit `FURTHER_OPTIMIZATION_AVAILABLE` without first discharging283every data-gate check.284285## Output format286287Canonical TARGET/VERDICT/RECOMMENDATION/ESTIMATED_SAVINGS/REMEDIATION_STEPS/CONFIRM template: [references/worked-examples.md](references/worked-examples.md).288The STRICT output contract below is authoritative.289290Full worked examples are in `references/worked-examples.md`.291292## STRICT output contract293294The rules below are hard constraints. Violating any one produces a295misclassification or an arithmetic contradiction that breaks downstream296FinOps automation. Self-check EVERY emitted block against these rules297before returning the response.298299### Required output structure300301Every response MUST be a single block using these literal labels, in this302order. Do NOT substitute markdown headings, camelCase, or bold variants.303304```text305TARGET: <zone-name or health-check-id>306VERDICT: OPTIMIZED | FURTHER_OPTIMIZATION_AVAILABLE307REASON: <1-2 sentences naming the recommendation and the supporting data>308RECOMMENDATION:309 Current: <zone/config description>310 Proposed: <zone/config description>311 Dimensions changed: <zones | health_checks | routing | traffic_policy | dnssec | logging>312 Dimensions checked: <list ALL seven, each ✓ (no finding) or → (finding)>313 Confidence: <HIGH/MEDIUM/LOW> — <one-line rationale>314ESTIMATED_SAVINGS:315 Current monthly: $<amount> ← MUST show all subtotals316 Projected monthly: $<amount>317 Monthly saving: $<amount> ← MUST equal Current − Projected, 2 decimals318 Annual saving: $<amount> ← MUST equal Monthly × 12319REMEDIATION_STEPS:320 1. <specific action with CLI command>321 2. <verification step>322CONFIRM: <confirmation prompt text>323```324325### FORBIDDEN output patterns3263271. **NEVER emit `VERDICT: FURTHER_OPTIMIZATION_AVAILABLE` with `Monthly328 saving: $0.00`.** If every dimension nets zero cost delta, the verdict329 MUST be `ALREADY_OPTIMAL`. A cost-neutral configuration improvement is330 surfaced in REASON, NOT as a dollar saving.3313322. **NEVER show savings math that does not balance.**333 `Current monthly − Projected monthly` MUST equal `Monthly saving`,334 rounded to 2 decimal places.3353363. **NEVER emit scratch lines** ("WAIT — recompute", "Hmm, let me redo",337 "corrected:") in the output. Finalize the math before emitting.3383394. **NEVER recommend deleting a hosted zone without checking for ACM340 certificate validation CNAMEs, SES domain verification, or API341 Gateway custom domains.** Deleting a zone that supports certificate342 renewal breaks the certificate.3433445. **NEVER recommend disabling DNSSEC for a zone with a known compliance345 requirement** (PCI-DSS, FedRAMP, HIPAA) without flagging the346 compliance impact in the CONFIRM gate.3473486. **NEVER omit a dimension from the RECOMMENDATION block.** The349 `Dimensions checked` line MUST list all seven dimensions, each marked350 ✓ (no finding) or → (finding).3513527. **NEVER round intermediate formula steps differently from the final353 figure.** Compute at full precision, round only the displayed result.354355### Perfect example output — FURTHER_OPTIMIZATION_AVAILABLE with verified math356357Every field below is internally consistent. Copy this shape exactly.358359```text360TARGET: legacy-staging.example.com361VERDICT: FURTHER_OPTIMIZATION_AVAILABLE362REASON: Hosted zone has received 0 DNS queries in 30 days (CloudWatch363 DNSQueries Sum = 0). No ACM certificate validation CNAMEs, no SES364 verification records, no MX records. Zone is pure waste at $0.50/month.365 Additionally, 3 endpoint health checks ($1.50/month) monitor a366 decommissioned ALB and should be deleted.367RECOMMENDATION:368 Current: 1 hosted zone (legacy-staging.example.com), 3 endpoint health369 checks, DNSSEC enabled (1 KMS key), query logging enabled370 Proposed: 0 hosted zones, 0 health checks, DNSSEC disabled, logging371 disabled372 Dimensions changed: zones (delete) + health_checks (delete) + dnssec373 (disable) + logging (disable)374 Dimensions checked: zones → (delete) health_checks → (delete)375 routing ✓ (no records with surcharge policy) traffic_policy ✓ (none)376 dnssec → (disable) logging → (disable)377 private_zones ✓ (not a private zone)378 Confidence: HIGH — CloudWatch confirms zero queries; record set audit379 confirms no dependent service CNAMEs; ALB was decommissioned 45 days380 ago per CloudTrail.381ESTIMATED_SAVINGS:382 Current monthly: $3.00383 zone: 1 × $0.50 = $0.50384 health_checks: 3 × $0.50 = $1.50385 dnssec_kms: 1 × $1.00 = $1.00386 logging: ~0 GB (no queries) = $0.00387 Projected monthly: $0.00388 Monthly saving: $3.00389 ($3.00 − $0.00 = $3.00 ✓)390 Annual saving: $36.00391REMEDIATION_STEPS:392 1. Verify no ACM certificates depend on this zone:393 aws acm list-certificates --output table394 aws route53 list-resource-record-sets --hosted-zone-id Z1A2B3C4D5E6F7395 2. Delete health checks:396 aws route53 delete-health-check --health-check-id <id-1>397 aws route53 delete-health-check --health-check-id <id-2>398 aws route53 delete-health-check --health-check-id <id-3>399 3. Disable DNSSEC signing:400 aws route53 delete-key-signing-key --hosted-zone-id Z1A2B3C4D5E6F7 --key-id <ksk-id>401 4. Delete query logging config:402 aws route53 delete-query-logging-config --id <config-id>403 5. Delete the hosted zone (must empty records first except NS/SOA):404 aws route53 delete-hosted-zone --id Z1A2B3C4D5E6F7405 6. Update the domain registrar NS records to point elsewhere (if the406 domain is still registered).407CONFIRM: About to delete hosted zone legacy-staging.example.com and 3408 health checks and disable DNSSEC. Monthly saving $3.00 ($36.00/year).409 This is irreversible. Proceed? (yes/no)410```411412**Self-check before emit:**413- [ ] `Current monthly − Projected monthly == Monthly saving` (2 decimals)?414- [ ] `Monthly saving × 12 == Annual saving`?415- [ ] All seven dimensions listed in `Dimensions checked`?416- [ ] Every `→` dimension has a corresponding REMEDIATION_STEPS entry?417- [ ] No scratch/recompute text in the block?418419## Verdict semantics420421| Verdict | When to emit |422|---|---|423| `FURTHER_OPTIMIZATION_AVAILABLE` | At least one dimension has a concrete, savings-bearing recommendation. |424| `OPTIMIZED` | A change was applied and verified this session; metrics confirm the new configuration. |425| `ALREADY_OPTIMAL` | All dimensions pass (zones active, health checks justified, no surcharge routing abuse, no waste). |426427**Zero-savings rule:** If MONTHLY_SAVING == $0.00 for every dimension,428verdict MUST be `ALREADY_OPTIMAL`, never `FURTHER_OPTIMIZATION_AVAILABLE`.429Exception: a configuration improvement without cost change is surfaced430in REASON, not as dollar savings.431432## Anti-Patterns — NEVER (top 5)4334341. **NEVER recommend deleting a hosted zone without verifying no ACM435 certificate validation, SES domain verification, or API Gateway436 custom domain depends on it.** Deleting a zone that supports active437 certificate renewal will break the certificate within 24 hours.4384392. **NEVER recommend converting an endpoint health check to a calculated440 health check if the endpoint is the sole health signal for a DNS441 failover.** A calculated check that monitors only one endpoint442 provides no aggregation benefit and the original endpoint check must443 still exist ($0.50/month) — there is no saving.4444453. **NEVER recommend disabling DNSSEC without flagging the security and446 compliance implications.** DNSSEC protects against DNS spoofing and447 cache poisoning. Disabling it for a compliance-bound zone is a448 security regression, not just a cost saving.4494504. **NEVER recommend switching from latency-based routing to simple451 routing for a zone that genuinely serves multi-region traffic with452 latency SLOs.** The $0.20/B surcharge is justified when the routing453 policy delivers measurable latency improvement across regions.4544555. **NEVER assume health check interval reduction saves money.** The456 cost is $0.50/month flat regardless of interval (10s vs 30s).457 Interval is a reliability decision, not a cost decision.458459Extended anti-patterns in `references/route53-pricing-and-configuration.md`.460461## Expert heuristic (domain expert rules of thumb)462463Three expert heuristics (consolidation break-even ~3 zones; check COUNT is the cost lever not interval; calculated-check nesting fan-in 25/one-level): [references/advanced-patterns.md](references/advanced-patterns.md).464465## Pre-flight safety checks (run before any remediation CLI)466467- **MANDATORY CONFIRMATION GATE.** Before any state-changing operation,468 emit and await operator approval. Do NOT execute until confirmed.469- **Back up zone records before deletion.** Export the full record set470 to a JSON file before deleting a hosted zone. Zone deletion is471 irreversible.472- **Verify registrar NS delegation before zone deletion.** If the473 registrar still delegates to this zone, DNS resolution for the domain474 will fail after deletion.475- **Check ACM certificate dependencies.** Run `aws acm list-certificates`476 and cross-check CNAME validation records against the zone's record477 sets. Do NOT delete a zone that hosts a validation CNAME for an active478 certificate.479- **Health check deletion is irreversible.** Record the health check480 configuration before deleting in case it needs to be recreated.481- **DNSSEC disabling requires key-signing-key deletion.** After removing482 the KSK, wait for DS record TTL expiry before the zone is fully483 unsigned. Update the parent zone's DS record or the registrar.484- **Query logging deletion does not delete existing logs.** Logs remain485 in CloudWatch Logs subject to retention policy. Only ingestion cost486 stops.487- **Traffic policy deletion fails if attached to active records.** Remove488 all policy instances before deleting the policy.489- **Bulk-operation limit:** Process at most 5 zone deletions per batch.490 Verify each deletion does not break DNS resolution before proceeding491 to the next batch.492493## Recent AWS features (2024-2026)494495Recent AWS features (DNSSEC GA, traffic-policy editor, calculated-check capacity 25, Logs Insights, Resolver DNS Firewall, Cost Optimization Hub): [references/advanced-patterns.md](references/advanced-patterns.md).496497## References498499- `references/route53-pricing-and-configuration.md` — pricing tables,500 hosted zone limits, health check types, routing policy surcharges,501 DNSSEC setup steps, query logging configuration, CLI reference, anti-502 pattern catalog.503- `references/worked-examples.md` — full worked examples (unused zone504 deletion, health check calculated conversion, routing policy switch,505 already-optimal, end-to-end walkthrough).506507## References (load on demand)508509- [Advanced patterns](references/advanced-patterns.md) — mindset principles, configuration dependency graph, Step 0 non-obvious behaviours, per-step optimization procedures, expert heuristics, recent AWS features510- [Diagnostic commands](references/diagnostic-commands.md) — pre-flight data-gate command listing511- [Worked examples](references/worked-examples.md) — full worked examples plus the canonical output block template512- [Pricing and configuration](references/route53-pricing-and-configuration.md) — pricing tables, query tiers, DNSSEC cost detail, query-logging formula, CLI reference, anti-pattern catalog513514## Domain515516AWS CloudOps / Route 53 DNS Cost Optimization & FinOps.517518## AWS documentation519520- **Amazon Route 53 Developer Guide** — https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/Welcome.html521- **Route 53 pricing** — https://aws.amazon.com/route53/pricing/522- **Route 53 health checks** — https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html523- **Route 53 traffic policies** — https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/traffic-policies.html524- **DNSSEC signing** — https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-configuring-dnssec.html525- **Query logging** — https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html526- **AWS CLI Route 53 reference** — https://docs.aws.amazon.com/cli/latest/reference/route53/527- **AWS Well-Architected Framework — Cost Optimization** — https://docs.aws.amazon.com/wellarchitected/latest/cost-optimization-pillar/welcome.html