Skip to content

Unable to delete VPC endpoint

0

I am unable to delete an App runner requested VPC endpoint even though the apprunner service is deleted. I have also deleted Network configurations under AWS App Runner. What further steps need to be followed?

2 Answers
2
Accepted Answer

I asked the same question to Amazon Q and it helped me debug that an mq broker was using it. I deleted the mq broker which was using the endpoint.

answered 2 years ago

AWS
EXPERT

reviewed 2 years ago

0

If you're unable to delete a VPC endpoint that was requested by App Runner, even after deleting the associated App Runner service and network configurations, there might be a few additional steps you need to follow:

  1. Ensure all App Runner services using this VPC endpoint have been deleted. Sometimes, there might be other services still associated with the endpoint that you may have overlooked.

  2. Check for any remaining App Runner connections that might be using this VPC endpoint. You need to delete these connections first. Use the DeleteConnection action in the App Runner API, but make sure there are no running App Runner services using the connection before attempting to delete it.

  3. Verify if there are any other AWS resources or services (outside of App Runner) that might be using this VPC endpoint. For example, there could be a dependency on an RDS proxy or other VPC-connected services.

  4. If you're still encountering issues, it's possible that there might be a lingering association or dependency that's not immediately visible. In this case, you may need to:

    • Double-check all your VPC configurations and ensure there are no other resources linked to this endpoint.
    • Review your IAM permissions to ensure you have the necessary rights to delete the VPC endpoint.
    • Consider reaching out to AWS Support if the problem persists, as there might be an underlying issue that requires their assistance.

Remember, when deleting VPC endpoints or other networking components, it's crucial to ensure that all associated resources and dependencies have been properly removed to avoid conflicts or "unknown errors" during the deletion process.
Sources
Unable to delete VPC endpoints | AWS re:Post
DeleteConnection - AWS App Runner
Managing Private endpoint - AWS App Runner

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.