跳至內容

How can I delete VPC Endpoint?

0

These are my settings

vpc resource map security groups

I tried to delete my VPC.

vpc delete trial

It said, I have to delete 'network interface' first.

network interface delete trial

So, I tried to, but it said, I have to delete 'vpc_endpoint' first. vpc_endpoint delete trial

I entered '삭제(delete)', but error occurred. but.. I can't

error message is : vpce-04c224b541c5f78d7 - Operation is not allowed for requester-managed VPC endpoints for the service com.amazonaws.vpce.ap-northeast-2.vpce-svc-01c82284e261482e4.

These are my rds settings. Please check, if these are helpful to solve my problem... =( rds dashboard can't delete snapshots

已提問 5 個月前檢視次數 132 次
2 個答案
1

Hello.

When you created RDS, did you create an RDS Proxy at the same time?
If so, RDS Proxy created a VPC endpoint, so deleting RDS Proxy should also delete the VPC endpoint.
Also, since resources other than RDS Proxy may be related, I recommend trying the method of searching CloudTrail event history described in the following document to check.
https://repost.aws/knowledge-center/vpc-delete-requester-managed-endpoint

專家
已回答 5 個月前
專家
已審閱 5 個月前
-2
已接受的答案

To delete a VPC endpoint, especially a requester-managed one, you need to follow a specific process:

  1. Identify the AWS service using the VPC endpoint. In your case, it appears to be related to your RDS instance.

  2. Delete the associated RDS instance from the RDS dashboard. Make sure to take a final snapshot if you need to preserve your data.

  3. Wait for a few minutes after deleting the RDS instance. AWS should automatically remove the associated VPC endpoint.

  4. Check the VPC dashboard to see if the problematic VPC endpoint has been removed.

  5. If the endpoint is gone, try deleting the network interfaces.

  6. After successfully deleting the network interfaces, you should be able to delete the VPC.

  7. Also, delete any RDS snapshots that you're unable to remove, as these might prevent VPC deletion.

  8. Ensure all other resources in the VPC (like EC2 instances, NAT gateways) are deleted before attempting to delete the VPC itself.

If you still face issues after following these steps, you may need to contact AWS support for further assistance. Always be cautious when deleting resources and ensure you have backups of important data before proceeding with deletions.
Sources
Delete an interface endpoint - Amazon Virtual Private Cloud
Manage resource endpoints - Amazon Virtual Private Cloud
DeleteVpcEndpoints - Amazon Elastic Compute Cloud

已回答 5 個月前
專家
已審閱 5 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。