Deleting a Net Access Point
You can delete a Net access point that you no longer need. This action also deletes the corresponding routes in the route table associated with the Net access point.
Once the Net access point is deleted, traffic cannot be directly routed to the corresponding service using this private connection anymore.
Deleting a Net Access Point Using Cockpit v2
-
Click inside the Net Access Points dashboard to make checkboxes appear.
-
Check the box of the Net access point you want to delete.
Multiselection is available.
The Net access point is selected and an action menu appears.
-
Click
Delete.
A confirmation dialog box appears. -
Click Delete.
The Net access point is deleted.Deleted resources remain visible for 1 hour.
Deleting a VPC Endpoint Using Cockpit v1
Cockpit v1 is no longer fixed nor supported. Cockpit v1 is no longer available in the cloudgouv-eu-west-1 Region. For more information, see End-of-Life Policy. |
-
Click VPC > VPC Endpoints.
-
Click the VPC endpoint you want to delete.
Multiselection is available.
The VPC endpoint is selected.
-
Click Delete .
The DELETE ROUTE TABLE(S) dialog box appears. -
Click Delete to validate.
The VPC endpoint is deleted and no longer appears on the VPC Endpoints page.Deleted resources remain visible for 1 hour.
Deleting a Net Access Point Using OSC CLI
The DeleteNetAccessPoint command deletes a specified Net access point.
This action also deletes the corresponding routes added to the route tables you specified for the Net access point.
$ osc-cli api DeleteNetAccessPoint --profile "default" \
--NetAccessPointId "vpce-12345678"
This command contains the following attributes that you need to specify:
-
DryRun
: (optional) If true, checks whether you have the required permissions to perform the action. -
NetAccessPointId
: The ID of the Net access point.
The DeleteNetAccessPoint command returns the following elements:
-
ResponseContext
: Information about the context of the response.-
RequestId
: The ID of the request.
-
{
"ResponseContext": {
"RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
}
}
Deleting a VPC Endpoint Using AWS CLI
To delete one or more VPC endpoints, use the delete-vpc-endpoints command following this syntax:
$ aws ec2 delete-vpc-endpoints \
--profile YOUR_PROFILE \
--vpc-endpoint-ids vpce-12345678 \
--endpoint https://fcu.eu-west-2.outscale.com
This command contains the following attributes that you need to specify:
-
(optional)
profile
: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI. -
vpc-endpoints-ids
: One or more IDs of VPC endpoints you want to delete. -
endpoint
: The endpoint corresponding to the Region you want to send the request to.
The delete-vpc-endpoints command returns the following element:
-
Unsuccessful
: If the request is partially successful or is unsuccessful, a list of IDs of resources that are not deleted with the corresponding error message. If the request is successful, this list is empty.
{
"Unsuccessful": []
}
Related Pages
Corresponding API Methods
AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.