Home icon
Removing Unassociated Elastic IPs

Blog



This article explains how to identify and remove unassociated Elastic IPs (EIPs) to reduce AWS costs, as AWS charges hourly for unused EIPs.

  • Unassociated EIPs incur hourly charges visible as "ElasticIP:IdleAddress" on AWS bills
  • AWS Lambda function searches all regions for unassociated EIPs and documents them in CSV
  • CloudFormation template deploys Lambda, IAM role, and S3 bucket for the solution
  • Lambda function can operate in review mode or automatically release unassociated EIPs
  • Solution costs minimal; example: 400 EIPs across 4 regions costs less than 1 cent
  • CSV report uploaded to S3 for review before deletion
  • Can be scheduled periodically using Amazon EventBridge for ongoing optimization

This solution automates discovery and cleanup of unused Elastic IPs across AWS regions, helping optimize cloud costs with minimal effort and expense.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.