Compute Nest allows customers to change the private network access configurations of fully managed service instances based on their business requirements. After a customer creates a service instance, the customer can add, modify, or remove a private connection for the service instance. This topic describes how to change private network access configurations.
Customers can change the network configurations only for fully-managed service instances.
Usage notes
Compute Nest supports two connection modes: PrivateLink and virtual private cloud (VPC) peering connection. Service providers can choose a connection mode based on their business requirements.
VPC peering connection
This mode is applicable only if the deployment of a service instance involves creating a VPC. Service providers must define the parameters for creating a VPC in the deployment template. When a customer creates a service instance, the customer needs to only specify the VPC that the customer wants to connect to the VPC specified in the deployment template by using a peering connection.
VPC peering connections can be added, removed, or modified.
PrivateLink
This mode supports private network interconnection within a zone. The exchanged data is not transmitted over the Internet to ensure higher data security and better network quality. For more information, see What is PrivateLink?
PrivateLink connections can be added, removed, or modified.
Billing
Compute Nest is free of charge. However, service providers are charged for the cloud resources used to deploy services, such as VPC peering connections, Server Load Balancer (SLB) instances, and Elastic Compute Service (ECS) instances. For more information, see Billing.
Change the configurations of a VPC peering connection
This section describes how to enable VPC peering connection configuration change for a service and change the VPC peering connection configurations of a service instance as a service provider.
Create a fully managed service
In this example, only the steps to enable private network access configuration change are shown. For more information about how to create a fully managed service, see Create a fully managed service.
In the Service Deployment section of the Create Service page, select Resource Orchestration Service (ROS) as the deployment method and specify the parameters required for creating a VPC in the Template Content field.
The Resources section of the template must contain a resource of the ALIYUN::ECS::VPC type. Sample code:
Resources: EcsVpc: Type: ALIYUN::ECS::VPC Properties: CidrBlock: Ref: VpcCidrBlockThe Parameters section of the template must contain a CIDR block parameter whose value of
AssociationPropertyisALIYUN::VPC::VPC::CIDRBLOCK. Sample code:Parameters: VpcCidrBlock: Type: String AssociationProperty: ALIYUN::VPC::VSwitch::CidrBlock AllowedValues: - 192.168.0.0/16 - 172.16.0.0/12 - 10.0.0.0/8 Description: en: The IP address range of the VPC in the CIDR block form. zh-cn: 专有网络的网段,可选值:192.168.0.0/16,172.16.0.0/12,10.0.0.0/8。 Default: 192.168.0.0/16
In the Advanced Configuration (Optional) section, enable VPC Access and set the Connection Mode parameter to VPC Peering.

In the Modify Configurations section of the Service O&M (Optional) section, enable Service Instance Configuration Change and click Add Operation. In the Add Operation dialog box, configure the parameters.
Parameter
Description
Select Template
The template for which you want to enable configuration change.
Operation Name
The name of the configuration change operation.
Operation Description
The description of the configuration change operation.
Method
The method of the configuration change operation.
Network Change
The network configuration that can be changed.

Click OK to create and publish the service.
Create a service instance and change the configurations of the service instance
Create a fully managed service instance.
For more information, see Create a fully managed service instance.
Change the configurations of the service instance.
On the details page of the created service instance, click Modify Configuration in the upper-right corner. In the dialog box that appears, select Network Change and click Next to go to the Specify Parameters step.

If no VPC peering connection is configured for the service instance, click Add Peering Connection and select or create a VPC.
ImportantThe CIDR block of the VPC that you select cannot overlap with those of the VPCs for which you already created peering connections or the VPC of the service instance.
You can add multiple peering connections. The CIDR blocks of the peering connections cannot overlap.

Click Next to preview and confirm the parameters and then click OK.
After the configurations are changed, the service instance enters the Deployed state. The information about the added peering connection is displayed on the Network Settings tab.
Page displayed before the configuration change:

Page displayed after the configuration change:

Change the configurations of PrivateLink
This section describes how to enable PrivateLink configuration change for a service and change the PrivateLink configurations of a service instance as a service provider.
Create a fully managed service
In this example, only the steps to enable private network access configuration change are shown. For more information about how to create a fully managed service, see Create a fully managed service.
On the Create Service page, configure the service information.
In the Advanced Configuration (Optional) section, enable VPC Access, set the Connection Mode parameter to PrivateLink, and then select the resource to be accessed from the drop-down list.
NoteYou can select SLB Instance or Endpoint Service from the drop-down list. In this example, SLB Instance is selected. For more information, see Configure VPC access for a service.

In the Modify Configurations section of the Service O&M (Optional) section, enable Service Instance Configuration Change and click Add Operation. In the Add Operation dialog box, configure the parameters.
Parameter
Description
Select Template
The template for which you want to enable configuration change.
Operation Name
The name of the configuration change operation.
Operation Description
The description of the configuration change operation.
Method
The method of the configuration change operation.
Network Change
The network configuration that can be changed. If you have configured a custom domain name, we recommend that you select both Change VPC Access and Change Custom Domain Name.
Click OK to create and publish the service.
Create a service instance and change the configurations of the service instance
Create a fully managed service instance.
For more information, see Create a fully managed service instance.
Change the configurations of the service instance.
On the details page of the created service instance, click Modify Configuration in the upper-right corner. In the dialog box that appears, select Network Change and click Next to go to the Specify Parameters step.
In the Specify Parameters step, change the configurations. In this example, a VPC is added and custom domain name is enabled.

Click Next to preview and confirm the parameters and then click OK.

After the configurations are changed, the service instance enters the Deployed state. The information about the added VPC is displayed on the Network Settings tab.