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

create

Create a flexi instance in your project. This command allows you to create a flexi instance.

Usage

cldkctl flexi instance create [flags]

Steps

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

Interactive Mode

  1. Run the following command in your terminal:

cldkctl flexi instance create -i 
  1. Enter the instance name.

  2. Select the image type.

  1. Select the operating system family.

  2. Select the operating system version.

  1. Select the zone.

  2. Select the billing type.

  1. Select the processor.

  2. Select the processor variant.

  1. Select the instance plan.

  2. Select the instance size.

  1. Select the root disk storage type.

  2. Select the root disk storage size.

  1. Select the number of data disks.

  1. Select the VPC.

  1. Select the authentication method.

  1. Enter the password if the authentication method is set to Password.

  1. Confirm the instance creation by selecting Confirm.

  1. Once completed successfully, the terminal displays the success message.

Non-Interactive Mode

  1. Provide all required values using command flags.

  2. Add --auto-confirm or -y to skip confirmation prompts in non-interactive mode.

  3. Run the command in your terminal.

  4. Once completed successfully, the terminal displays the success message.

Flags

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

Flag
Shorthand
Default
Description

--amount int

1

Number of instances to create

--auth-method

Authentication method: password or ssh

--billing-type

-b

Billing type: Fixed, PPU, or Trial

--data-disks

JSON array of data disks

--flavor-id

Instance size/flavor ID

--help

-h

help for create

--image-id

Custom image ID (for --image-type=custom)

--image-os-id

OS image ID (for --image-type=os)

--image-type

Image type: os or custom

--interactive

-i

false

Run in interactive/TUI mode

--name

-n

Instance name (min 5 characters)

--password

Instance password (for auth-method=password)

--project

-p

Specify project ID

--root-disk-size

Root disk package ID, or custom:<size_gb>

--root-disk-type

Root disk storage type ID

--ssh-key-ids

Comma-separated SSH key IDs (for auth-method=ssh)

--tags

Tags

--voucher-id

Voucher ID (required if billing-type=Trial)

--vpc-id

VPC network ID

--zone

Zone ID

Last updated