Configure Custom Service and Use Service Network Interface Card (SNIC) to Provide Service for Other VPCs
Updated at:2025-10-16
Overview
This document explains how to use service endpoints and service network interface cards to build self-hosted services and provide services to other VPCs.
Preparation
- For publishing a service: Users need to set up a service environment that includes a VPC, a subnet, and a private load balancer with the services deployed within the VPC.
- For receiving a service: Users need to set up a VPC and a subnet.
Operation steps
1. Create a service distribution point
Service account:
- Navigate to the load balancer product page, click Service Publishing Points in the left navigation bar to access the Service Publishing Points List page.
- Click Create a Service Distribution Point
- Choose the BLB associated with the service you want to publish under Associate BLB.
-
Under publish permissions:
- To be visible to all users: select All Users → Allow
- To make the service visible to specific users: Select Custom - Allow and add the user IDs you want to grant access to in the provided list.
- To restrict specific users: Select Custom - Deny and add the user IDs you want to block in the provided list.
- To disable for all users: Select All Users - Deny Permission settings can be modified later in the Service Publishing Point list.
2. Create service network interface card
Client Account:
- Navigate to the Virtual Private Cloud Product page, click Service Network Interface Card in the left navigation bar to access the Service Network Interface Card List page
- Click on Create Service Network Interface Card.
- Choose Custom Service in the Mount Service section.
- Under Custom Service, input the Service Domain Name of the endpoint created in the initial step.
- After configuring other necessary options, click Confirm Order.
- If the current client account is listed in the Permission list of the service created in the initial step, the service network interface card will be accessible as expected.
3. Manage permissions for service publishing points.
Service account:
- Navigate to the load balancer product page, click Service Publishing Points in the left navigation bar to access the Service Publishing Points List page.
- To update service access permissions, click on Manage Publishing Permissions in the right-hand operation column of the respective service publishing point.
- Here, users can add new permissions or update/delete existing ones.
