cloud-id(1)

cloud-id1

Report the canonical cloud-id for this instance

Usage

cloud-id [-h] [-j] [-l] [-i <INSTANCE_DATA>]

Overview

cloud-id is the lowercase name of the cloud datasource discovered.

The cloud-id will be 'not run' when systemd generator has not run yet. The cloud-id will be 'disabled' when cloud-init is disabled or when ds-identify did not find a valid datasource.

See cloud-init status --long for more information.

Options

-h, --help

Show help message and exit

-j, --json

Report all standardized cloud-id information as json

-l, --long

Report extended cloud-id information as tab-delimited string

Exit status

0

On success

1

Due to an error

2

Due to cloud-init in a disabled state. See: cloud-init status --long

3

The cloud-init generator and discovery has not yet run.

Releases

4 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11–12
  2. 13
  3. Arch

--instance-data until Debian 13 (Trixie); -i until Debian 13 (Trixie).

From cloud-init 26.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.