instance¶
instance create¶
Create an instance
deli instance create
--region-id <region-id>
--zone-id <zone-id>
--image-id <image-id>
--service-account-id <service-account-id>
--network-id <network-id>
--flavor-id <flavor-id>
--disk <size>
--keypair-id <keypair-id>
--tag <key>=<value>
<name>
--region-id <region-id>- The region to launch the instance in
--zone-id <zone-id>- Optional. The zone to launch the instance in
--image-id <image-id>- The image to launch the instance from
--service-account-id <service-account-id>- Optional. The service account to attach to the instance
--network-id <network-id>- The network to attach the instance to
--flavor-id <flavor-id>- The flavor of the instance to launch
--disk <size>- Optional. The size of the root disk to create, this overrides the flavor
--keypair-id <keypair-id>- Optional. A keypair to add to the instance. Can be set multiple times for multiple keypairs
--tag <key>=<value>- Optional. A metadata tag to add to the instance. Can be set multiple times for multiple tags
instance delete¶
Delete an instance
deli instance delete <instance-id>
<instance-id>- The instance ID
instance inspect¶
Inspect an instance
deli instance inspect <instance-id>
<instance-id>- The instance ID
instance list¶
List instances
deli instance list
--image-id <image-id>
--image-id <image-id>- Optional. The image ID to filter instances by
instance image¶
Create an image from an instance
deli instance image
--name <name>
<instance-id>
--name <name>- The image name
<instance-id>- The instance ID
instance restart¶
Restart an instance
deli instance restart
--hard
--timeout <timeout>
<instance-id>
--hard- Optional. Hard stop the instance
--timeout <timeout>- Optional. Time in seconds until the instance is hard stopped. Default: 60
<instance-id>- The instance ID
instance stop¶
Stop an instance
deli instance restart
--hard
--timeout <timeout>
<instance-id>
--hard- Optional. Hard stop the instance
--timeout <timeout>- Optional. Time in seconds until the instance is hard stopped. Default: 60
<instance-id>- The instance ID