For the complete documentation index, see llms.txt. This page is also available as Markdown.

create

Create an ENTERPRISE, VCPU, CUBE or GPU Server in a Virtual Data Center

Usage

ionosctl compute server create [flags]

Aliases

For server command:

[s svr]

For create command:

[c]

Description

Use this command to create a Server in a Virtual Data Center (--datacenter-id). The compute shape you must describe depends on the server --type, and this is the single most important relationship to get right:

  • ENTERPRISE (the default type): you size the machine explicitly. --cores and --ram are REQUIRED. --cpu-family is optional (see below).

  • VCPU: you size the machine explicitly with --cores and --ram (REQUIRED), but you CANNOT set --cpu-family — the platform selects it.

  • CUBE: a fixed bundle. --template-id is REQUIRED and defines the cores, RAM and included NVMe Direct Attached Storage (DAS) boot volume; do NOT pass --cores/--ram. A DAS boot volume is created and attached automatically.

  • GPU: a fixed bundle with an attached GPU. --template-id is REQUIRED; --cpu-family is not accepted (the AMD_TURIN family is assigned automatically). A DAS boot volume is created and attached automatically.

RAM (--ram): must be a multiple of 256. The default unit is MB, so --ram 256 means 256MB; you may also give a unit, e.g. --ram 1GB. Minimum 256MB; the maximum depends on your contract limits. Applies to ENTERPRISE and VCPU only.

CPU family (--cpu-family): for ENTERPRISE, values such as INTEL_SKYLAKE, INTEL_XEON and AMD_OPTERON are valid, but availability differs per datacenter location. Run ionosctl compute location to see which families a location offers. If you omit it, the first family available in the datacenter's location is chosen for you.

Boot media / OS: for CUBE and GPU the DAS boot volume's OS comes from --image-id / --image-alias (or a bare --licence-type, default LINUX, for an empty volume). When you boot from a PUBLIC image you must also set --password or --ssh-key-paths so you can log in; PRIVATE images (which already contain credentials) need neither. To boot from a CD-ROM/ISO instead, attach one after creation with server cdrom attach.

Confidential Computing (--confidential): creates an AMD SEV-SNP encrypted-memory VM. It is ENTERPRISE-only and requires --image-id pointing at a private, SEV-SNP-capable image; --cores and --cpu-family are NOT allowed because both are derived from the image's launch-config.json. Size its boot volume with --size and --storage-type.

Use --wait (-w) to wait for the Server to reach AVAILABLE state before the command returns.

Options

Examples

Last updated