Can I assign a static IP to an App Container?

Posted November 5, 2020 1.7k views
NetworkingFirewallDigitalOcean App Platform

Since unfortunately an app cannot access a managed db that is behind a firewall, I am looking at other options. I noticed that upon redeployment, an app will get a new IP assigned. While it’s true I can update the firewall rules on my db every time I redeploy, that’s not sustainable. Is there a way to assign a static (or elastic) IP to an app container (or are there any plans for this)?



1 comment

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.

Submit an Answer
1 answer

đź‘‹ Esko,

Thanks for the question. Static-IPs are not currently on the roadmap, however we do plan to allow listing Apps among a managed database’s trusted sources. In the longer-term we also have VPC support on our roadmap. We encourage you to follow our online release notes documentation.