You can specify whether an endpoint service accepts or rejects connection requests from an endpoint, and modify the bandwidth of an endpoint connection. After the endpoint connection requests are accepted, the endpoint can access the service resources of the endpoint service over private networks.
Prerequisites
An endpoint is created. For more information, see the Create an endpoint section of the Create and manage endpoints topic.
An endpoint service is created. For more information, see the Create an endpoint service section of the Create and manage endpoint services topic.
Specify whether to automatically accept endpoint connection requests
You can specify whether an endpoint service automatically accepts connection requests based on your business requirements. If an endpoint service is set to automatically accept endpoint connection requests, the endpoint service automatically accepts connection requests from endpoints.
- Log on to the endpoint service console.
In the top navigation bar, select the region where the endpoint service is deployed.
On the Endpoint Service page, find the endpoint service that you want to manage and click its instance ID.
In the Basic Information section of the page that appears, click Enable or Disable next to Automatically Accept Connections.
Enable: After you create an endpoint that is associated with the endpoint service, the endpoint service automatically accepts the connection requests from the endpoint. You can use the endpoint to access the service resources of the endpoint service.
Disable: After you create an endpoint that is associated with the endpoint service, the endpoint connection is in the Disconnected state. You cannot use the endpoint to access the service resources of the endpoint service.
In the message that appears, click OK.
Manually accept connection requests
If an endpoint service is not set to automatically accept endpoint connection requests, you must manually accept endpoint connection requests.
Before you accept a connection request, make sure that the endpoint connection is in the Disconnected state.
After you accept the connection request from an endpoint, the state of the endpoint connection changes to Connected.
- Log on to the endpoint service console.
In the top navigation bar, select the region where the endpoint service is deployed.
On the Endpoint Service page, find the endpoint service that you want to manage and click its instance ID.
On the details page of the endpoint service, click the Endpoint Connections tab, find the endpoint that you want to manage, and then click Allow in the Actions column.
In the Allow Connection message, click OK.
Modify the bandwidth of an endpoint connection
If Classic Load Balancer (CLB) or Application Load Balancer (ALB) instances are specified as service resources, the default bandwidth of endpoint connections is 3,072 Mbit/s. You can modify the bandwidth based on your business requirements. If Network Load Balancer (NLB) instances are specified as service resources, the bandwidth of endpoint connections cannot be modified.
- Log on to the endpoint service console.
In the top navigation bar, select the region where the endpoint service is deployed.
On the Endpoint Service page, find the endpoint service that you want to manage and click its instance ID.
On the details page of the endpoint service, click the Endpoint Connections tab, find the endpoint that you want to manage, and then click Adjust Speed Limit in the Actions column.
In the Set Default Speed Limit dialog box, enter a bandwidth value and click OK.
Valid values: 100 to 5120.
NoteWhen the endpoint connects to the endpoint service, the value of the default bandwidth is the minimum value.
For example, if you set the bandwidth to 200 Mbit/s, the bandwidth ranges from 200 to 5,120 Mbit/s when the endpoint connects to the endpoint service.
If you do not set the bandwidth, the default bandwidth 3,072 Mbit/s is used. The bandwidth ranges from 3,072 to 5,120 Mbit/s when the endpoint connects to the endpoint service.
Reject endpoint connection requests
You can manually reject endpoint connection requests to an endpoint service. After you reject a connection request from an endpoint, you cannot use the endpoint to access the service resources of the endpoint service.
Before you reject an endpoint connection request, make sure that the endpoint connection is in the Connected state.
After you reject the endpoint connection request, the state of the endpoint connection changes to Disconnected.
- Log on to the endpoint service console.
In the top navigation bar, select the region where the endpoint service is deployed.
On the Endpoint Service page, find the endpoint service that you want to manage and click its instance ID.
On the details page of the endpoint service, click the Endpoint Connections tab, find the endpoint that you want to manage, and then click Deny in the Actions column.
In the Deny Connection message, click OK.
References
EnableVpcEndpointConnection: accepts connection requests from an endpoint.
UpdateVpcEndpointConnectionAttribute: modifies the bandwidth of an endpoint connection.
DisableVpcEndpointConnection: rejects a connection request from an endpoint.