Question

Difficulty: MediumIdentifying and Cleaning Up Underutilized Resources

A SysOps administrator is reviewing the AWS Trusted Advisor dashboard and notices a warning under the Cost Optimization category showing several unassociated Elastic IP addresses that are incurring hourly charges. The administrator needs to eliminate these charges immediately.

Which action should the SysOps administrator take to resolve this issue?

  1. Release the unassociated Elastic IP addresses using the Amazon EC2 console or the AWS CLI.Answer
  2. B
    Enable detailed monitoring on the Elastic IP addresses to track network activity and automatically stop billing charges.
  3. C
    Create a static budget alert in AWS Budgets to automatically release any Elastic IP address that remains unassociated for more than 24 hours.
  4. D
    Configure a CloudWatch Logs metric filter to monitor the connection logs of the Elastic IP addresses and set a retention period of 30 days to save costs.

Answer

Release the unassociated Elastic IP addresses using the Amazon EC2 console or the AWS CLI.
Releasing the unassociated Elastic IP addresses returns them to the AWS public IP pool and immediately stops the hourly charges associated with allocating but not using them. In AWS, you are not charged for Elastic IP addresses as long as they are associated with a running EC2 instance or an active Elastic Network Interface (ENI). However, if they are unassociated, AWS charges an hourly fee to prevent IP address hoarding.

Step-by-Step Solution

1
Identify the unassociated Elastic IP addresses using the AWS Trusted Advisor Cost Optimization dashboard or by querying the Amazon EC2 service directly.
A list of Elastic IP addresses that are allocated to the AWS account but are not currently associated with any running EC2 instances or network interfaces is obtained.
Before clean up, SysOps administrators must verify which specific IPs are unassociated to avoid affecting active workloads.
2
Release the identified unassociated Elastic IP addresses.
The Elastic IP addresses are returned to the AWS pool, and hourly charges for holding unassociated addresses are stopped immediately.
AWS charges for Elastic IP addresses that are allocated to an account but not associated with a running instance to ensure efficient use of IPv4 addresses.

Key Concept

Releasing unassociated Elastic IP addresses to stop hourly allocation charges.
Estimated Time:1m 0s
Rate this question