# doctl compute – DigitalOcean Documentation > The subcommands under `doctl compute` are for managing DigitalOcean resources. - [doctl compute ssh](https://docs.digitalocean.com/reference/doctl/reference/compute/ssh/index.html.md): Access a Droplet using SSH by providing its ID or name. You may specify the user to login with by passing the `--ssh-user` flag. To access the Droplet on a non-default port, use the `--ssh-port` flag. By default, the connection will be made to the … ## doctl compute action The sub-commands of `doctl compute action` retrieve the history of actions taken on your resources. You can retrieve information for a specific action by adding the action's ID as an argument. For example, while `doctl compute action list` lists all of the actions taken on all of the resources in your account, `doctl compute action get ` retrieves details for a specific action. Additionally, you can use `--action-type` flag to filter the list of actions by type. For example, `doctl compute action list --action-type power_on` lists all of the actions that powered on a resource. - [doctl compute action get](https://docs.digitalocean.com/reference/doctl/reference/compute/action/get/index.html.md): Retrieve the following details about a specific action taken on one of your resources: - The action ID - The action status (`pending`, `completed`, etc) - The action type, such as: `create`, `destroy`, `power_cycle`, `power_off`, `power_on`, `backup`, … - [doctl compute action list](https://docs.digitalocean.com/reference/doctl/reference/compute/action/list/index.html.md): Retrieve a list of all actions taken on your resources. The following details are provided: - The action ID - The action status (`pending`, `completed`, etc) - The action type, such as: `create`, `destroy`, `power_cycle`, `power_off`, `power_on`, `backup`, … - [doctl compute action wait](https://docs.digitalocean.com/reference/doctl/reference/compute/action/wait/index.html.md): Block the current thread, returning when an action completes. For example, if you find an action when calling `doctl compute action list` that has a status of `in-progress`, you can note the action ID and call `doctl compute action wait `, and doctl will … ## doctl compute cdn The subcommands of `doctl compute cdn` are for managing Content Delivery Networks (CDNs). Content hosted in DigitalOcean's object storage solution, Spaces, can optionally be served by our globally distributed CDNs. This allows you to deliver content to users based on their geographic location. To use a custom subdomain to access the CDN endpoint, provide the ID of a DigitalOcean-managed TLS certificate and the fully qualified domain name (FQDN) for the custom subdomain. - [doctl compute cdn create](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/create/index.html.md): Creates a Content Delivery Network (CDN) on the origin server you specify and automatically generates an endpoint. You can also use a custom subdomain you own to create an additional endpoint, which must be secured with SSL. The Time To Live (TTL) value is … - [doctl compute cdn delete](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/delete/index.html.md): Deletes the CDN specified by the ID. You can retrieve a list of CDN IDs by calling `doctl compute cdn list` - [doctl compute cdn flush](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/flush/index.html.md): Flushes the cache of a Content Delivery Network (CDN), which: - purges all copies of the files in the cache - re-caches the files - retrieves files from the origin server for any requests that hit the CDN endpoint until all the files are re-cached This … - [doctl compute cdn get](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/get/index.html.md): Lists the following details for the specified Content Delivery Network (CDNs): - The ID for the CDN, in UUID format - The fully qualified domain name (FQDN) for the origin server, which provides the content to the CDN. Currently, only Spaces are supported … - [doctl compute cdn list](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/list/index.html.md): Retrieves a list of your existing Content Delivery Networks (CDNs) and their following details: - The ID for the CDN, in UUID format - The fully qualified domain name (FQDN) for the origin server, which provides the content to the CDN. Currently, only … - [doctl compute cdn update](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/update/index.html.md): Updates the configuration details of an existing Content Delivery Network (CDN). ## doctl compute certificate The subcommands of `doctl compute certificate` allow you to store and manage your SSL certificates, private keys, and certificate paths. Once a certificate has been stored, it is assigned a unique certificate ID that can be referenced in your doctl and API workflows. - [doctl compute certificate create](https://docs.digitalocean.com/reference/doctl/reference/compute/certificate/create/index.html.md): Creates a new Let's Encrypt certificate or adds an existing custom certificate to your team. There are two supported certificate types: Let's Encrypt certificates, and custom certificates. Let's Encrypt certificates are free, auto-renewed and managed for … - [doctl compute certificate delete](https://docs.digitalocean.com/reference/doctl/reference/compute/certificate/delete/index.html.md): Deletes the specified certificate. Use `doctl compute certificate list` to see all available certificates associated with your account. - [doctl compute certificate get](https://docs.digitalocean.com/reference/doctl/reference/compute/certificate/get/index.html.md): This command retrieves the following details about a certificate: - The certificate ID - The name you gave the certificate - A comma-separated list of domain names associated with the certificate - The SHA-1 fingerprint of the certificate - The … - [doctl compute certificate list](https://docs.digitalocean.com/reference/doctl/reference/compute/certificate/list/index.html.md): This command retrieves a list of all certificates associated with the account. The following details are shown for each certificate: - The certificate ID - The name you gave the certificate - A comma-separated list of domain names associated with the … ## doctl compute domain Use the subcommands of `doctl compute domain` to manage domains you have purchased from a domain name registrar that you are managing through the DigitalOcean DNS interface. - [doctl compute domain create](https://docs.digitalocean.com/reference/doctl/reference/compute/domain/create/index.html.md): Adds a domain to your account that you can assign to Droplets, load balancers, and other resources. - [doctl compute domain records create](https://docs.digitalocean.com/reference/doctl/reference/compute/domain/records/create/index.html.md): Create DNS records for a domain. - [doctl compute domain delete](https://docs.digitalocean.com/reference/doctl/reference/compute/domain/delete/index.html.md): Permanently deletes a domain from your account. You cannot undo this command once done. - [doctl compute domain records delete](https://docs.digitalocean.com/reference/doctl/reference/compute/domain/records/delete/index.html.md): Deletes DNS records for a domain. - [doctl compute domain get](https://docs.digitalocean.com/reference/doctl/reference/compute/domain/get/index.html.md): Retrieves information about a domain on your account. - [doctl compute domain list](https://docs.digitalocean.com/reference/doctl/reference/compute/domain/list/index.html.md): Retrieves a list of domains on your account. - [doctl compute domain records list](https://docs.digitalocean.com/reference/doctl/reference/compute/domain/records/list/index.html.md): Lists the DNS records for a domain. - [doctl compute domain records update](https://docs.digitalocean.com/reference/doctl/reference/compute/domain/records/update/index.html.md): Updates or changes the properties of DNS records for a domain. ## doctl compute droplet A Droplet is a DigitalOcean virtual machine. Use the subcommands of `doctl compute droplet` to create, manage, and retrieve information about Droplets. - [doctl compute droplet actions](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/actions/index.html.md): Retrieves a list of previous actions taken on the Droplet, such as reboots, resizes, and snapshots actions. - [doctl compute droplet backups](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/backups/index.html.md): Lists backup images for a Droplet, including each image's slug and ID. - [doctl compute droplet create](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/create/index.html.md): Creates a new Droplet on your account. The command requires values for the `--size`, and `--image` flags. To retrieve a list of size slugs, use the `doctl compute size list` command. To retrieve a list of image slugs, use the `doctl compute image list` … - [doctl compute droplet delete](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/delete/index.html.md): Permanently deletes a Droplet. This is irreversible. - [doctl compute droplet backup-policies get](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/backup-policies/get/index.html.md): Retrieves a backup policy of a Droplet. - [doctl compute droplet get](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/get/index.html.md): Retrieves information about a Droplet, including: - The Droplet's ID - The Droplet's name - The Droplet's public IPv4 address - The Droplet's private IPv4 address - The Droplet's IPv6 address - The memory size of the Droplet in MB - The number of vCPUs on … - [doctl compute droplet kernels](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/kernels/index.html.md): Retrieves a list of all kernels available to a Droplet. This command is only available for Droplets with externally managed kernels. All Droplets created after March 2017 have internally managed kernels by default. - [doctl compute droplet 1-click list](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/1-click/list/index.html.md): Retrieves a list of Droplet 1-Click application slugs. You can use 1-click slugs to create Droplets by using them as the argument for the `--image` flag in the `doctl compute droplet create` command. For example, the following command creates a Droplet … - [doctl compute droplet backup-policies list](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/backup-policies/list/index.html.md): List droplet backup policies for all existing Droplets. - [doctl compute droplet list](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/list/index.html.md): Retrieves a list of Droplets on your account, including the following information about each: - The Droplet's ID - The Droplet's name - The Droplet's public IPv4 address - The Droplet's private IPv4 address - The Droplet's IPv6 address - The memory size of … - [doctl compute droplet backup-policies list-supported](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/backup-policies/list-supported/index.html.md): List of all supported droplet backup policies. - [doctl compute droplet neighbors](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/neighbors/index.html.md): Lists your Droplets that are on the same physical hardware, including the following details: - The Droplet's ID - The Droplet's name - The Droplet's public IPv4 address - The Droplet's private IPv4 address - The Droplet's IPv6 address - The memory size of … - [doctl compute droplet snapshots](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/snapshots/index.html.md): Retrieves a list of snapshots created from this Droplet. - [doctl compute droplet tag](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/tag/index.html.md): Applies a tag to a Droplet. Specify the tag with the `--tag-name` flag. - [doctl compute droplet untag](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/untag/index.html.md): Removes a tag from a Droplet. Specify the tag with the `--tag-name` flag. ## doctl compute droplet-action Use the subcommands of `doctl compute droplet-action` to perform actions on Droplets. You can use Droplet actions to perform tasks on a Droplet, such as rebooting, resizing, or snapshotting it. - [doctl compute droplet-action change-backup-policy](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/change-backup-policy/index.html.md): Changes backup policy for a Droplet with enabled backups. - [doctl compute droplet-action change-kernel](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/change-kernel/index.html.md): Changes a Droplet's kernel. This is only available for externally managed kernels. All Droplets created after 17 March 2017 have internally managed kernels by default. Use the `doctl compute droplet kernels ` command to retrieve a list of kernels for the … - [doctl compute droplet-action disable-backups](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/disable-backups/index.html.md): Disables backups on a Droplet. This does not delete existing backups. - [doctl compute droplet-action enable-backups](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/enable-backups/index.html.md): Enables backups on a Droplet. This automatically creates and stores a disk image of the Droplet. By default, backups happen daily. - [doctl compute droplet-action enable-ipv6](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/enable-ipv6/index.html.md): Enables IPv6 networking on a Droplet. When executed, we automatically assign an IPv6 address to the Droplet. The Droplet may require additional network configuration to properly use the new IPv6 address. For more information, see: … - [doctl compute droplet-action enable-private-networking](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/enable-private-networking/index.html.md): Enables VPC networking on a Droplet. This command adds a private IPv4 address to the Droplet that other resources inside the Droplet's VPC network can access. The Droplet is placed in the default VPC network for the region it resides in. All Droplets … - [doctl compute droplet-action get](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/get/index.html.md): Retrieves information about an action performed on a Droplet, including its status, type, and completion time. - [doctl compute droplet-action password-reset](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/password-reset/index.html.md): Initiates a root password reset on a Droplet. We provide a new password for the Droplet via the accounts email address. The password must be changed after first use. This also powercycles the Droplet. - [doctl compute droplet-action power-cycle](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/power-cycle/index.html.md): Powercycles a Droplet. A powercycle action is similar to pushing the reset button on a physical machine. - [doctl compute droplet-action power-off](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/power-off/index.html.md): Use this command to power off a Droplet. A `power_off` event is a hard shutdown and should only be used if the shutdown action is not successful. It is similar to cutting the power on a server and could lead to complications. Droplets that are powered off … - [doctl compute droplet-action power-on](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/power-on/index.html.md): Powers on a Droplet. This is similar to pressing the power button on a physical machine. - [doctl compute droplet-action reboot](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/reboot/index.html.md): Reboots a Droplet. A reboot action is an attempt to reboot the Droplet in a graceful way, similar to using the reboot command from the Droplet's console. - [doctl compute droplet-action rebuild](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/rebuild/index.html.md): Rebuilds a Droplet from an image, such as an Ubuntu base image or a backup image of the Droplet. Set the image attribute to an image ID or slug. To retrieve a list of images on your account, use the `doctl compute image list` command. To retrieve a list of … - [doctl compute droplet-action rename](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/rename/index.html.md): Renames a Droplet. When using a Fully Qualified Domain Name (FQDN) this also updates the Droplet's pointer (PTR) record. - [doctl compute droplet-action resize](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/resize/index.html.md): Resizes a Droplet to a different plan. By default, this command only increases or decreases the CPU and RAM of the Droplet, not its disk size. Unlike increasing disk size, you can reverse this action. To also increase the Droplet's disk size, choose a size … - [doctl compute droplet-action restore](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/restore/index.html.md): Restores a Droplet from a backup image. You must pass an image ID that is a backup of the current Droplet instance. The operation leaves any embedded SSH keys intact. To retrieve a list of backup images, use the `doctl compute image list` command. - [doctl compute droplet-action shutdown](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/shutdown/index.html.md): Shuts down a Droplet. A shutdown action is an attempt to shutdown the Droplet in a graceful way, similar to using the shutdown command from the Droplet's console. Since a shutdown command can fail, this action guarantees that the command is issued, not … - [doctl compute droplet-action snapshot](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/snapshot/index.html.md): Takes a snapshot of a Droplet. Snapshots are complete disk images that contain all of the data on a Droplet at the time of the snapshot. This can be useful for restoring and rebuilding Droplets. We recommend that you power off the Droplet before taking a … ## doctl compute droplet-autoscale Use the subcommands of `doctl compute droplet-autoscale` to perform actions on Droplet Autoscale Pools. You can use droplet-autoscale to perform CRUD operations on a Droplet Autoscale Pool. - [doctl compute droplet-autoscale create](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-autoscale/create/index.html.md): Usage doctl compute droplet-autoscale create [flags] Flags Option Description --cooldown-minutes Cooldown durationDefault: 0 --cpu-target CPU target threshold --droplet-agent Enable droplet agentDefault: true --enable-ipv6 Enable droplet IPv6Default: true … - [doctl compute droplet-autoscale delete](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-autoscale/delete/index.html.md): Usage doctl compute droplet-autoscale delete [flags] Aliases d, rm Flags Option Description --force Force delete without a confirmation promptDefault: false --help, -h Help for this command Related Commands Command Description doctl compute … - [doctl compute droplet-autoscale delete-dangerous](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-autoscale/delete-dangerous/index.html.md): Usage doctl compute droplet-autoscale delete-dangerous [flags] Flags Option Description --force Force delete without a confirmation promptDefault: false --help, -h Help for this command Related Commands Command Description doctl compute droplet-autoscale … - [doctl compute droplet-autoscale get](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-autoscale/get/index.html.md): Usage doctl compute droplet-autoscale get [flags] Flags Option Description --format Columns for output in a comma-separated list. Possible values: ID, Name, Region, Status, Min Instance, Max Instance, Target Instance, Avg CPU Util, Avg Mem Util, Target … - [doctl compute droplet-autoscale list](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-autoscale/list/index.html.md): Usage doctl compute droplet-autoscale list [flags] Aliases ls Flags Option Description --format Columns for output in a comma-separated list. Possible values: ID, Name, Region, Status, Min Instance, Max Instance, Target Instance, Avg CPU Util, Avg Mem … - [doctl compute droplet-autoscale list-history](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-autoscale/list-history/index.html.md): Usage doctl compute droplet-autoscale list-history [flags] Flags Option Description --format Columns for output in a comma-separated list. Possible values: ID, Current Instance, Target Instance, Status, Reason, Error Reason. --help, -h Help for this … - [doctl compute droplet-autoscale list-members](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-autoscale/list-members/index.html.md): Usage doctl compute droplet-autoscale list-members [flags] Flags Option Description --format Columns for output in a comma-separated list. Possible values: ID, Status, Health Status, Unhealthy Reason, CPU Util, Mem Util. --help, -h Help for this command … - [doctl compute droplet-autoscale update](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-autoscale/update/index.html.md): Usage doctl compute droplet-autoscale update [flags] Flags Option Description --cooldown-minutes Cooldown durationDefault: 0 --cpu-target CPU target threshold --droplet-agent Enable droplet agentDefault: true --enable-ipv6 Enable droplet IPv6Default: true … ## doctl compute firewall The sub-commands of `doctl compute firewall` manage DigitalOcean cloud firewalls. Cloud firewalls allow you to restrict network access to and from a Droplet by defining which ports accept inbound or outbound connections. With these commands, you can list, create, or delete Cloud firewalls, as well as modify access rules. Note: Cloud firewalls are not internal Droplet firewalls on Droplets, such as UFW or FirewallD. A firewall's `inbound_rules` and `outbound_rules` attributes contain arrays of objects as their values. These objects contain the standard attributes of their associated types, which can be found below. Inbound access rules specify the protocol (TCP, UDP, or ICMP), ports, and sources for inbound traffic that will be allowed through the Firewall to the target Droplets. The `ports` attribute may contain a single port, a range of ports (e.g. `8000-9000`), or `all` to allow traffic on all ports for the specified protocol. The `sources` attribute will contain an object specifying a whitelist of sources from which traffic will be accepted. - [doctl compute firewall add-droplets](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/add-droplets/index.html.md): Assigns Droplets to a cloud firewall on your account. - [doctl compute firewall add-rules](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/add-rules/index.html.md): Add inbound or outbound rules to a cloud firewall. - [doctl compute firewall add-tags](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/add-tags/index.html.md): Add tags to a cloud firewall. This adds all assets using that tag to the firewall. - [doctl compute firewall create](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/create/index.html.md): Creates a cloud firewall. This command must contain at least one inbound or outbound access rule. - [doctl compute firewall delete](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/delete/index.html.md): Permanently deletes a cloud firewall. This is irreversible, but does not delete any Droplets assigned to the cloud firewall. - [doctl compute firewall get](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/get/index.html.md): Retrieves information about an existing cloud firewall, including: - The firewall's UUID - The firewall's name - The status of the firewall. Possible values: `waiting`, `succeeded`, `failed`. - The firewall's creation date, in ISO8601 combined date and … - [doctl compute firewall list](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/list/index.html.md): Retrieves a list of cloud firewalls on your account. - [doctl compute firewall list-by-droplet](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/list-by-droplet/index.html.md): Lists the cloud firewalls assigned to a Droplet. - [doctl compute firewall remove-droplets](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/remove-droplets/index.html.md): Removes Droplets from a cloud firewall. - [doctl compute firewall remove-rules](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/remove-rules/index.html.md): Remove inbound or outbound rules from a cloud firewall. - [doctl compute firewall remove-tags](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/remove-tags/index.html.md): Removes tags from a cloud firewall. This removes all assets using that tag from the firewall. - [doctl compute firewall update](https://docs.digitalocean.com/reference/doctl/reference/compute/firewall/update/index.html.md): Updates the configuration of an existing cloud firewall. The request should contain a full representation of the firewall, including existing attributes. Any attributes that are not provided are reset to their default values. ## doctl compute image The sub-commands of `doctl compute image` manage images. A DigitalOcean image can be used to create a Droplet. Currently, there are five types of images: snapshots, backups, custom images, distributions, and one-click application. - Snapshots provide a full copy of an existing Droplet instance taken on demand. - Backups are similar to snapshots but are created automatically at regular intervals when enabled for a Droplet. - Custom images are Linux-based virtual machine images that you may upload for use on DigitalOcean. We support the following formats: raw, qcow2, vhdx, vdi, or vmdk. - Distributions are the public Linux distributions that are available to be used as a base to create Droplets. - Applications, or one-click apps, are distributions pre-configured with additional software, such as WordPress, Django, or Flask. - [doctl compute image create](https://docs.digitalocean.com/reference/doctl/reference/compute/image/create/index.html.md): Creates an image in your DigitalOcean account. Specify a URL to download the image from and the region to store the image in. You can add additional metadata to the image using the optional flags. - [doctl compute image delete](https://docs.digitalocean.com/reference/doctl/reference/compute/image/delete/index.html.md): Permanently deletes an image from your account. This is irreversible. - [doctl compute image get](https://docs.digitalocean.com/reference/doctl/reference/compute/image/get/index.html.md): Returns the following information about the specified image: - The image's ID - The image's name - The type of image. Possible values: `snapshot`, `backup`, `custom`. - The distribution of the image. For custom images, this is user defined. - The image's … - [doctl compute image list](https://docs.digitalocean.com/reference/doctl/reference/compute/image/list/index.html.md): Lists all private images on your account. To list public images, use the `--public` flag. This command returns the following information about each image: - The image's ID - The image's name - The type of image. Possible values: `snapshot`, `backup`, … - [doctl compute image list-application](https://docs.digitalocean.com/reference/doctl/reference/compute/image/list-application/index.html.md): Lists all public one-click apps that are currently available on the DigitalOcean Marketplace. This command returns the following information about each image: - The image's ID - The image's name - The type of image. Possible values: `snapshot`, `backup`, … - [doctl compute image list-distribution](https://docs.digitalocean.com/reference/doctl/reference/compute/image/list-distribution/index.html.md): Lists the distribution images available from DigitalOcean. This command returns the following information about each image: - The image's ID - The image's name - The type of image. Possible values: `snapshot`, `backup`, `custom`. - The distribution of the … - [doctl compute image list-user](https://docs.digitalocean.com/reference/doctl/reference/compute/image/list-user/index.html.md): Use this command to list user-created images, such as snapshots or custom images that you have uploaded to your account. This command returns the following information about each image: - The image's ID - The image's name - The type of image. Possible … - [doctl compute image update](https://docs.digitalocean.com/reference/doctl/reference/compute/image/update/index.html.md): Updates an image's metadata, including its name, description, and distribution. ## doctl compute image-action The sub-commands of `doctl compute image-action` can be used to perform actions on images. - [doctl compute image-action get](https://docs.digitalocean.com/reference/doctl/reference/compute/image-action/get/index.html.md): Retrieves the status of an image action, including the following details: - The unique ID used to identify and reference an image action - The status of the image action. Possible values: `in-progress`, `completed`, `errored`. - When the action was … - [doctl compute image-action transfer](https://docs.digitalocean.com/reference/doctl/reference/compute/image-action/transfer/index.html.md): Transfers an image to a different datacenter region. Also outputs the following details: - The unique ID used to identify and reference an image action - The status of the image action. Possible values: `in-progress`, `completed`, `errored`. - When the … ## doctl compute load-balancer The sub-commands of `doctl compute load-balancer` manage your load balancers. With the load-balancer command, you can list, create, or delete load balancers, and manage their configuration details. - [doctl compute load-balancer add-droplets](https://docs.digitalocean.com/reference/doctl/reference/compute/load-balancer/add-droplets/index.html.md): Use this command to add Droplets to a load balancer. - [doctl compute load-balancer add-forwarding-rules](https://docs.digitalocean.com/reference/doctl/reference/compute/load-balancer/add-forwarding-rules/index.html.md): Use this command to add forwarding rules to a load balancer, specified with the `--forwarding-rules` flag. Valid rules include: - `entry_protocol`: The entry protocol used for traffic to the load balancer. Possible values are: `http`, `https`, `http2`, … - [doctl compute load-balancer create](https://docs.digitalocean.com/reference/doctl/reference/compute/load-balancer/create/index.html.md): Use this command to create a new load balancer on your account. Valid forwarding rules are: - `entry_protocol`: The entry protocol used for traffic to the load balancer. Possible values are: `http`, `https`, `http2`, `http3`, `tcp`, or `udp`. - … - [doctl compute load-balancer delete](https://docs.digitalocean.com/reference/doctl/reference/compute/load-balancer/delete/index.html.md): Use this command to permanently delete the specified load balancer. This is irreversible. - [doctl compute load-balancer get](https://docs.digitalocean.com/reference/doctl/reference/compute/load-balancer/get/index.html.md): Use this command to retrieve information about a load balancer instance, including: - The load balancer's ID - The load balancer's name - The load balancer's IP address - The current state of the load balancer. This can be `new`, `active`, or `errored`. - … - [doctl compute load-balancer list](https://docs.digitalocean.com/reference/doctl/reference/compute/load-balancer/list/index.html.md): Use this command to get a list of the load balancers on your account, including the following information for each: - The load balancer's ID - The load balancer's name - The load balancer's IP address - The current state of the load balancer. This can be … - [doctl compute load-balancer purge-cache](https://docs.digitalocean.com/reference/doctl/reference/compute/load-balancer/purge-cache/index.html.md): Use this command to purge the CDN cache for specified global load balancer. - [doctl compute load-balancer remove-droplets](https://docs.digitalocean.com/reference/doctl/reference/compute/load-balancer/remove-droplets/index.html.md): Use this command to remove Droplets from a load balancer. This command does not destroy any Droplets. - [doctl compute load-balancer remove-forwarding-rules](https://docs.digitalocean.com/reference/doctl/reference/compute/load-balancer/remove-forwarding-rules/index.html.md): Use this command to remove forwarding rules from a load balancer, specified with the `--forwarding-rules` flag. Valid rules include: - `entry_protocol`: The entry protocol used for traffic to the load balancer. Possible values are: `http`, `https`, … - [doctl compute load-balancer update](https://docs.digitalocean.com/reference/doctl/reference/compute/load-balancer/update/index.html.md): Use this command to update the configuration of a specified load balancer. Using all applicable flags, the command should contain a full representation of the load balancer including existing attributes, such as the load balancer's name, region, forwarding … ## doctl compute region The subcommands of `doctl compute region` retrieve information about DigitalOcean datacenter regions. - [doctl compute region list](https://docs.digitalocean.com/reference/doctl/reference/compute/region/list/index.html.md): List DigitalOcean datacenter regions displaying their name, slug, and availability. Use the slugs displayed by this command to specify regions in other commands. ## doctl compute reserved-ip The sub-commands of `doctl compute reserved-ip` manage reserved IP addresses. Reserved IPs are publicly-accessible static IP addresses that you can to one of your Droplets. They can be used to create highly available setups or other configurations requiring movable addresses. Reserved IPs are bound to the regions they are created in. - [doctl compute reserved-ip create](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ip/create/index.html.md): Creates a new reserved IP address. Reserved IP addresses can either be assigned to Droplets or held in the region they were created in on your account, but because of the IPv4 address shortage, unassigned reserved IP addresses incur charges. - [doctl compute reserved-ip delete](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ip/delete/index.html.md): Permanently deletes a reserved IP address. This is irreversible. - [doctl compute reserved-ip get](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ip/get/index.html.md): Retrieves detailed information about a reserved IP address, including its region and the ID of the Droplet its assigned to. - [doctl compute reserved-ip list](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ip/list/index.html.md): Retrieves a list of all the reserved IP addresses on your account. ## doctl compute reserved-ip-action Reserved IP actions are commands that are used to manage DigitalOcean reserved IP addresses. - [doctl compute reserved-ip-action assign](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ip-action/assign/index.html.md): Assigns a reserved IP address to the specified Droplet. - [doctl compute reserved-ip-action get](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ip-action/get/index.html.md): Retrieves the status of a reserved IP action. Outputs the following information: - The unique numeric ID used to identify and reference a reserved IP action - The status of the reserved IP action. Possible values: "in-progress", "completed", "errored" - … - [doctl compute reserved-ip-action unassign](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ip-action/unassign/index.html.md): Unassigns a reserved IP address from a Droplet. Due to a shortage on IPv4 addresses, unassigned reserved IP addresses remain available on your account but accumulate charges for not being assigned. ## doctl compute reserved-ipv6 The sub-commands of `doctl compute reserved-ipv6` manage reserved IPv6 addresses. Reserved IPv6s are publicly-accessible static IPv6 addresses that you can assign to one of your Droplets. They can be used to create highly available setups or other configurations requiring movable addresses. Reserved IPv6s are bound to the regions they are created in. - [doctl compute reserved-ipv6 assign](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ipv6/assign/index.html.md): Assigns a reserved IPv6 address to the specified Droplet. - [doctl compute reserved-ipv6 create](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ipv6/create/index.html.md): Creates a new reserved IPv6 address. Reserved IPv6 addresses can be held in the region they were created in on your account. - [doctl compute reserved-ipv6 delete](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ipv6/delete/index.html.md): Permanently deletes a reserved IPv6 address. This is irreversible. - [doctl compute reserved-ipv6 get](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ipv6/get/index.html.md): Retrieves detailed information about a reserved IPv6 address, including its region and the ID of the Droplet its assigned to. - [doctl compute reserved-ipv6 list](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ipv6/list/index.html.md): Retrieves a list of all the reserved IPv6 addresses on your account. - [doctl compute reserved-ipv6 unassign](https://docs.digitalocean.com/reference/doctl/reference/compute/reserved-ipv6/unassign/index.html.md): Unassigns a reserved IPv6 address from a Droplet. ## doctl compute size The subcommands of `doctl compute size` retrieve information about Droplet sizes. - [doctl compute size list](https://docs.digitalocean.com/reference/doctl/reference/compute/size/list/index.html.md): Retrieves a list of slug identifiers, RAM amounts, vCPU counts, disk sizes, and pricing details for each Droplet size. Use these slugs to specify the size of Droplet in other commands, such as `doctl compute droplet create --size `. ## doctl compute snapshot The subcommands of `doctl compute snapshot` allow you to manage and retrieve information about Droplet and block storage volume snapshots. - [doctl compute snapshot delete](https://docs.digitalocean.com/reference/doctl/reference/compute/snapshot/delete/index.html.md): Deletes the specified snapshot or volume. This is irreversible. - [doctl compute snapshot get](https://docs.digitalocean.com/reference/doctl/reference/compute/snapshot/get/index.html.md): Retrieves information about a Droplet or block storage volume snapshot, including: - The snapshot's ID - The snapshot's name - The date and time when the snapshot was created - The slugs of the datacenter regions in which the snapshot is available - The … - [doctl compute snapshot list](https://docs.digitalocean.com/reference/doctl/reference/compute/snapshot/list/index.html.md): Retrieves a list of snapshots and their information, including: - The snapshot's ID - The snapshot's name - The date and time when the snapshot was created - The slugs of the datacenter regions in which the snapshot is available - The type of resource the … ## doctl compute ssh-key The sub-commands of `doctl compute ssh-key` manage the SSH keys on your account. DigitalOcean allows you to add SSH public keys to the interface so that you can embed your public key into a Droplet at the time of creation. Only the public key is required to take advantage of this functionality. Note that this command does not add, delete, or otherwise modify any ssh keys that may be on existing Droplets. - [doctl compute ssh-key create](https://docs.digitalocean.com/reference/doctl/reference/compute/ssh-key/create/index.html.md): Use this command to add a new SSH key to your account. Specify a `` for the key, and set the `--public-key` flag to a string with the contents of the key. Note that creating a key will not add it to any Droplets. - [doctl compute ssh-key delete](https://docs.digitalocean.com/reference/doctl/reference/compute/ssh-key/delete/index.html.md): Use this command to permanently delete an SSH key from your account. Note that this does not delete an SSH key from any Droplets. - [doctl compute ssh-key get](https://docs.digitalocean.com/reference/doctl/reference/compute/ssh-key/get/index.html.md): Use this command to get the id, fingerprint, public_key, and name of a specific SSH key on your account. - [doctl compute ssh-key import](https://docs.digitalocean.com/reference/doctl/reference/compute/ssh-key/import/index.html.md): Use this command to add a new SSH key to your account, using a local public key file. Note that importing a key to your account will not add it to any Droplets - [doctl compute ssh-key list](https://docs.digitalocean.com/reference/doctl/reference/compute/ssh-key/list/index.html.md): Use this command to list the id, fingerprint, public_key, and name of all SSH keys on your account. - [doctl compute ssh-key update](https://docs.digitalocean.com/reference/doctl/reference/compute/ssh-key/update/index.html.md): Use this command to update the name of an SSH key. ## doctl compute tag The sub-commands of `doctl compute tag` manage the tags on your account. Tags are labels that you can apply to resources to better organize them and more efficiently take actions on them. For example, if you have a group of Droplets that you want to place behind the same set of cloud firewall rules, you can tag those Droplets with a common tag and then apply the firewall rules to all Droplets with that tag. You can tag Droplets, images, volumes, volume snapshots, and database clusters. Tags have two attributes: a user defined name attribute and an embedded resources attribute with information about resources that have been tagged. - [doctl compute tag apply](https://docs.digitalocean.com/reference/doctl/reference/compute/tag/apply/index.html.md): Tag one or more resources. You can tag Droplets, images, volumes, volume snapshots, and database clusters. Resources must be specified as Uniform Resource Names (URNs) and has the following syntax: `do::`. - [doctl compute tag create](https://docs.digitalocean.com/reference/doctl/reference/compute/tag/create/index.html.md): Creates a new tag that you can apply to resources. - [doctl compute tag delete](https://docs.digitalocean.com/reference/doctl/reference/compute/tag/delete/index.html.md): Deletes a tag from your account. Deleting a tag also removes the tag from all the resources that had been tagged with it. - [doctl compute tag get](https://docs.digitalocean.com/reference/doctl/reference/compute/tag/get/index.html.md): Retrieves the number of resources using the tag. - [doctl compute tag list](https://docs.digitalocean.com/reference/doctl/reference/compute/tag/list/index.html.md): Retrieves a list of all the tags in your account and how many resources are using each tag. - [doctl compute tag remove](https://docs.digitalocean.com/reference/doctl/reference/compute/tag/remove/index.html.md): Removes a tag from one or more resources. Resources must be specified as Uniform Resource Names (URNs) and has the following syntax: `do::`. ## doctl compute volume The sub-commands of `doctl compute volume` manage your block storage volumes. Block storage volumes provide expanded storage capacity for your Droplets, ranging in size from 1GiB to 16TiB. Volumes function as raw block devices, meaning they appear to the operating system as locally attached storage which can be formatted using any filesystem supported by the OS. They can be moved between Droplets located in the same region as the volume. - [doctl compute volume create](https://docs.digitalocean.com/reference/doctl/reference/compute/volume/create/index.html.md): Creates a block storage volume on your account. You can use flags to specify the volume size, region, description, filesystem type, tags, and to create a volume from an existing volume snapshot. Use the `doctl compute volume-action attach ` command to … - [doctl compute volume delete](https://docs.digitalocean.com/reference/doctl/reference/compute/volume/delete/index.html.md): Deletes a block storage volume by ID, destroying all of its data and removing it from your account. This is irreversible. - [doctl compute volume get](https://docs.digitalocean.com/reference/doctl/reference/compute/volume/get/index.html.md): Retrieves information about a block storage volume. - [doctl compute volume list](https://docs.digitalocean.com/reference/doctl/reference/compute/volume/list/index.html.md): Lists all of the block storage volumes on your account. - [doctl compute volume snapshot](https://docs.digitalocean.com/reference/doctl/reference/compute/volume/snapshot/index.html.md): Creates a snapshot of a block storage volume by ID. You can use a block storage volume snapshot ID as a flag with `doctl volume create` to create a new block storage volume with the same data as the volume the snapshot was taken from. ## doctl compute volume-action Block storage volume action commands allow you to attach, detach, and resize existing volumes. - [doctl compute volume-action attach](https://docs.digitalocean.com/reference/doctl/reference/compute/volume-action/attach/index.html.md): Attaches a block storage volume to a Droplet. You can only attach one Droplet to a volume at a time. However, you can attach up to fifteen different volumes to a Droplet at a time. When you attach a pre-formatted volume to Ubuntu, Debian, Fedora, Fedora … - [doctl compute volume-action detach](https://docs.digitalocean.com/reference/doctl/reference/compute/volume-action/detach/index.html.md): Detaches a block storage volume from a Droplet. - [doctl compute volume-action detach-by-droplet-id](https://docs.digitalocean.com/reference/doctl/reference/compute/volume-action/detach-by-droplet-id/index.html.md): This command detaches a volume. This command is deprecated. Use `doctl compute volume-action detach` instead. - [doctl compute volume-action get](https://docs.digitalocean.com/reference/doctl/reference/compute/volume-action/get/index.html.md): Retrieves the status of a volume action, including the following details: - The unique numeric ID used to identify and reference a volume action. - The status of the volume action. Possible values: `in-progress`, `completed`, `errored`. - When the action … - [doctl compute volume-action list](https://docs.digitalocean.com/reference/doctl/reference/compute/volume-action/list/index.html.md): Retrieves a list of actions taken on a volume. The following details are provided: - The unique numeric ID used to identify and reference a volume action. - The status of the volume action. Possible values: `in-progress`, `completed`, `errored`. - When the … - [doctl compute volume-action resize](https://docs.digitalocean.com/reference/doctl/reference/compute/volume-action/resize/index.html.md): Resizes a block storage volume. Volumes may only be resized upwards. The maximum size for a volume is 16TiB. ## doctl compute vpc-nat-gateway Use the subcommands of `doctl compute vpc-nat-gateway` to perform actions on VPC NAT Gateways. You can use vpc-nat-gateway to perform CRUD operations on a VPC NAT Gateway. - [doctl compute vpc-nat-gateway create](https://docs.digitalocean.com/reference/doctl/reference/compute/vpc-nat-gateway/create/index.html.md): Usage doctl compute vpc-nat-gateway create [flags] Aliases c Flags Option Description --format Columns for output in a comma-separated list. Possible values: ID, Name, Type, State, Region, VPC, GatewayIP, Default, Egresses, Timeouts. --help, -h Help for … - [doctl compute vpc-nat-gateway delete](https://docs.digitalocean.com/reference/doctl/reference/compute/vpc-nat-gateway/delete/index.html.md): Usage doctl compute vpc-nat-gateway delete [flags] Aliases d, rm Flags Option Description --force Force delete without a confirmation promptDefault: false --help, -h Help for this command Related Commands Command Description doctl compute vpc-nat-gateway … - [doctl compute vpc-nat-gateway get](https://docs.digitalocean.com/reference/doctl/reference/compute/vpc-nat-gateway/get/index.html.md): Usage doctl compute vpc-nat-gateway get [flags] Flags Option Description --format Columns for output in a comma-separated list. Possible values: ID, Name, Type, State, Region, VPC, GatewayIP, Default, Egresses, Timeouts. --help, -h Help for this command … - [doctl compute vpc-nat-gateway list](https://docs.digitalocean.com/reference/doctl/reference/compute/vpc-nat-gateway/list/index.html.md): Usage doctl compute vpc-nat-gateway list [flags] Aliases ls Flags Option Description --format Columns for output in a comma-separated list. Possible values: ID, Name, Type, State, Region, VPC, GatewayIP, Default, Egresses, Timeouts. --help, -h Help for … - [doctl compute vpc-nat-gateway update](https://docs.digitalocean.com/reference/doctl/reference/compute/vpc-nat-gateway/update/index.html.md): Usage doctl compute vpc-nat-gateway update [flags] Aliases u Flags Option Description --format Columns for output in a comma-separated list. Possible values: ID, Name, Type, State, Region, VPC, GatewayIP, Default, Egresses, Timeouts. --help, -h Help for …