# Regions

This page lists the regions an app can live in and what the choice
binds. It teaches `durable-sdk apps create <slug> --region <word>` and
`GET /regions`.

## The words

| Word             | City           | Default |
| ---------------- | -------------- | ------- |
| `us-east`        | Washington, DC | yes     |
| `us-east-2`      | Cleveland      |         |
| `us-west`        | Portland       |         |
| `eu-central`     | Frankfurt      |         |
| `eu-west`        | London         |         |
| `ap-southeast`   | Singapore      |         |
| `ap-southeast-2` | Sydney         |         |

```bash
durable-sdk apps create my-app --region eu-central
```

`GET /regions` answers the same table (`{ id, label, city }`); the
dashboard's New app form lists it. An unknown word is refused by name.

## What the region binds

- The app's functions and its database run in the same region, so a
  step's read and write are one round trip inside it; an app's region
  is chosen once and never moves (make a new app and move the data
  through the [read string](https://durablesdk.com/docs/hosting/database.md)).
- Every environment of the app (production, every preview) shares it.
- The account's default region (`us-east` at sign-up) is what `apps
create` uses without `--region`; the dashboard's Settings change it.
- The platform itself (the dashboard, the API, the console proxy)
  answers from `us-east`; a console read of an app in `ap-southeast-2`
  adds that round trip.

## Data residency

An app's rows, its ledger and its database history stay in the region
named. The platform's own rows about the app (its name, its hostname,
its deployments' states, the build's lines, the usage counters) live
with the platform in `us-east`. A regulated tenant's separate projects
with the HIPAA flag are coming (DS-020); [Compliance](https://durablesdk.com/docs/operate/compliance.md)
says where that stands.

---

Prompt for an agent:

```text
Read https://durablesdk.com/docs/hosting/regions.md, then apply what it says to this app; run durable-sdk doctor --host before and after; a refused line is a refusal id: durable-sdk explain <id>
```
