Question

Does a droplet’s ip ever change while in use?

I would like to allow users to connect to Kubernetes droplets and stay connected over a droplet’s public ip.


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.

Accepted Answer

No, Actually Droplet IP never change itself. If you want to change and using load balancer you can reassign the public ip interfaces but that is again manual. If you are not using load balancer the public IP once assigned to droplet never change. The only possible way of changing droplet public IP is snapshot the droplet, destroy and create new droplet.

Sri Charan Madhavapeddi
DigitalOcean Employee
DigitalOcean Employee badge
August 12, 2020

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 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/

Regards, Sri Charan Madhavapeddi

Try DigitalOcean for free

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

Sign up

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