An Apache Spark-based analytics platform optimized for Azure.
Hi Swavek Lorenc Thank you for posting query in Microsoft Q&A Platform. To allow Databricks access to your Postgres flexible server, you can create a firewall rule to allow traffic from the outbound IP addresses of your Databricks cluster. You can find the outbound IP addresses of your Databricks cluster in the Azure portal. To create a firewall rule, you can follow the steps mentioned in the document "Manage firewall rules - Azure portal - Azure Database for PostgreSQL - Flexible Server". If you decide to use 'Private Access (VNet Integration)', you would need to configure Postgres flexible server to allow access from Databricks cluster. You can do this by creating a virtual network (VNet) and a subnet for your Postgres flexible server and another subnet for your Databricks cluster. You can then configure VNet peering between the two subnets to allow communication between them. You can find more information on how to configure VNet peering in the document "Networking in Azure Database for PostgreSQL - Flexible Server". However, if you go this route, you would need to use a VM configured inside Azure for application deployment and lose the option of deployment from a Windows PC.