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: modules/networking/pages/serverless/aws/privatelink-ui.adoc
+135-1Lines changed: 135 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,13 +43,147 @@ Do not configure forwarding rules to target the VPC's Amazon-provided DNS resolv
43
43
44
44
== Enable endpoint service for existing clusters
45
45
46
-
If you do not already have a PrivateLink resource for your cluster's resource group and region, create one at the organization level on the *Networking* page. For Serverless clusters, click **Create PrivateLink**.
46
+
If you do not already have a PrivateLink resource for your cluster's resource group and region, create one at the organization level on the Networking page. For Serverless clusters, click **Create PrivateLink**.
47
47
48
48
. Select your https://cloud.redpanda.com/clusters[cluster^], and go to the *Cluster settings* page.
49
49
. Under Networking, select **Private Access** and then select an existing PrivateLink.
50
50
51
51
NOTE: For help with issues enabling PrivateLink, contact https://support.redpanda.com/hc/en-us/requests/new[Redpanda support^].
52
52
53
+
== Configure PrivateLink connection to Redpanda Cloud
54
+
55
+
When you have a PrivateLink-enabled cluster, you can create an endpoint to connect your VPC and your cluster.
56
+
57
+
=== Get cluster domain
58
+
59
+
Get the domain (`cluster_domain`) of the cluster from the cluster details in the Redpanda Cloud Console.
60
+
61
+
For example, if the bootstrap server URL is: `cki01qgth38kk81ard3g.any.us-east-1.aw.priv.prd.cloud.redpanda.com:9092`, then `cluster_domain` is: `cki01qgth38kk81ard3g.any.us-east-1.aw.priv.prd.cloud.redpanda.com`.
62
+
63
+
[,bash]
64
+
----
65
+
CLUSTER_DOMAIN=<cluster_domain>
66
+
----
67
+
68
+
NOTE: Use `<cluster_domain>` as the domain you target with your DNS conditional forward (optionally also `*.<cluster_domain>` if your DNS platform requires a wildcard).
69
+
70
+
=== Get name of PrivateLink endpoint service
71
+
72
+
The service name is required to <<create-vpc-endpoint,create VPC private endpoints>>. You can find the service name in the Redpanda Cloud Console on the Networking page, or by using the Redpanda Cloud API.
73
+
74
+
[,bash]
75
+
----
76
+
PL_SERVICE_NAME=<vpc_endpoint_service_name>
77
+
----
78
+
79
+
=== Create client VPC
80
+
81
+
If you are not using an existing VPC, you must create a new one.
82
+
83
+
The VPC region must be the same region where the Redpanda cluster is deployed. To create the VPC, run:
84
+
85
+
[,bash]
86
+
----
87
+
# See https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html for
These commands enable DNS hostnames and resolution for instances in the VPC.
114
+
115
+
=== Create security group
116
+
117
+
You need the security group ID `security_group_id` from the command output to <<add-security-group-rules,add security group rules>>. To create a security group, run:
You need the subnet ID `subnet_id` from the command output to <<create-vpc-endpoint,create a VPC endpoint>>. Run the following command, specifying the subnet availability zone (for example, `usw2-az1`):
The following example shows how to create the VPC endpoint:
173
+
174
+
[,bash]
175
+
----
176
+
aws ec2 create-vpc-endpoint \
177
+
--region $REGION --profile $PROFILE \
178
+
--vpc-id $CLIENT_VPC_ID \
179
+
--vpc-endpoint-type "Interface" \
180
+
--ip-address-type "ipv4" \
181
+
--service-name $PL_SERVICE_NAME \
182
+
--subnet-ids $SUBNET_ID \
183
+
--security-group-ids $SECURITY_GROUP_ID \
184
+
--private-dns-enabled
185
+
----
186
+
53
187
== Access Redpanda services through VPC endpoint
54
188
55
189
After you have enabled PrivateLink for your cluster, your connection URLs are available in the *How to Connect* section of the cluster overview in the Redpanda Cloud Console.
0 commit comments