Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
Connect to MongoDB® using AWS PrivateLink
On this page
SingleStore supports connecting to a MongoDB® instance via AWS PrivateLink.
To replicate your existing MongoDB® collections using CDC-in pipelines via AWS PrivateLink, refer to Replicate MongoDB® Collections via AWS PrivateLink.
Prerequisites
-
Create a SingleStore Kai-enabled cluster.
Refer to Getting Started with SingleStore Kai for related information. -
The cluster must be deployed in an AWS region.
Configure the Connection
To connect to the MongoDB® instance using AWS PrivateLink:
-
Copy the VPC Endpoint Service Name from the SingleStore Helios Cloud Portal.
-
On the Cloud Portal, select Clusters in the left navigation pane.
-
Select the three dots under the Actions column for your cluster, and select Access & Security from the list.
-
On the Access tab, under Private Links, select Create Connection.
-
On the Create Connection dialog, select MongoDB® Endpoint.
-
Copy and store the VPC Endpoint Service Name.
-
(Optional) Keep the Create Connection dialog open to enter the VPC endpoint ID of your AWS private endpoint created in the next step.
-
-
Create a private endpoint on the Amazon VPC console.
While configuring the connection, perform the following tasks: -
Attach the MongoDB® instance to the target group of your AWS service.
-
Use the Service Name copied in the previous step.
-
Allow incoming connections to TCP port
27017of your private endpoint. -
Copy and store the VPC Endpoint ID of your private endpoint.
-
-
Configure an inbound connection on the Cloud Portal.
On the Create Connection dialog from the first step, configure the following: -
Endpoint: Select MongoDB® Endpoint.
-
VPC Endpoint ID: Enter the VPC endpoint ID of your AWS private endpoint.
-
-
Select Create Connection.
The connection is ready to use once it is in ACTIVE state.
mongodb://<username>:<password>@<vpc-endpoint>:27017/?authMechanism=PLAIN&tls=true&loadBalanced=true&tlsAllowInvalidHostnames=true&tlsAllowInvalidCertificates=trueRefer to Connect to SingleStore Helios using AWS PrivateLink for more information.
Last modified: