Skip to main content

crusoe compute templates create

Create an instance template.

Usage

crusoe compute templates create [flags]

Flags

FlagDescription
--disks stringsSizes of disks to create (comma separated). Format: [Number][Unit] where valid units are GiB and TiB. Range: 1GiB–10TiB for persistent SSDs, 1TiB–1000TiB for shared volumes
-f, --format stringOutput format. Supported formats: pretty, json (default: "pretty")
-h, --helpHelp for create
--ib-partition-id stringIB Partition if deploying with Infiniband. Exclude for global templates
--image string[Required] VM Image. List available options with crusoe compute images list
--jsonOutput in json format. Shorthand for --format json
--keyfile stringPath to ssh public key file. Optional if set in CRUSOE_SSH_PUBLIC_KEY_FILE env variable or the config file
--location stringLocation. List available locations with crusoe locations list. Exclude for global templates
--name string[Required] VM name. Alphanumeric characters, underscores and dashes are allowed
--placement-policy stringPlacement policy flag. Options: "spread"
--public-ip-type stringPublic IP type. Allowed values: static, dynamic (default: "dynamic")
--shutdown-script stringPath to shutdown script file. Must be a bash script smaller than 64 KB
--startup-script stringPath to startup script file. Must be a bash script smaller than 64 KB
--type stringVM type. List available types with crusoe compute vms types
--vpc-subnet-id stringVPC Subnet ID. Subnet the VM will be created in. Exclude for global templates