An endpoint elastic network interface (ENI) serves as an ingress for a virtual private cloud (VPC) of a service consumer. The VPC sends all access requests to the endpoint ENI. When you add a zone for an endpoint, the system automatically creates an endpoint ENI, which is assigned a private IP address in the CIDR block of the vSwitch in the VPC. All access requests sent to the endpoint ENI are forwarded to the service resources in the same zone provided by the service provider over private connections. You can use the private IP address of the endpoint ENI or the domain name of the endpoint to access the associated endpoint service.
Prerequisites
An endpoint is created. For more information, see Create and manage endpoints.
Create an endpoint ENI
When you create an endpoint ENI, make sure that a service resource of the endpoint service is deployed in the zone you select and that a vSwitch is created in the zone. For more information, see the "Create a vSwitch" section in the Create and manage a vSwitch topic.
- Log on to the endpoint console.
In the top navigation bar, select the region where the endpoint is deployed.
Click Endpoints in the left-side navigation pane. On the Endpoints page, find the endpoint that you want to manage and click its instance ID.
On the endpoint details page, click the Zone and ENI tab, and then click Add Zone.
In the Add Zone dialog box, select the zone and the vSwitch to which the endpoint ENI belongs, and then click OK.
Delete an endpoint ENI
After you delete all ENIs of an endpoint, the VPC of the endpoint will be unable to access the associated endpoint service. Exercise caution when you perform this operation.
- Log on to the endpoint console.
In the top navigation bar, select the region where the endpoint is deployed.
Click Endpoints in the left-side navigation pane. On the Endpoints page, find the endpoint that you want to manage and click its instance ID.
On the endpoint details page, click the Zone and ENI tab. Find the endpoint ENI that you want to delete and click Delete in the Actions column.
In the Remove Zone message, click OK.
References
AddZoneToVpcEndpoint: adds a zone for an endpoint.
RemoveZoneFromVpcEndpoint: deletes a zone of an endpoint.