Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Can I manually assign a private IP address to a droplet in a VPC?
Is it possible to control which private IP address is assigned to a droplet within a VPC?
It seems the address is sequentially assigned from the VPC IP range, but I can’t find a way to control it.
For instance, I would like to assign a static IP to a DNS server within the VPC and make sure it will be the same if I have to later re-run my Terraform configuration from scratch.
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.×