metering-marketplace VPC endpoint. The rehydrate service doesn’t meter at all. AWS bills you on your AWS bill. Prices are on your offer.
When to use it
Read this when you set up IAM and endpoints for a new account, when detect refuses to start with a metering error, or when the unreported-usage alarm fires. There’s nothing to configure — no license key, SKU, tier or grace period.What the services do
-
At startup, detect checks the entitlement. After the KMS step, it calls
MeterUsagewithDryRunthrough themetering-marketplaceendpoint. Any error except throttling stops the process before it serves:A throttled check logs aWARNINGand starts anyway. -
Every hour, detect reports usage. Each detect task reports its usage for each closed hour, and for the open hour when it shuts down. It counts documents that
/detect,/redactand/deidentifyanswered with a status below400; failed requests aren’t counted. -
Rehydrate is never billed and never checks. It can only restore what an entitled detect stored, so it doesn’t call metering and its role has no
MeterUsagegrant. After you unsubscribe, a restarted rehydrate can still restore stored sessions until their TTL; detect refuses to start, so nothing new is stored. -
Billing never touches a request. Reports are sent in the background. A report that fails for good is logged at
ERROR: - Unsubscribing stops new detect tasks, not running ones. AWS keeps a running task entitled; the next detect task to start fails its check.
What it needs
The opt-in usage-telemetry egress to Tenet is a separate thing: billing never depends on it and never needs a NAT gateway. Data flow.
The unreported-usage alarm
The CloudFormation template and the Terraform module create it on the detect log group:
The Helm chart creates no alarm. On EKS, put the same filter on wherever your log agent ships the detect pods’ logs. Monitoring.
Check billing health end to end — subscription, endpoint, IAM, alarm and logs. Read-only.
Gotchas
- Subscribing in one account doesn’t entitle another. Subscribe from the account the services run in.
- Node-role credentials fail the startup check. Granting
MeterUsageto the EKS node role, or using EKS Pod Identity, doesn’t work — only IRSA does. - No endpoint, no detect. A deleted or policy-restricted
metering-marketplaceendpoint stops every new detect task. metering send failedwarnings are retries, not losses. Alarm onunbilled usage lost, which is final.