スキップしてコンテンツを表示

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ヶ月前133ビュー
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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ