By vinlandtech
I am contemplating a multi-tier architecture that calls for several application and database droplets which should not be publicly accessible - . These droplets should only be accessible indirectly through a reverse proxy/load balancer (which would also act as a bastion to forward ssh, software updates, etc.), so the public network interface would be disabled for security. Thus, those IPv4 addresses will be going to waste. The load balancer/bastion should be the only droplet publicly accessible.
However, I would very much like to be able to serve multiple IPv4 addresses from that one reverse proxy/load balancer droplet. I understand that you are trying to conserve precious public IPv4 addresses, but I would have several unused, inaccessable public IPv4 addresses just going to waste on the application and database droplets. Is there any way to move these unused addresses to be secondary addresses on my one publicly addressable droplet? Rather than just wasting them? (If not, is there some efficient, secure workaround other than just buying extra droplets that I don’t really need, just solely to get the public IPv4’s that go with them?)
Also, I understand that this is a pretty common architecture design, limiting public access to just one or a handful of special servers, so despite your stated goal of conserving public IPv4 addresses, you probably have a great many of them going to waste right now, stranded on droplets which have their public access deliberately unused, inaccessible or disabled. It seems to me that if your goal is truly to conserve public IPv4 addresses, it would seem the best way to make efficient use of them would be for you to not automatically issue a public IPv4 with every droplet, but rather rent droplets and public IPv4’s separately as ala carte services (adjusting the droplet price accordingly), and allow customers to flexibly assign any number of public IPv4’s to any droplet that needs them. This would much more efficiently allocate limited public IPv4’s where they are truly needed, while also allowing your customers the flexibility to choose any architecture that suits them.
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!
This would not currently be possible. Each droplet is assigned a single public ipv4 address and these cannot be re-assigned at this time. We are working on some things that may change this in the near future. You can follow our progress here.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
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
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.