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

create

The cldkctl vm create command is used to create a new virtual machine (VM) in your project. This command launches an interactive mode that allows you to specify essential configuration details such as VM name, operating system, plan, instance size, storage, and root password.

Usage

cldkctl vm create [flags]

Steps

Follow the steps below to run and view the result of this command:

  1. Run the following command in your terminal:

cldkctl vm create
  1. Enter the VM Name to specify a unique identifier for the virtual machine.

  2. Select the Operating System & Version from the available options.

  3. Choose the Namespace where the virtual machine will be created.

  1. Select the Plan that defines the resource type, such as General or Compute Optimized.

  2. Choose the Instance Size to determine the number of CPUs and memory allocation.

  3. Specify the storage capacity under Nfs – Standard (Gi) in gigabytes.

  1. Enter the Root Password for the virtual machine. The password must contain at least one uppercase letter, one digit, and one special character.

  2. Confirm the creation process by selecting Confirm to proceed or Cancel to abort.

  1. Wait until the process is complete. Once successful, the terminal displays the message “✓ Virtual Machine created.”

Flags

This command supports global flags. Refer to the Global Flags section for details.

Flag
Description

-f, --file string

Path to a YAML file for creating a VM.

-h, --help

Help for the vm create command.

-p, --project string

Specify the project ID.

--yaml

Create a virtual machine using YAML configuration.

Last updated