Astro on Cloudflare Pages
Cloudflare Pages publishes its own guide for deploying Astro.
Content-focused framework that ships zero JavaScript by default and renders components from several UI libraries.
What Astro needs.
Every host claims to run Astro, so the claim on its own decides nothing. These are the things Astro actually requires from the platform underneath it, and what Cloudflare Pages publishes about each. Cloudflare Pages documents 4 of the 4.
Build allowance
500 builds per month on the Free plan
Astro prerenders by default, so most of the work happens at build time and the build allowance is the real constraint.
Sources (1) →Sources ↓
- Limits — Cloudflare Pages Docs ↗
“Build limits depend on your plan: Free Pro Business Builds 1 build at a time 5 concurrent builds 20 concurrent builds Builds per month 500 5,000 20,000 Builds will timeout after 20 minutes.”
Read 2026-09-14 · official docs
Concurrent builds
5 concurrent builds on Pro (1 on Free, 20 on Business), with 5,000 builds per month on Pro
A content site rebuilds on every edit. One build slot turns a busy publishing day into a queue.
Sources (1) →Sources ↓
- Limits — Cloudflare Pages Docs ↗
“Free Pro Business Builds 1 build at a time 5 concurrent builds 20 concurrent builds Builds per month 500 5,000 20,000 [...] Concurrent builds are counted per account.”
Read 2026-09-14 · official docs
Edge network
Supported — Cloudflare's network page advertises deploying to 330+ cities.
A prerendered Astro site is a directory of static files. After that, the only thing left that affects speed is where they are served from.
Sources (1) →Sources ↓
- Cloudflare Global Network ↗
“Cloudflare Global Network One of the world's largest networks - running every service in every data center for unmatched performance, security, and reliability. [...] Deploy to 330+ cities instantly”
Read 2026-09-14 · official site
Git deployment
Supported
Astro's usual workflow is a push that triggers a build. Anything else means wiring the build yourself.
Sources (1) →Sources ↓
- Git integration — Cloudflare Pages Docs ↗
“You can connect each Cloudflare Pages project to a GitHub or GitLab repository, and Cloudflare will automatically deploy your code every time you push a change to a branch.”
Read 2026-09-14 · official docs
What Cloudflare Pages documents.
Cloudflare Pages publishes its own guide for deploying Astro.
In this guide, you will create a new Astro application and deploy it using Cloudflare Pages.
Sources (1) →Sources ↓
- Astro · Cloudflare Pages docs ↗
“In this guide, you will create a new Astro application and deploy it using Cloudflare Pages.”
Read 2026-09-05 · official docs
Astro features on Cloudflare Pages
Capabilities Cloudflare Pages documents specifically for Astro, with the constraint it documents alongside each.
ssr_adapter
Supported
You can deploy an Astro Server-side Rendered (SSR) site to Cloudflare Pages using the @astrojs/cloudflare adapter [...] SSR sites render on Pages Functions and allow for dynamic functionality and customizations.
zero_config_deploy
Supported
Cloudflare maintains a list of build configurations for popular frameworks and tools. These are accessible during project creation. [...] Astro npm run build dist
Sources (2) →Sources ↓
- Astro · Cloudflare Pages docs ↗
“You can deploy an Astro Server-side Rendered (SSR) site to Cloudflare Pages using the @astrojs/cloudflare adapter [...] SSR sites render on Pages Functions and allow for dynamic functionality and customizations.”
Read 2026-09-13 · official docs
- Build configuration · Cloudflare Pages docs ↗
“Cloudflare maintains a list of build configurations for popular frameworks and tools. These are accessible during project creation. [...] Astro npm run build dist”
Read 2026-09-13 · official docs
What it costs to run there.
- Entry paid plan
- $5 / month account minimum
- Pricing model
- Metered usage with a $5 monthly account minimum
- Regions
- No region selection. Pages Functions run in the data centre closest to the request; Smart Placement can instead pin a Worker near a named cloud region, host or hostname.
Sources (2) →Sources ↓
- Cloudflare Workers and Pages pricing ↗
“The Workers Paid plan includes Workers, Pages Functions, Workers KV, Hyperdrive, and Durable Objects usage for a minimum charge of $5 USD per month for an account.”
Read 2026-09-05 · official docs
- Smart Placement · Cloudflare Workers docs ↗
“By default, Workers and Pages Functions run in a data center closest to where the request was received. If your Worker makes requests to back-end infrastructure such as databases or APIs, it may be more performant to run that Worker closer to your back-end than the end user.”
Read 2026-09-14 · official docs
Whether it suits you.
Projects where the entire fixed cost should be a $5 monthly account minimum rather than a per-seat fee, and teams already running on the wider Workers platform. Billing is metered, so cost tracks traffic rather than headcount.
Consider something else if…
Your repository is hosted somewhere other than GitHub or GitLab, or the free plan's 500 builds a month is not enough headroom.
Visit Cloudflare Pages documentation