Question

Is it possible to assign a droplet's existing IP as the FloatingIP?

I have an existing app hosted on a DO droplet that I would like to assign a FloatingIP to. I want to know if it is possible to repurpose the currently assigned droplet IP address to be used as the FloatingIP address? That way I don’t have to go an update all the domains that are currently pointing to my droplet.

Example: Reassign IP address 10.0.0.1 which is assigned to the droplet as the Floating IP. And allow the droplet to have some other IP address.

Show comments

Submit an answer


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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Sri Charan Madhavapeddi
DigitalOcean Employee
DigitalOcean Employee badge
December 3, 2020
Accepted Answer

Hello,

In general, the moment you create a Droplet, you will be assigned an Static IPv4 address automatically. Similarly, when you destroy the Droplet, the IP address will be disassociated and will join the IP pool table. There is no way you can have one more Static IP address to the Droplet or convert this Static IP as floating IP on our platform. Really sorry for the inconvenience!

However, you can use the provision of Floating IP on our platform. This allows you to assign one more IPv4 address and can also be moved between Droplets in same account. Refer to below links, which provides some insights on Floating IP:

https://www.digitalocean.com/docs/networking/floating-ips/ https://www.digitalocean.com/docs/networking/floating-ips/how-to/

You can also start using IPv6, request you to refer to below links:

https://www.digitalocean.com/docs/networking/ipv6/ https://www.digitalocean.com/docs/networking/ipv6/how-to/

Hope this helps!

Cheers, Sri Charan

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

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

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.