Runbook — Alerts, Billing and Zone Status
Four alerts are declared in code at account level and sent by email to the owner: provider incidents, HTTP DDoS attacks, security insights and Universal SSL events. The billing-usage alert cannot be declared in code, because the provider needs product and limit values it does not document, so it is made by hand here. This runbook shows how to confirm the declared alerts, make the billing alert and check what no alert covers. Requirements: SR-INFRA-008, SR-NF-10, SR-NF-11 and SR-NF-12.
Menu names change over time. If a label differs, use the nearest match.
Confirm the declared alerts
- Open Observability, then Alerts, then Platform Notifications. This page lists the notifications for Cloudflare events, product activity and predefined conditions.
- Check that four policies exist, are enabled and send email to the owner address, one for each type: provider incident, HTTP DDoS attack, security insights and Universal SSL events.
- If one is missing after an apply, do not add it by hand: run the bootstrap plan, which shows it as a change, and apply.
Alerts that need a paid plan
Some categories shown under Add need a paid plan or an add-on, and are not declared in code. Declaring one on a free plan makes the apply fail, so do not add them to the bootstrap module until the plan changes. Do not expect them to exist:
- Security: advanced DDoS (layer 4 and layer 7), Page Shield script monitoring, brand protection, bot alerts beyond the basic one.
- Availability and performance: health checks, load balancing, origin monitoring, synthetic tests.
- Network products: Magic Transit, Magic WAN and Cloudflare Network Interconnect alerts.
When the plan changes, first confirm in Observability, then Alerts, then Platform Notifications, then Add that the type is offered. Then add it to the bootstrap module and to SR-INFRA-008 in the same change.
Billing
R2 has no hard cap once a payment method is on file, and the account is not paused automatically. Usage past the free allowance (10 GB of storage, 1 million Class A and 10 million Class B operations a month) is billed, not blocked. An alert is informational: receiving one does not disable or slow access to a bucket.
R2 must be enabled for the account first (R2 Object Storage, then Get started, on the free plan with Total Due Now $0.00). Until it is, the product list below shows “No eligible usage-based products are available on this account”.
- Open Manage Account, then Billing, and check the payment method and current usage.
- Open Observability, then Alerts, then Platform Notifications. If a usage alert for R2 storage already exists, enabled and sending to the owner address, check its threshold instead of creating a second one.
- Otherwise choose Add, then the event type Usage Based Billing, then Select.
- On Set a product usage alert, choose the product R2 storage and a threshold of 8 GB, below the 10 GB free allowance.
- Check the unit before saving. If the field has a unit selector, choose GB. If it takes only a number, it counts bytes: enter
8000000000. A plain8is saved as 8 bytes, and the alert fires as soon as the state bucket holds anything. - Name it with the same prefix as the declared policies, send it to the owner email, and save.
- Confirm it appears in the Platform Notifications list, enabled, and that the list or the confirmation email shows 8 GB, not 8 bytes.
If R2 storage is not offered as a product, create a dollar budget alert instead (Manage Account, then Billing, then Budget alerts, for example $1, to the owner address) and record which one you made.
Zone leaves active status
The provider has no alert type for this, so check by hand.
- On the account home, read each zone’s status. The production domain and the test domain must both read Active.
- Do this after any DNS, nameserver or registrar change, after each token rotation, and after an apply that creates or changes a zone.
- If a zone reads Pending Nameserver Update, Deactivated or Moved, check that the nameservers at the registrar match the ones Cloudflare assigned to the zone before doing anything else.
- To look for an alert type: open Platform Notifications as above, choose Add, and read the list. If one exists for zone status, create it for both zones and record its exact name in SR-INFRA-008, so it can be added to the bootstrap module.
Record
Write down the date, which of the four declared policies were present, the billing alert’s product, threshold and unit as shown after saving, and the exact alert names the dashboard offered.