How to safely deploy Redis or PostgreSQL with a dedicated IPv4?

I’m new to networking and I’m interested in this particular comment Self Hosting Redis, how to do it? - #6 by chloerei. Could someone please clarify if it’s possible to securely deploy Redis or PostgreSQL on Fly.io that needs to connect with another app via IPv4 connection? I’m asking because Fly.io’s team recommends using .internal and .flycast. Is it definitely not possible, or can we use additional security measures while still managing connections through IPv4, such as IP whitelisting?

P.S. I know how to use .internal and .flycast for this purpose.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.