Set the preferred datacenter region for ɳCloud managed deployments. Affects where new managed instances are provisioned.
# See available regions
nself region list
# Set your preferred region
nself region set eu-central
# Confirm current region
nself region getnself region <SUBCOMMAND> [FLAGS]nself region applies to ɳCloud managed deployments only. When you provision a new managed instance via nself cloud provision, the CLI uses the region preference set here to choose the closest datacenter.
Self-hosted deployments are not affected by this setting — region for self-hosted is determined by where you run the CLI and which VPS you point it at.
The region preference is stored in ~/.nself/config.json and is scoped to your local machine. It does not affect existing managed instances — only new ones provisioned after the preference is set.
List all available ɳCloud regions with their location, latency from your current IP, and availability status.
nself region list
# REGION LOCATION LATENCY STATUS
# eu-central ★ Frankfurt, Germany 12ms available
# us-east Ashburn, VA, USA 98ms available
# us-west San Jose, CA, USA 142ms available
# ap-southeast Singapore 231ms available
# ap-northeast Tokyo, Japan 267ms available
#
# ★ current preferenceJSON output:
nself region list --jsonSet the preferred region. Takes effect for all subsequent nself cloud provision commands on this machine.
nself region set eu-central
# ✓ Region preference set to eu-central (Frankfurt, Germany)
nself region set us-east
# ✓ Region preference set to us-east (Ashburn, VA, USA)Print the current region preference.
nself region get
# eu-central (Frankfurt, Germany)JSON output:
nself region get --json
# {"region":"eu-central","location":"Frankfurt, Germany","status":"available"}| Flag | Applies to | Type | Description |
|---|---|---|---|
--json | list, get | bool | Output as JSON |
| Region ID | Location | Provider |
|---|---|---|
eu-central | Frankfurt, Germany | Hetzner |
us-east | Ashburn, VA, USA | Hetzner |
us-west | San Jose, CA, USA | Hetzner |
ap-southeast | Singapore | Hetzner |
ap-northeast | Tokyo, Japan | Hetzner |
Additional regions may be added as ɳCloud infrastructure expands. Run nself region list for the live list.
# The list sorts by latency — the top entry is fastest from your location
nself region list
# Then set it:
nself region set eu-centralnself region set us-east
nself cloud provision --plan starter --domain myapp.com0 — success1 — unknown region ID or API error2 — invalid arguments