Check ID: lightsail_static_ip_unused
Provider: AWS
Service: lightsail
Severity: LOW
Categories: resilience
Resource type: Other

What this check verifies

Amazon Lightsail static IPs detected as not associated with any instance, indicating reserved but unused addresses. The evaluation focuses on the association state of each static IP to highlight potential leftovers.

Risk

Unattached static IPs incur ongoing charges and indicate asset drift. If DNS or apps still reference the address, requests are blackholed, impacting availability. Later attaching the same IP to an unintended host can expose services and data, affecting confidentiality and integrity.

Recommendation

Release unused static IPs or attach them to the intended instance. Apply least privilege for IP allocation, enforce tagging and ownership, and run periodic audits with alerts for unattached addresses. If reservation is required, document purpose and set a time limit to prevent drift and cost.

Remediation

aws lightsail attach-static-ip —static-ip-name <example_resource_name> —instance-name <example_resource_name>

References

Where this check fires

This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable by Check ID = lightsail_static_ip_unused. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks