After you create an AnalyticDB for PostgreSQL Supabase project, you may need public network access for features such as AUTH, email sending, or Edge Functions. You can enable this access by associating an Elastic IP Address (EIP) with the project's Elastic Network Interface (ENI). This topic describes the configuration steps.
Billing
For more information about EIP billing, see Billing overview.
Procedure
Log on to the EIP console and create an Elastic IP Address.
ImportantThe EIP and the AnalyticDB for PostgreSQL Supabase project must be in the same region. For more information about EIP configuration parameters, see Elastic IP Address.
Click Associate with Resource in the Actions column of the target EIP.
Configure the binding information.
For Instance Type, select ENI.
For Association Mode, select NAT Mode.
Select the project to associate.
Filter the list by the vSwitch ID of your AnalyticDB for PostgreSQL Supabase project. Then, find and select the target ENI.
Click the network interface ID to open its details page.

Hover your pointer over the tag. If the displayed ID matches the ID of your AnalyticDB for PostgreSQL Supabase project, it is the correct network interface.

Click OK.
Verification
You can verify public network access using features like Auth, email sending, or Edge Functions. This section uses email sending as an example.
Log on to the Supabase Dashboard. In the sidebar, click Authentication > Users.
On the Users page, click Add user in the upper-right corner, and select Send invitation.

Enter a test email address and send the email. If the email is sent successfully, public network access is configured correctly.
References
Alternatively, you can enable an Internet NAT gateway for the VPC hosting your AnalyticDB for PostgreSQL instance, then create an SNAT entry for your Supabase project’s VPC or vSwitch to enable public network access. Creating an Internet NAT gateway incurs fees. For more information, see NAT Gateway billing.