Skip to main content

VPC: Delete Unused Endpoints

Difficulty: Easy

Description

These VPC endpoints have processed no data in the last 31 days, but each one is still billed by the hour. An endpoint lets your VPC reach an AWS service privately, without going through the internet. If nothing uses it, it only adds a fixed charge, so deleting it removes that cost.


Selection Criteria

  • The endpoint was billed for more than 150 of the last 168 hours.

  • No data was processed in the last 31 days.

  • The endpoint was created more than 31 days ago.

  • The endpoint is in the Available state.


Expected Saving

Interface VPC Endpoints cost $0.01/hour per AZ (~$7.20/month per AZ) regardless of traffic. Deleting an unused endpoint eliminates the hourly charge entirely.


Operational Impact

  • Breaking changes: Deleting an endpoint removes the private connectivity path for that AWS service. Resources relying on it will either fall back to an internet route (if available) or lose connectivity to that service.

  • ⚠️ Warning — Interface endpoints only: Gateway endpoints (S3, DynamoDB) are free and excluded from this recommendation. Only Interface endpoints incur hourly charges.

  • ⚠️ Warning — Endpoint DNS references: Some applications may use the endpoint-specific DNS name. Verify no workloads reference the endpoint DNS before deleting.


References

Did this answer your question?