Endpoints
Endpoints create a hostname which is required for external cluster connectivity with any tool such as Apache Superset/Tableau Cloud. While creating the endpoints support three types of connectivity:
Direct Connectivity - Direct connectivity enables users to establish connections with external clients. This type of connectivity is recommended for users in Proof of Concept (POC) mode.
TLS Connectivity - TLS connectivity allows the user to connect to external clients by using an e6data Python connector or JDBC drivers to the e6data cluster. This type of connectivity is recommended for enterprise-level users.
Gateway Connectivity - Gateway connectivity allows the user to connect to external clients without direct connectivity enabled. For more information contact e6data support.
Limitations:
The endpoints might take 10 to 12 minutes for the GCP workspace to become ACTIVE.
Gateway-type connectivity only works with low-concurrency rates (up to 20 queries per second)
How to Create an Endpoint?
Creating Endpoints is a two-step process:
Only users with SuperAdmin or DataAdmin privileges can manage Cluster Connectivity.
Create Hostname
Click on the Connectivity option in the left navigation panel
From the dropdown, select Endpoints,
Click on the CREATE option provided in the top right corner
Enter the following details in the create form -
Name: Provide a name to the load balancer
Type of connectivity:
Scheme: Select a scheme as per your requirement.
Select "Internal" when accessing the cluster within the same network boundary (VPC).
Select "Internet-facing" when accessing the cluster in a different network boundary (VPC).
Add tags to help monitor costs associated with the Endpoint components.
Direct connectivity does not require DNS mapping.
Assign DNS to Endpoint
Once the endpoint is created, the status will be updated to Assign DNS to Enpoint, follow the further details to
Click on the name of the endpoint from the listing page
A hostname will be generated. Assign it to your domain using the DNS mapping process.
Once the DNS Mapping process is completed. Fill in the following details -
Domain Name: Provide the sub-domain name.
ACM Certificate ARN: Provide the ACM certificate ARN in the input field. The above endpoint connectivity works only over SSL, hence TLS certificates are required which can be provided through ACM.
Clusters: Select the cluster to which you want to attach the endpoint.
IP Sets: Select the IP Sets for which you would like to connect external tool
After adding all the details to the form, please confirm to delete the existing connection details created via cluster connector. Deleting these details requires the establishment of new cluster connectivity. This action will disconnect the cluster connection with any external tool if any. To reconnect, use the new details to establish a fresh connection between the cluster and the external tool.
Click on Create.
Points to remember
Direct and Gateway types of connectivity can be connected to only one cluster at a time.
TLS type of connectivity can be associated with multiple clusters.
Multiple IP Sets can be connected to each endpoint.
Ensure to attach an IP Set to access the cluster outside the control plane; by default, access is denied.
When creating an endpoint, ensure the cluster is not in use, as the users won't be able to access the cluster, and running queries will fail.
DNS Mapping Process
To add the CNAME record to your preferred domain host, follow the steps below. See your domain host’s documentation for more specific instructions.
Go to your domain’s DNS records.
Add a record to your DNS settings, selecting CNAME as the record type.
Provide the desired subdomain name into the Label or Host field with your DNS records.
Copy the endpoint hostname from above in the Destination/Target field.
Your record should look similar to one of the tables below:
Record type | Label/Host field | Time to Live (TTL) | Destination/Target field |
---|---|---|---|
CNAME | subdomain.XXXXXXXXXXXXXXXX | 600 | <HOSTNAME> |
Save your record. CNAME record changes can take up to 72 hours to go into effect, but typically they happen much sooner.
Edit Endpoint
To edit endpoints, follow the below steps:
Navigate to Endpoint.
Click on the endpoint name that you want to edit
In the edit form, you can update the following fields:
Cost Tags: You can add, update and delete the cost tags.
Domain and ACM certificate: Before editing these two fields, please ensure that you assign the hostname to the domain using the DNS mapping process.
Clusters: You can attach or detach any cluster from the dropdown.
IP Sets: You can attach or detach any IP Set from the dropdown.
Click on Update.
Delete Endpoint
Navigate to Endpoint.
Select a cluster and click on delete.
Confirm and delete the endpoint.
Last updated