<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Allows to serveless compute to connect to postgres db in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/108098#M42972</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;Thanks for your answer, actually we don't know if it will remains but since we have a medallion architecture having data in parquet files it's better because the data size is less rather than postgres.&lt;BR /&gt;But, at the end of our medallion architecture we have a new postgres database where we need to store our data for our portal. So, I could say we need to have serveless to catch faster data and don't wait for job compute up.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2025 15:11:22 GMT</pubDate>
    <dc:creator>jeremy98</dc:creator>
    <dc:date>2025-01-31T15:11:22Z</dc:date>
    <item>
      <title>Allows to serveless compute to connect to postgres db</title>
      <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/107487#M42811</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is it possible to enable VNet peering between Databricks Serverless Compute and a private PostgreSQL database that is already configured with a VNet?&lt;/P&gt;&lt;P&gt;Currently, everything works fine when I create my personal cluster because I have set up the VNet peering. However, when I try to attach a notebook to a Serverless Compute instance, calls to my private database (hosted in Azure) fail, and I cannot determine the cause.&lt;/P&gt;&lt;P&gt;What is the procedure to enable VNet peering for Serverless Compute? How can I discover the IPs used by Serverless Compute to allow access to my database?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 20:56:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/107487#M42811</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2025-01-28T20:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Allows to serveless compute to connect to postgres db</title>
      <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/107490#M42813</link>
      <description>&lt;P&gt;Have you tried Lakehouse Federation for this request?&amp;nbsp; That might be a better way, depending on what you're doing.&lt;/P&gt;&lt;P&gt;Otherwise, I think you need to use an NCC to set up the trust between serverless and your PostgreSQL, see&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/security/network/serverless-network-security/serverless-private-link" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/security/network/serverless-network-security/serverless-private-link&lt;/A&gt;&amp;nbsp;(I know the URL says Private Link, it's not Private Link).&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 21:35:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/107490#M42813</guid>
      <dc:creator>Rjdudley</dc:creator>
      <dc:date>2025-01-28T21:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Allows to serveless compute to connect to postgres db</title>
      <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/107920#M42948</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your answers, what is Lakehouse Federation? Considers that PostgresSQL is created inside Azure, so we need to enable essentially some VNet, I was reading your solution, I hope this will work, since It's important to migrate data from a current architecture to a new one in databricks.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 20:06:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/107920#M42948</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2025-01-30T20:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Allows to serveless compute to connect to postgres db</title>
      <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/107922#M42949</link>
      <description>&lt;P&gt;Lakehouse federation:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/query-federation/" target="_blank"&gt;What is Lakehouse Federation? - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 20:16:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/107922#M42949</guid>
      <dc:creator>Rjdudley</dc:creator>
      <dc:date>2025-01-30T20:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Allows to serveless compute to connect to postgres db</title>
      <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/107969#M42958</link>
      <description>&lt;P&gt;Ah ok thanks, I already did it, but for us we need to migrate to databricks&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 08:06:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/107969#M42958</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2025-01-31T08:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Allows to serveless compute to connect to postgres db</title>
      <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/108094#M42970</link>
      <description>&lt;P&gt;Is that PostgreSQL server going to go away after you migrate to Databricks, or is it going to continue to be used?&amp;nbsp; Either way, federation works for you.&amp;nbsp; If you're going to discontinue it, just do a full extract into an archive location and a one-time ETL from that.&amp;nbsp; If it will remain in service, you can treat it as a landing location and have extraction workbooks load bronze from it.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 14:33:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/108094#M42970</guid>
      <dc:creator>Rjdudley</dc:creator>
      <dc:date>2025-01-31T14:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Allows to serveless compute to connect to postgres db</title>
      <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/108098#M42972</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;Thanks for your answer, actually we don't know if it will remains but since we have a medallion architecture having data in parquet files it's better because the data size is less rather than postgres.&lt;BR /&gt;But, at the end of our medallion architecture we have a new postgres database where we need to store our data for our portal. So, I could say we need to have serveless to catch faster data and don't wait for job compute up.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 15:11:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/108098#M42972</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2025-01-31T15:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Allows to serveless compute to connect to postgres db</title>
      <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/108724#M43132</link>
      <description>&lt;P&gt;But, if my postgres wasn't created with a private endpoint. Do I need to recreate the postgres database? Because I did with my colleague this thing with Terraform. And I got a problem about this...&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 09:35:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/108724#M43132</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2025-02-04T09:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Allows to serveless compute to connect to postgres db</title>
      <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/108793#M43142</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/133094"&gt;@jeremy98&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;But, if my postgres wasn't created with a private endpoint. Do I need to recreate the postgres database? Because I did with my colleague this thing with Terraform. And I got a problem about this...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not necessarily, but this will depend on how your company's networking and access permissions are set up.&amp;nbsp; In my case, we are migrating from a PostgreSQL server which has an IP access list.&amp;nbsp; Before we decommission the application and database, we'll do a final archive of the data.&amp;nbsp; We have a couple options for accessing the data--remove the IP access list knowing we are going to tear down the server shortly, or add a NAT gateway with a fixed IP, and add that IP to the PostgreSQL server's allowlist, and then extracting the data.&lt;/P&gt;&lt;P&gt;There are other ways also, but they would be particular to your company's infrastructure.&amp;nbsp; This is the point where an internet rando says "it depends" and talking to your DevOps or networking team can figure out the exact steps.&amp;nbsp; If they have a specific recommendation maybe the forums can help with that.&lt;/P&gt;&lt;P&gt;As an aside, you'll need to set up a NAT Gateway before the end of September anyway, see&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/security/network/classic/secure-cluster-connectivity#egress-with-vnet-injection" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/databricks/security/network/classic/secure-cluster-connectivity#egress-with-vnet-injection&lt;/A&gt;.&amp;nbsp; It might be to your benefit to start there.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 13:51:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/108793#M43142</guid>
      <dc:creator>Rjdudley</dc:creator>
      <dc:date>2025-02-04T13:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Allows to serveless compute to connect to postgres db</title>
      <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/109126#M43227</link>
      <description>&lt;P&gt;mmm ok, so if I don't want to use NCC since from Terraform I cannot create it because it said that I need to recreate the database with this endpoint enabled. How can I do this settings of enabling serveless compute to communicate with Postgres SQL database inside my azure account but that stands in a precise vnet?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 09:45:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/109126#M43227</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2025-02-06T09:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Allows to serveless compute to connect to postgres db</title>
      <link>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/109222#M43248</link>
      <description>&lt;P&gt;I'm unclear what you're asking here.&amp;nbsp; The NCC wouldn't connect serverless directly to your database, the NCC connects serverless to the VNet where your workspace runs.&amp;nbsp; You'd then use Lakehouse Federation to connect the workspace to your database.&amp;nbsp; If that's not something which will work for you,&amp;nbsp;I think you need to engage your account support team.&amp;nbsp; They can work with you 1:1 and help figure out exactly how to work in your environment.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 14:55:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/allows-to-serveless-compute-to-connect-to-postgres-db/m-p/109222#M43248</guid>
      <dc:creator>Rjdudley</dc:creator>
      <dc:date>2025-02-06T14:55:19Z</dc:date>
    </item>
  </channel>
</rss>

