<?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: How to connect to AWS Custom VPC endpoint in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/how-to-connect-to-aws-custom-vpc-endpoint/m-p/144055#M4733</link>
    <description>&lt;DIV&gt;“&lt;STRONG&gt;Connection refused&lt;/STRONG&gt;” means the TCP handshake reached your endpoint ENI and the backend actively rejected the connection. That’s different from a timeout (routing/DNS), so your PrivateLink plumbing and DNS are &lt;EM&gt;mostly&lt;/EM&gt; correct.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Short fixes you can try:&lt;/DIV&gt;&lt;DIV&gt;1. Add your VPC Endpoint to ALL Databricks private subnets / AZs&lt;BR /&gt;In AWS Console → VPC → Endpoints → your endpoint → Edit subnets →&lt;BR /&gt;Add subnets for every AZ where Databricks private subnets exist.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;2. Update SGs&lt;BR /&gt;On both:&lt;/P&gt;&lt;P&gt;the VPC Endpoint SG, and&lt;BR /&gt;the backend SG (RDS Proxy or EC2 proxy)&lt;/P&gt;&lt;P&gt;Allow inbound:&lt;/P&gt;&lt;P&gt;Source: Databricks Cluster Security Group&lt;BR /&gt;Port: 5432&lt;/P&gt;&lt;P&gt;3. Ensure backend is actually listening&lt;BR /&gt;If using RDS:&lt;BR /&gt;You cannot target the RDS instance directly — use RDS Proxy or an EC2 TCP proxy.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;99% of cases are fixed by:&lt;BR /&gt;Adding endpoint ENIs to all AZs&lt;BR /&gt;Fixing backend SG to allow Databricks SG&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 14 Jan 2026 15:26:12 GMT</pubDate>
    <dc:creator>nayan_wylde</dc:creator>
    <dc:date>2026-01-14T15:26:12Z</dc:date>
    <item>
      <title>How to connect to AWS Custom VPC endpoint</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-connect-to-aws-custom-vpc-endpoint/m-p/144049#M4732</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could somebody help me with the connection issue to my VPC endpoint&lt;/P&gt;&lt;P&gt;I have created a customer-managed VPC in AWS and setup new workspace with that VPC. There is an RDS&amp;nbsp; in other vpc that I want to connect from Databricks, and I have created a VPC endpoint service (in RDS VPC) and a VPC endpoint (in Databricks VPC).&lt;/P&gt;&lt;P&gt;But - i can't connect to this VPC endpoint from Databricks:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;%sh&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;nc &lt;/SPAN&gt;&lt;SPAN&gt;-vz&lt;/SPAN&gt;&lt;SPAN&gt; vpce-xxxx.vpce-svc-xxxx.eu-west-1.vpce.amazonaws.com 5432&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vpce-xxxx.vpce-svc-xxxx.eu-west-1.vpce.amazonaws.com [10.0.xxx.xxx] 5432 (postgresql) : Connection refused&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have tried to create ec2 instance with the same security group as Databricks, and i can connect to vpc endpoint&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;What im doing wrong? Will be appreciated if somebody can share knowledge on usign custom VPC endpoint with databricks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Jan 2026 14:41:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-connect-to-aws-custom-vpc-endpoint/m-p/144049#M4732</guid>
      <dc:creator>alex_data</dc:creator>
      <dc:date>2026-01-14T14:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to AWS Custom VPC endpoint</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-connect-to-aws-custom-vpc-endpoint/m-p/144055#M4733</link>
      <description>&lt;DIV&gt;“&lt;STRONG&gt;Connection refused&lt;/STRONG&gt;” means the TCP handshake reached your endpoint ENI and the backend actively rejected the connection. That’s different from a timeout (routing/DNS), so your PrivateLink plumbing and DNS are &lt;EM&gt;mostly&lt;/EM&gt; correct.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Short fixes you can try:&lt;/DIV&gt;&lt;DIV&gt;1. Add your VPC Endpoint to ALL Databricks private subnets / AZs&lt;BR /&gt;In AWS Console → VPC → Endpoints → your endpoint → Edit subnets →&lt;BR /&gt;Add subnets for every AZ where Databricks private subnets exist.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;2. Update SGs&lt;BR /&gt;On both:&lt;/P&gt;&lt;P&gt;the VPC Endpoint SG, and&lt;BR /&gt;the backend SG (RDS Proxy or EC2 proxy)&lt;/P&gt;&lt;P&gt;Allow inbound:&lt;/P&gt;&lt;P&gt;Source: Databricks Cluster Security Group&lt;BR /&gt;Port: 5432&lt;/P&gt;&lt;P&gt;3. Ensure backend is actually listening&lt;BR /&gt;If using RDS:&lt;BR /&gt;You cannot target the RDS instance directly — use RDS Proxy or an EC2 TCP proxy.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;99% of cases are fixed by:&lt;BR /&gt;Adding endpoint ENIs to all AZs&lt;BR /&gt;Fixing backend SG to allow Databricks SG&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Jan 2026 15:26:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-connect-to-aws-custom-vpc-endpoint/m-p/144055#M4733</guid>
      <dc:creator>nayan_wylde</dc:creator>
      <dc:date>2026-01-14T15:26:12Z</dc:date>
    </item>
  </channel>
</rss>

