Static egress IP addresses in Deepnote
Many Deepnote users have been asking for the list of IP addresses that Deepnote uses to access the Internet. Up until recently, the answer was not very satisfying. We did not have a fixed set of IP addresses - making it impossible to for example, authorize the Deepnote's IP addresses at your database.
Static IP addresses are here 🎉🎉🎉
The wait is over and thanks to the recent changes to our infrastructure, we now have a fixed set of IP addresses that we use to access the Internet -- including the SQL databases connected through the Integrations. The IP addresses we use are:
These static IP addresses are used for all projects if you have a Deepnote Team or Enterprise plan.
Google Cloud Platform (GCP) Cloud SQL in Deepnote
At Deepnote, we use GCP Cloud Postgres database and connect to it from our notebooks in Deepnote. Without static IP addresses, integrating a GCP Cloud SQL instance with Deepnote was painful. You were essentially left with two options:
0.0.0.0/0to connect to you instance -- effectively allowing any IP address to connect to your database
- Use the Cloud SQL Proxy
We did not feel like opening our database to any IP address in the Internet, so we have decided to go with option
2. With the above described change, we have authorized the IP addresses in the Cloud SQL Admin like this:
This way, we no longer need to use the Cloud SQL Proxy and have nicely simplified our notebooks.
Let us know your feedback
We hope that this makes you at least half as happy as we are. If this helps your notebook use, simplifies your workflows or if you have any other feedback, we'd love to hear from you! Let us know in the Community or you can always shoot me a DM. Looking forward to you stories!
Made with 💙 by Jan Stastny, software engineer at Deepnote