Cloudflare for a small business: website, database, storage and schedules, mostly for free

Why Cloudflare sits at the centre of our stack: Pages for websites, D1 as a database, R2 for files, Workers and Cron Triggers for logic and schedules, Access for private pages. With free limits as of December 2026.

Published · 5 min read · Flowsmith editorialAcademy toolsCloudflareweb

A dark globe outline with fine meridians; small blank blocks sit around it on a ring, joined to the globe by thin lines, one block lit in blue.
Illustration drawn for this article. No text in the image, so it works in every language.
In short
  • What it is: Cloudflare is a global network that serves websites fast and safely, and that lets you run your own code, database and file storage on the same network.
  • What it does for your project: your website (Pages), a real database (D1), file storage for images and downloads (R2), your own logic and timers (Workers, Cron Triggers) and private pages (Access), in one account.
  • Price: a large part is free. Static pages are free and unlimited; the rest has generous free allowances (numbers below, as of 1 December 2026).
  • We did not adopt it all at once. We started with a website and kept discovering the next piece when we needed it.

Where to start (direct links): Cloudflare — sign up · GitHub — sign up · PageSpeed Insights — test your site

The visitor’s browser, the Cloudflare network and the five building blocks we use
  • visitor’s browser
  • Cloudflare network (security, speed) and Access (private pages)
  • Pages: the website
  • D1: database
  • R2: files
  • Workers and Cron Triggers: logic and schedules

Every tool in the Flowsmith stack had to earn its place. Cloudflare earned it in steps. It started as "somewhere fast to put a static website", and a year later it holds our websites, our databases, an agent message board, a forms gateway, scheduled jobs and the login wall in front of internal pages. This article follows the same order of discovery, because that is also the order in which it makes sense for a beginner.

The path we took

1. A website: Pages

Cloudflare Pages takes a GitHub repository and publishes it on a global network. Every push to the main branch is a deploy; every other branch gets a preview address. For a static site this is all you need, and requests to static files are free with no limit. How the Git side works is in GitHub for beginners.

Cloudflare Pages for this website, 1 December 2026: every push to main is a production deploy, every agent branch gets its own preview address

2. A database: D1

The moment we fell for Cloudflare was D1. It is a SQL database (SQLite under the hood) that you create in seconds and query with ordinary SQL. No server to install, no connection strings to babysit. Our agent message board, the register of company standards, the site-quality scanner and form submissions all live in D1 databases. For a beginner it means the step from "website" to "website that remembers things" is small.

3. Files: R2

R2 is storage for files: images, PDFs, downloads, backups. It speaks the same language as Amazon S3, so most tools can use it, and Cloudflare does not charge for downloading the data (egress). We use it as a CDN for product images and as a second copy of backups. One rule we learned: a backup that lives only in the same account as the data does not protect you from losing that account. See backing up a Cloudflare stack.

4. Logic and schedules: Workers and Cron Triggers

A Worker is a small piece of your own code that runs on Cloudflare's network: an API endpoint, a form handler, a webhook receiver. A Cron Trigger runs a Worker on a schedule: every night, every hour. Our rule is that regular checks and polling belong in these server schedules rather than in an automation tool that counts every run; the reasoning is in n8n or Cloudflare Workers.

5. Private pages: Access

Some pages must never be public: admin screens, internal dashboards, members-only lessons. Cloudflare Access puts a login in front of a path or a subdomain, checked by Cloudflare before the request reaches your site. Hiding a page with noindex only asks search engines not to show it; Access actually stops people who are not allowed in.

6. Security and speed come with it

HTTPS certificates, HTTP/3, compression, DDoS protection and caching are part of the network. On top of that you add the things only you can decide: caching headers, security headers, a www to apex redirect. Our PageSpeed 100 checklist lists them.

In depth: the free allowances (as of 1 December 2026)

From Cloudflare's developer documentation on the date of writing. Limits change; check the pricing pages before you plan around them.

ProductFree allowanceWhat it means in practice
Pages (static files)Unlimited requests to static assetsA static website costs nothing to serve.
Workers / Pages Functions100,000 requests a day, 10 ms CPU per requestPlenty for forms, small APIs and webhooks.
Cron Triggers5 per accountEnough for nightly checks and a few schedules.
D15 million rows read and 100,000 rows written a day, 5 GB storageA real database for most small projects.
R210 GB-month storage, 1 million write and 10 million read operations a month, free egressImages and downloads for a small site.
KV100,000 reads and 1,000 writes a day, 1 GBSmall settings and caches.

Daily free limits reset at midnight UTC. When a project outgrows the free allowance, the paid Workers plan is a small fixed monthly fee plus usage, which for us has stayed far below what separate hosting, database and storage providers would cost.

Why one provider is not a lock-in trap here

It is a fair question. Our answer: the code lives in Git, D1 is SQLite and exports to plain SQL, R2 speaks the S3 protocol, and the websites are static files. Every piece can move. What we gain by keeping them together is one account, one set of permissions and a single place where an AI agent can deploy, inspect and fix things through one connector.

How it looks in the Academy

Students publish their first page on Cloudflare Pages in level 1, with a custom domain shortly after (custom domains manual). Workers appear when the site needs to do something, for example a contact form (Workers manual, a contact form for a static site). D1 follows when the project needs memory.

Why this matters

The interesting part is not the price. It is that a person with no server experience, working with an AI agent, can go from a single page to a site with a database, scheduled jobs and a private admin area without learning five different platforms. Each step is small, and each one is free to try. That is usually the moment people stop asking "can I do this?" and start asking "what else can I build?". Start with zero to hello world.

Frequently asked questions

Is Cloudflare really free for a small website?

For a static site, yes: requests to static files on Cloudflare Pages are free and unlimited. Functions, databases and storage have free daily or monthly allowances; as of December 2026 Workers get 100,000 requests a day, D1 5 million rows read a day and 5 GB storage, R2 10 GB with free egress.

What is the difference between Pages and Workers?

Pages hosts a website from a Git repository and publishes every push. Workers run your own code at the edge: APIs, form handlers, scheduled jobs. Pages can include small Workers called Pages Functions.

What is D1?

Cloudflare's serverless SQL database, based on SQLite. You create it in seconds, query it with plain SQL from a Worker or through an API, and pay nothing for small volumes.

Do I need a credit card?

Not for the free plan. Paid usage starts only if you choose a paid plan, for example when you outgrow the free Workers allowance.

Written from our own production systems by the Flowsmith editorial team, with AI assistance.

Want this running in your company?

Flowsmith designs and operates automations like this for small and mid-sized teams — with a person approving anything that leaves the building.

More from the blog