DigitalOcean provides several command-line interfaces (CLIs) and application programming interfaces (APIs) for managing your resources. This section provides the reference materials for these offerings, as well as resources from the open source community.
When you create a Droplet using the API (
POST /v2/droplets), you can now specify a region (like NYC) instead of a specific datacenter (like NYC3). The API then creates your Droplet in any available datacenter within your specified region. For example, if you want to create a Droplet in San Francisco, you can use the region
sfo to guarantee that the Droplet will be in SFO1, SFO2, or SFO3. Additionally, you can omit the region entirely (or set it to an empty string) to create a Droplet in any available region.
Released v1.81.0 of doctl, the official DigitalOcean CLI. This release adds two new pieces of functionality. When creating a reserved IP, you can now specify the project it should be placed in. It also makes the
--region flag an optional argument for the
compute droplet create sub-command.
Released v1.80.0 of doctl, the official DigitalOcean CLI. This release adds support for creating and managing multiple namespaces for serverless functions.
Rocky 9 (
rockylinux-9-x64) base image is now available in the control panel and via the API.
Released v1.79.0 of doctl, the official DigitalOcean CLI. This release adds several
databases options sub-commands you can use to look up create-time options for database clusters, such as supported engines and versions.
For more information, see the full release notes.