Create instance

Options

--auto-restart-policy
neverbest_effort
The auto-restart policy for this instance. This policy determines whether the instance should be automatically restarted by the control plane on failure. If this is `null`, no auto-restart policy will be explicitly configured for this instance, and the control plane will select the default policy when determining whether the instance can be automatically restarted. Currently, the global default auto-restart policy is "best-effort", so instances with `null` auto-restart policies will be automatically restarted. However, in the future, the default policy may be configurable through other mechanisms, such as on a per-project basis. In that case, any configured default policy will be used if this is `null`.
--cpu-platform
amd_milanamd_turinamd_turin_v2
The CPU platform to be used for this instance. If this is `null`, the instance requires no particular CPU platform; when it is started the instance will have the most general CPU platform supported by the sled it is initially placed on.
--description
--enable-jumbo-frames
truefalse
Enable jumbo frames (8500 byte MTU) on the instance's primary OPTE interface. Requires the fleet-wide jumbo-frames opt-in to be enabled by an operator; otherwise this field must be `false`. Changes only take effect on the next instance restart.
--hostname
The hostname to be assigned to the instance
--json-body
Path to a file that contains the full json body.
--json-body-template
XXX
--memory
The amount of RAM to be allocated to the instance; unit suffixes are in powers of two (1k = 1024 bytes) for example: 6GiB, 512k, 2048mib
--name
--ncpus
The number of vCPUs to be allocated to the instance
--profile
Configuration profile to use for commands
--project
Name or ID of the project
--start
truefalse
Should this instance be started upon creation; true by default.
--user-data
User data for instance initialization systems (such as cloud-init). Must be a Base64-encoded string, as specified in RFC 4648 § 4 (+ and / characters with padding). Maximum 32 KiB unencoded data.