Regions
Where briqs run and how a team picks its region.
Each team has a preferred region. A new briq is placed in it and stays there: a briq never moves, and its data stays in the region it was placed in.
| Region | Zone | In the EU |
|---|---|---|
eu-west (default) | Europe | yes |
us-east | US | no |
Europe (Paris), eu-west, runs on servers in Roubaix, France. US (East), us-east, runs on servers in
Beauharnois, Canada.
A preference, not data residency
A new briq can be placed in another region on offer when the preferred one is full, or busy
starting many briqs at once. A burst of new briqs then spreads over the regions instead of queueing
in one. region on the briq (REST, CLI and MCP) shows where it landed; it can differ from the
team's region.
This only happens where the environment enables it and the team allows it: Use other regions when the preferred one is full or busy in the team settings, on by default. With it off, a new briq always goes to the preferred region and is refused with a capacity error while that region is full. A fork, and a later briq of a stack, stay where their source or stack is.
The only regions a team can end up in are the ones GET /v1/me lists for the environment. If you
need your data in the EU only, keep the setting off and check region after each create.
Requests to a URL on briq.run pass through Cloudflare's global network first. TCP endpoints connect to the servers directly.
Availability can vary
by environment: GET /v1/me returns the regions on offer for new briqs. The dashboard offers that
same list. If a region stops accepting new briqs, existing briqs keep their region and remain
accessible. A fork stays in its source's region and is refused if that region is not on offer.
Prices, endpoints and lifetimes are the same everywhere. A stack's briqs run in one region: put a database and the worker that uses it in the same stack, and so in the same region.