You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/private-networking/overview.mdx
+10-24Lines changed: 10 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,26 +44,16 @@ When you add a private connection in the dashboard, the following happens:
44
44
<Steptitle="We provision a VPC Endpoint">
45
45
Once you submit the endpoint service name in the Trigger.dev dashboard, we provision a VPC Endpoint in our isolated, customer-PrivateLink AWS account in the region you chose. The endpoint creates ENIs with private IPs that we wire up to reach your service.
46
46
</Step>
47
-
<Steptitle="We inject endpoint info into your tasks">
48
-
The endpoint's IP addresses are injected as environment variables into the pods that run your tasks. Your task code reads them like any other env var to dial into your resource.
47
+
<Steptitle="Your tasks can reach the endpoint">
48
+
Once the connection is **Active**, the dashboard shows the assigned IPs (one per Availability Zone) and a copyable DNS endpoint name. Pods running your tasks are network-authorized to connect to those addresses.
49
49
</Step>
50
50
</Steps>
51
51
52
52
### Connecting from your task code
53
53
54
-
Each connection you create gets a friendly name. We expose its IPs via an environment variable derived from that name:
54
+
When the connection becomes **Active**, the dashboard shows the assigned endpoint IPs and a copyable DNS endpoint name that resolves to those IPs from inside our worker network.
Use it in your task like any other connection string fragment:
56
+
Plug whichever you prefer into the connection-string env var your task already reads (for example, `DATABASE_URL` set in the **Environment Variables** page):
0 commit comments