Visit site

A simple CLI written in Go for controling DigitalOcean Floating IPs

A simple CLI written in Go for controling DigitalOcean Floating IPs. Its goal is to make it easier to script creating and assigning Floating IPs when working with tools like keepalived.

Certain commands will infer information using the DigitalOcean Metadata service if run on a Droplet.


Control DigitalOcean Floatin IPs.

  floatctl [command]

Available Commands:
  create      Create a Floating IP
  show        Show information about a Floating IP
  assign      Assign a Floating IP to a Droplet
  unassign    Unassign a Floating IP
  list        List available Floating IPs
  destroy     Destroy a Floatin IP
  assigned    Check if a Floating IP is assigned

  -h, --help[=false]: help for floatctl
  -t, --token="": DigitalOcean API Token - $DIGITALOCEAN_TOKEN

Use "floatctl [command] --help" for more information about a command.
Was this helpful?
Leave a comment

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Publish your Tool on Community

Have you created an Integration, API Wrapper, Service, or other Tool that helps developers build on DigitalOcean? Help users find it by listing it in Community Tools.

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel