Question

App Platform fixed IP not supported, how to whitelist? IP ranges?

Hi,

I found that the App Platform does not support fixed IP addresses, which I require to whitelist.

The service is a VPS in Digital Ocean, and I need to allow the App Platform Container to access it.

I use:

sudo ufw allow from xxx.xxx.xxx.xxx to any port yyyyy

Does DigitalOcean have a range of IP addresses I can at least use to whitelist via UFW, please?

Just to be clear, I understand I can open the port from anywhere:

sudo ufw allow PORT_NUMBER/tcp

But this is not good…


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @heldrida,

I don’t recommend whitelisting DigitalOcean’s IP range or for that matter, any IP range unless the service you are using doesn’t specifically say so.

Whitelisting so much IP addresses can be seen as a security risk as not all of these IPs would be yours to use and from these IP addresses your App would be reachable.

Having said that,

App Platform applications do not have a persistent IP address. Due to dynamic nature, there is no confined IP address that is dedicated for App Platform.

Refer to the limitations on the product:

https://docs.digitalocean.com/products/app-platform/#limits