# The Cloudflare Guide

> Learn the Cloudflare developer platform: Workers, KV, D1, R2, Queues, Durable Objects and more, through my hands-on tutorial series.

Author: Flavio Copes | Published: 2026-07-14 | Canonical: https://flaviocopes.com/cloudflare/

Cloudflare grew from a CDN into a full developer platform. You can run code, store data, queue jobs, and serve entire sites, all on their edge network.

I moved this site to Cloudflare and ended up learning the whole platform. Then I wrote a tutorial series covering every major piece, one post at a time.

This page is your map through that series and the posts that came after it.

## Where to start

The core of the platform is Workers. Follow this path in order:

1. [Cloudflare Workers: your first serverless function](https://flaviocopes.com/cloudflare-workers/) gets you running code at the edge
2. [Wrangler: the Cloudflare Workers command line tool](https://flaviocopes.com/cloudflare-wrangler/) is the CLI you'll use for everything
3. [Serving a website with Cloudflare Workers static assets](https://flaviocopes.com/cloudflare-workers-static-assets/) turns a Worker into a full site
4. [Cloudflare Workers: secrets and environments](https://flaviocopes.com/cloudflare-workers-secrets-environments/) covers configuration the right way
5. [Cloudflare Workers observability: logs and traces](https://flaviocopes.com/cloudflare-workers-observability/) shows you what's happening in production

## Storing data

Cloudflare gives you several storage options. Each solves a different problem:

- [Cloudflare KV: a key-value store for your Workers](https://flaviocopes.com/cloudflare-kv/) for fast, simple reads
- [Cloudflare D1: a SQL database for your Workers](https://flaviocopes.com/cloudflare-d1/) when you need a real database
- [Cloudflare R2: object storage without egress fees](https://flaviocopes.com/cloudflare-r2/) for files and assets
- [Cloudflare Durable Objects: state that lives in one place](https://flaviocopes.com/cloudflare-durable-objects/) for coordination and consistency
- [Cloudflare Analytics Engine: store and query metrics](https://flaviocopes.com/cloudflare-analytics-engine/) for time-series data

## Background work and scheduling

Not everything happens in a request:

- [Cloudflare Queues: run work in the background](https://flaviocopes.com/cloudflare-queues/)
- [Cloudflare Cron Triggers: run a Worker on a schedule](https://flaviocopes.com/cloudflare-cron-triggers/)
- [How to rebuild a Cloudflare site on a schedule](https://flaviocopes.com/cloudflare-scheduled-rebuilds/)
- [Cloudflare Email Workers: run code when an email arrives](https://flaviocopes.com/cloudflare-email-workers/)

## Real-world patterns

Practical things I built on the platform, with the full code:

- [Cloudflare Turnstile: stop bots without annoying CAPTCHAs](https://flaviocopes.com/cloudflare-turnstile/)
- [Rate limiting with Cloudflare KV](https://flaviocopes.com/rate-limiting-cloudflare-kv/)
- [HMAC-signed URLs on Cloudflare Workers](https://flaviocopes.com/hmac-signed-urls-cloudflare-workers/)
- [Transactional email from Workers with Resend](https://flaviocopes.com/resend-transactional-email-workers/)
- [Workers Cache: a cache in front of your Cloudflare Worker](https://flaviocopes.com/cloudflare-workers-cache/)
- [How the Cloudflare Pages build cache works](https://flaviocopes.com/cloudflare-pages-build-cache/)

## Go deeper

The best way to learn this platform is to work through the series above, in order. Each post builds something small and real. Start with [your first Worker](https://flaviocopes.com/cloudflare-workers/) and go from there.

All Cloudflare posts are on the [cloudflare tag page](https://flaviocopes.com/tags/cloudflare/).
