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
Run the following command in your terminal:
cldkctl flexi instance create -i Enter the instance name.
Select the image type.

Select the operating system family.
Select the operating system version.

Select the zone.
Select the billing type.

Select the processor.
Select the processor variant.

Select the instance plan.
Select the instance size.

Select the root disk storage type.
Select the root disk storage size.

Select the number of data disks.

Select the VPC.

Select the authentication method.

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

Confirm the instance creation by selecting Confirm.

Once completed successfully, the terminal displays the success message.

Non-Interactive Mode
Provide all required values using command flags.
Add
--auto-confirmor-yto skip confirmation prompts in non-interactive mode.Run the command in your terminal.
Once completed successfully, the terminal displays the success message.

Flags
This command supports global flags. Refer to the Global Flags section for details
--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
