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:
Run the following command in your terminal:
cldkctl vm createEnter the VM Name to specify a unique identifier for the virtual machine.
Select the Operating System & Version from the available options.
Choose the Namespace where the virtual machine will be created.

Select the Plan that defines the resource type, such as General or Compute Optimized.
Choose the Instance Size to determine the number of CPUs and memory allocation.
Specify the storage capacity under Nfs – Standard (Gi) in gigabytes.

Enter the Root Password for the virtual machine. The password must contain at least one uppercase letter, one digit, and one special character.
Confirm the creation process by selecting Confirm to proceed or Cancel to abort.

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.
-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
