Using a VPN for database interactions on Streamlit

In my application, I make database reads and inserts. In order to access the database server, a VPN is required. When I deploy my app to the Streamlit Cloud, it obviously doesn’t work by default. Is there a potential workaround to getting this to work? Maybe some sort of SSH tunneling? I haven’t seen any mention of this previously

Hi @RyanK

The underlying config of the server running the deployed app is not provided to users in the Community Cloud. Unless you can try to do this in-app, another solution is to deploy on an external cloud server such as AWS, Azure, Digital Ocean.

More info in this Docs page:

I was overthinking it, just deployed it locally and had the users use the network address over the vpn!

1 Like

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