vilcoyot
By:
vilcoyot

How to assign a floating IP to a droplet with doctl?

August 12, 2016 369 views
API Debian

I see there's a possibility to assign a floating IP to a machine via the digitalocean's API but I can't find how to perform the same action with doctl. Is it even possible?

1 Answer
kamaln7 MOD August 12, 2016
Accepted Answer

Hi!

You can assign a floating IP to a Droplet using doctl as follows:

doctl compute floating-ip-action assign <floating-ip> <droplet-id> [flags]
Have another answer? Share your knowledge.