Configure an endpoint and connect
Configure an endpoint in a private network and associate it with an endpoint service, specifically the secure storage space of Alibaba Cloud Model Studio. This establishes a private connection to access external services, which avoids the security risks of public network access. Once connected, applications deployed in the secure storage space can access cloud product components that reside in the same private network as the endpoint, such as Elasticsearch, AnalyticDB (ADB), and OSS buckets.
Applicability
This document applies to users with an activated Alibaba Cloud Model Studio Secure Storage workspace. To learn how to activate the workspace, contact your account manager.
Prerequisites
-
You have an activated Alibaba Cloud Model Studio Secure Storage workspace.
-
You have a Virtual Private Cloud (VPC) configured for private network access to Alibaba Cloud Model Studio, along with its name and security group information.
-
The VPC must meet the following requirements:
- Public cloud: The region of the VPC must be China (Beijing). The VPC must span at least two of the following availability zones: G, H, and L. Each of these zones requires at least one vSwitch.
-
The security group must not have any inbound or outbound rules configured. Do not place any other cloud components in this security group.
-
Step 1: Create a secure storage workspace
-
Go to the Workspace Management page.
-
Click Add Workspace. Enter a custom name for the workspace, select Secure Storage Space for Workspace Type, and then click OK, which redirects you to the Endpoint Configuration page.
The status of the secure storage space changes to "Unavailable".
-
Click Add Now to create a reverse endpoint.
Step 2: Create a reverse endpoint (public cloud example)
-
Log on to the Endpoint Console.
-
In the top navigation bar, select the China (Beijing) region.
-
In the left-side navigation pane, click Endpoint to go to the endpoint settings page.
-
Select the Reverse Endpoint tab.
-
If this is your first time using the reverse endpoint service, click Enable PrivateLink, and then click Enable PrivateLink in the dialog box that appears.
-
Click Create Endpoint and configure the following parameters. You can keep the default values for other parameters.
Parameter
Value
Region
Select China (Beijing).
Endpoint Name
Enter a custom name. Use a clear naming convention to easily identify the endpoint's purpose.
Example: Private connection for Alibaba Cloud Model Studio secure storage.
Endpoint Type
Select Reverse Endpoint.
Endpoint Service
If you are activating an Alibaba Cloud Model Studio Secure Storage workspace for the first time: The system automatically generates an endpoint service name after you activate the workspace. Select Other Endpoint Services and then click Click to verify to validate the address.
In other scenarios: Click Select an available service and choose an available endpoint service under your account.
Select the endpoint service with the description Alibaba Cloud Model Studio public cloud production environment - Beijing site - secure storage space private network channel access point. Its Service Resource Type is VPC NAT gateway, Service Type is Reverse, and IP Version is IPv4.
VPC
Select the VPC, security group, availability zones, and vSwitches specified in the Prerequisites section.
Security Group
Zones and Switches
-
Click Create to complete the creation.
The Connection Status is now Not Connected, indicating that the endpoint is not yet connected to Alibaba Cloud Model Studio.
Step 3: Confirm the connection
- Go to the Workspace Management page.
- Find the Alibaba Cloud Model Studio Secure Storage workspace you created. In the Actions column, click Manage Model Studio Secure Storage.
- Select the endpoint that you created and click Connect to establish the private connection.
- The connection process takes a few moments. When the Status changes to Connected, the private connection is established.