Add an AWS PrivateLink Connection
- how-to
Add an AWS PrivateLink connection that peers your Amazon Web Service (AWS) network with the Couchbase AI Data Plane using AWS as its cloud provider.
| To link a Capella operational cluster with a model on the Model Service, you only need to enable private networking. You do not have to perform any other configuration, the Couchbase AI Data Plane handles the connection automatically. |
Private endpoints for the Couchbase AI Data Plane are region-based. You’re linking the AWS region for your AI Data Plane features to your AWS VPC.
A single private endpoint can be shared by all your AI Data Plane features, as long as the models they access are deployed in the same region. For example, you can deploy multiple models within the same AWS region and use 1 private endpoint to link them all. You do not need to create a separate private endpoint for each model.
You can create another private endpoint when:
-
You need to connect your AI Data Plane AWS region to an application in a different AWS VPC.
-
You deploy a model with a new AWS region. AI Data Plane features using models deployed in different regions need to add their own private endpoints.
Prerequisites
To use AWS PrivateLink with the AI Data Plane, you need:
-
A deployed AI Data Plane model with:
-
The same AWS region as your AWS VPC.
For more information about AI Data Plane models, see Deploy an Embedding Model or Deploy a Large Language Model (LLM).
-
-
The
Organization Ownerrole assigned to your user account. -
Information about your AWS network, including:
-
The AWS VPC ID.
-
The AWS Subnet ID of each of the subnets.
-
-
The AWS Command Line Interface (CLI) installed and configured.
-
You have logged in to and have access to the AWS VPC console.
Procedure
To add an AWS PrivateLink connection, you need to:
To get started, open the Capella UI, the AWS command line interface, and the AWS VPC console.
Enable Private Endpoints
In the AI Data Plane, enable Private Endpoints:
| Enabling Private Endpoints bills your account hourly for AWS PrivateLink until you turn off this option. |
-
Go to .
-
Find the region you want and click Enable Private Endpoint.
It can take several minutes for the AI Data Plane to enable private endpoints.
Add a Private Endpoint
To add a private endpoint:
-
Click the AWS region with the enabled private endpoint.
-
Click Add Private Endpoint.
-
In the Provide Private Endpoint Details section, add the following information:
Field Value VPC ID
Enter your AWS VPC ID.
Subnet IDs
Enter each Subnet ID and separate them with a comma.
Before you complete your AWS PrivateLink connection, confirm that the port 8081 is open on your AWS VPC. -
Click Get Script.
-
Download and run the shell script provided by the AI Data Plane:
-
In the Run the following script area, click the download icon to download the shell script.
-
Using the AWS CLI, run the downloaded shell script.
This script contains the command to create the private endpoint in your chosen AWS VPC. When successful, the provisioning details output appears as follows:
{ "VpcEndpoint": { "VpcEndpointId": "vpce-1234567890abcdef0", "VpcEndpointType": "Interface", "VpcId": "vpc-1234567890abcdef0", "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-abcdef1234567890", "State": "pendingAcceptance", "RouteTableIds": [], "SubnetIds": [ "subnet-abcdef1234567890" ], "Groups": [ { "GroupId": "sg-abcdef1234567890", "GroupName": "default" } ], "IpAddressType": "ipv4", "DnsOptions": { "DnsRecordIpType": "ipv4" }, "PrivateDnsEnabled": false, "RequesterManaged": false, "NetworkInterfaceIds": [ "eni-abcdef1234567890" ], "DnsEntries": [ { "DnsName": "vpce-1234567890abcdef0-xyzabcde.vpce-svc-abcdef1234567890.us-east-1.vpce.amazonaws.com", "HostedZoneId": "ZABCDEFG123456" }, { "DnsName": "vpce-1234567890abcdef0-xyzabcde-us-east-1a.vpce-svc-abcdef1234567890.us-east-1.vpce.amazonaws.com", "HostedZoneId": "ZABCDEFG123456" } ], "CreationTimestamp": "2025-09-25T21:47:35.463000+00:00", "OwnerId": "123456789012" } }
-
-
In Capella, the new interface endpoint is now shown and has a Pending Acceptance status. Click the Accept button.
Configure Your AWS VPC Console Settings
In the AWS VPC console, you need to:
Enable Private DNS Names
To enable private DNS names for the new endpoint:
-
In the navigation pane, click Endpoints.
-
With your endpoint selected, click .
-
On the Modify private DNS name screen, select Enable for this endpoint.
-
Click Save changes.
Edit VPC Settings
To edit your VPC settings:
-
In the navigation pane, click Your VPCs.
-
With your VPC selected, click .
-
In the Edit VPC settings dialog, select Enable DNS resolution and Enable DNS hostnames.
-
Click Save.
-
With the Your VPCs page open, find and record the IPv4 CIDR value for your VPC. You need this for later steps.
Add an Inbound Rule
To add an inbound rule for the private endpoint:
-
In the navigation pane, click Endpoints.
-
Select your endpoint.
-
In the Security groups panel, click the Group ID link. This link is to your default VPC security group.
-
With the security group open to the Inbound rules panel, click Edit inbound rules.
-
In the Edit inbound rules dialog, add the VPC IPv4 CIDR you recorded earlier and use the following port:
-
8081
-
-
Click Save rules.
Configure Inbound and Outbound Network ACL Rules
To configure your network access control list (ACL) with an Inbound and Outbound rule:
-
In the navigation pane, click Network ACLs.
-
On the Network ACLs page, select the Network ACL associated with your VPC.
-
Configure your inbound rule:
-
Click .
-
On the Edit inbound rules page, specify the following for a new inbound rule:
Field Value Source
Your VPC IPv4 CIDR.
Type
All traffic
Port range
All
Before selecting All trafficas an inbound rule, consult with your security team and confirm that your private link meets security standards. For any further questions or concerns, contact Couchbase Support. -
Click Save changes.
-
-
Configure your outbound rule:
-
Click .
-
On the Edit outbound rules page, specify the following for the new outbound rule:
Field Value Type
Custom TCP
Port range
1024-65535Destination
Your VPC IPv4 CIDR.
-
Click Save Changes.
-