Question

Can I assign a static IP to an App Container?

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)?

thanks

-Esko

Show comments

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

👋 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.

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.