Homing a device in Korea (Seoul)¶
FlexGalaxy runs device connectivity in more than one region. Each device is homed in one region — the one it was first provisioned against — and its data (telemetry and the device’s own records) stays in that region.
How a device’s region is set¶
A device’s region is fixed by its first successful provisioning: it is stamped then and never changes afterwards — not when a device travels, not when ownership is transferred, and not when it is re-provisioned. Nothing in the console or the CLI can move it.
This is per device, not per account: one account can hold devices homed in different regions. A device homes in Korea when its first provisioning reaches the Korea endpoint — that endpoint is what your manufacturing line configures into the device. If you need your devices homed in Korea, tell your onboarding contact before provisioning starts.
Endpoints¶
A device connects over MQTT with mutual TLS on port 8883. A Korea-homed device connects to:
things.ap-northeast-2.flexgalaxy.ai:8883
Use the endpoint configured into the device. A device that arrives at the wrong region’s plane is refused — it is never quietly provisioned elsewhere. The complete list of regional endpoints, how a device selects the right one, and what a refusal looks like are documented in device connectivity for the device SDKs — that page is the single source for the endpoint list, so it is not repeated here.
Reading a device’s data¶
Device data is held in the device’s own region, and the CLI reads it from there automatically: give the command the device and it resolves the region itself — there is no region flag to set (and none to get wrong).
fgai telemetry list --thing-id <thing-id>
A device whose region cannot be determined is reported as such rather than answered from another region, because an answer from the wrong region would be empty and look exactly like a device that had sent nothing.
Installing the CLI¶
curl -fsSL https://dl.flexgalaxy.ai/fgai/install.sh | bash
This installs the fgai command line. Current release: v0.1.83.
Download integrity can be checked against the published provenance record at https://dl.flexgalaxy.ai/fgai/latest/PROVENANCE.json, which carries the artifact’s SHA-256 and its Sigstore provenance.