Overview of Cloudflare resources in Alchemy
mainAlchemy provides typed bindings for a wide range of Cloudflare services, categorized by their function in your application stack:
Compute
- Workers: The primary compute runtime for every app.
- Durable Objects: Globally-unique stateful instances providing transactional storage and typed RPC.
- Containers: Long-lived processes with arbitrary runtimes, paired with a Durable Object for typed RPC.
- Workflows: Durable, multi-step jobs with checkpointed and replayable steps.
Frontend
- Vite: Deploy pure-Vite apps (SPAs, TanStack Start, React Router, SolidStart) as a Worker with assets.
- Static sites: Any build command's static output.
Data
- D1: Serverless SQLite with migrations managed during deployment.
- KV: Edge key-value storage for config, sessions, and lookups.
- R2: Object storage with read/write-scoped bindings.
- Hyperdrive: Edge connection pooling for external Postgres and MySQL.
Messaging & Networking
- Queues: At-least-once message delivery between Workers.
- Domains & DNS: Management of zones, DNS records, and settings.
- Email: Routing inbound mail and sending from Workers.
Security
- Secrets & env: Binding
.envvalues and secrets directly into your Workers.