Cloudflare Resources
At a glance
- D1, KV, and R2 are shared across all events in a single unified worker.
- Resources are configured in
apps/event-site/wrangler.tomland bound at deploy time. - No per-event resource provisioning is needed; event isolation is enforced by
event_idscoping in the database.
Do this
- Ensure the unified worker is configured with the correct Cloudflare bindings (D1, KV, R2).
- Create events via the platform UI at
/platform/events/create. - Validate the event resolves correctly on its configured subdomain.
When it fails
- Cloudflare auth/permissions: verify account token scopes for D1/KV/R2/Workers.
- Event not resolving: check
platform_event_domainstable and DNS configuration. - See Troubleshooting.