Google Cloud SQL with streamlit - authorize public IP

Trying to use google cloud SQL to provide data for my streamlit app. It seems like the only way to make it work is to add 0.0.0.0/0 to authorized public IP addresses inside the google cloud SQL sever instance. Doesn’t seem like the right answer. Does anyone have better ideas or suggestions of another mySQL cloud database to use? Thanks

That is not the only way. If you know that the outbound IP of your application will be within a certain range, you can authorize just that range.

Thanks Goyo, going to keep the 0.0.0.0 not sure the range of my users (or if its worth the brain damage to figure out :slight_smile: )

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