DigitalOcean Reserved IP addresses are a publicly-accessible static IP addresses. Assign and reassign reserved IP addresses to Droplets as needed, or implement a failover mechanism with reserved IPs to build a high availability infrastructure.
The DigitalOcean API lets you manage DigitalOcean resources programmatically using conventional HTTP requests. All the functionality available in the DigitalOcean Control Panel is also available through the API.
You can use the API to create, list, and delete reserved IP addresses. You can also manage specific reserved IP addresses using the API, such as assigning or unassigning them.
doctl
is a command-line interface for the DigitalOcean API and supports many of the same actions.
doctl
supports managing reserved IP addresses from the command line. See the doctl
documentation or use doctl compute reserved-ip --help
for more information.