How to connect APP Platform to external database?

I have an APP that I have just deployed to the APP Platform. It looks like it runs fine, but I cannot connect to my remote database. In order to connect to the remote database, I need to add the APP’s IP to the security group.

I don’t see how to get the IP address for the APP (I would like to use a Flexible IP with it), so pinged the IP address and added that to the security group. I had no luck with that.

Does anyone have any hints?

Submit an answer
Answer a question...

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.

Site Moderator
Site Moderator badge
April 26, 2022

Hi @sergiot-ruiz,

Unfortunately, App Platform applications do not have a persistent IP address. More about that here

Regarding the connection to an external database, there is a similar question asked here:

The main answer there is:

App Platform apps do not have a static-IPs. We’ve heard requests for static IPs as an add-on feature and are considering it. In the mean time, we recommend using TLS encryption and strong authentication to secure connections to external resources.