> ## Documentation Index
> Fetch the complete documentation index at: https://help.nops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Release Idle GCP Static IP Address

> Release reserved static IP addresses that are not attached to any running resource.

Google Cloud charges for a reserved static external IP address while it is not in use by a running VM or load balancer. nOps finds addresses that have been billed this idle-address charge every day for two weeks, and shows that charge as the saving from releasing them.

| | |
| - | - |
| **Cloud** | Google Cloud |
| **Category** | Networking |
| **Service** | Compute Engine |
| **Action** | Delete |
| **Effort** | Low |
| **Restart needed** | No |
| **Can be rolled back** | No |
| **Analysis window** | Last 14 days |
| **Source** | nOps |

## Why it matters

Static IPs are often reserved for a VM or load balancer that was later deleted, and then keep billing quietly for months.

## How nOps finds it

Google bills the 'Static Ip Charge' only for reserved addresses that are not in use. nOps flags an address when that charge was billed on all of the last 14 days and in the last 2 days. The saving is the address's charges over the last 7 days, scaled to a month, net of discounts and excluding credits, and must be at least \$5 a month. Projects whose spend on the service is at least 90% paid by credits or promotions are left out.

## Before you start

Confirm the address is not kept for a DNS record, allow list or resource you plan to recreate.

## How to implement

1. In the console, open **VPC network → IP addresses** and find the address. The **In use by** column is empty for an idle address.
2. Check DNS records, partner allow lists and firewall rules that refer to the address.
3. Release it: `gcloud compute addresses delete ADDRESS_NAME --region=REGION` (or `--global` for a global address).
4. Remove it from Terraform so it is not reserved again.

## Risks and considerations

* A released address goes back to Google's pool. You cannot get the same address back.
* If a partner allow-lists the address, releasing it will break that access when you later need it.

## FAQs

> [accordion] Is a static IP attached to a stopped VM idle?
>
> Yes. A stopped VM does not count as using the address, so Google bills the idle-address charge and nOps can flag it.

## Related

* [Delete Idle GCP Cloud NAT](https://help.nops.io/inform/supported-recommendations/idle-gcp-cloud-nat)
* [Delete Disks of Long-Stopped GCP VMs](https://help.nops.io/inform/supported-recommendations/delete-disks-of-long-stopped-gcp-vms)
* [Release Idle Public IPv4 Address](https://help.nops.io/inform/supported-recommendations/release-idle-public-ipv4-address)
* [Supported recommendations](https://help.nops.io/inform/supported-recommendations.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.