IP address utilization insights

View insights in the Recommender API

To view these insights in the gcloud CLI or the Recommender API, use the following insight type:

  • google.networkanalyzer.vpcnetwork.ipAddressInsight

You need the following permissions:

  • recommender.networkAnalyzerIpAddressInsights.list
  • recommender.networkAnalyzerIpAddressInsights.get

For more information about using the Recommender API for Network Analyzer insights, see Use the Recommender CLI and API.

High IP address utilization of a subnet

Indicates that the IP address utilization of a subnet is too high (the allocation ratio is higher than 75 percent). Such an issue can prevent automation from creating new VMs or upgrading a GKE cluster. This insight includes the following information:

  • Subnetwork: The name of the subnetwork.
  • Secondary range name: If the insight shows the primary range of the subnet, this field is not displayed.
  • IP address range: The IP address range of the subnetwork range.
  • Allocation ratio: The percentage of IP addresses from the range of the subnet that are allocated.
  • Resources using this range: The count of the number of resources of this type that have allocated IP addresses within the IP address range of the subnet. This attribute gives a summary of the number of IP addresses used by resources such as VMs and load balancers.

The allocation ratio of the primary range includes the four reserved IP addresses.

Recommendations

You have two options:

IP address utilization summary

This insight is currently available in the Google Cloud platform logs and the Recommender API.

This insight gives a summary of the IP address utilization of subnet ranges in the analyzed project. It includes the following information:

  • All subnet ranges that have an allocation ratio more than zero.
  • Secondary range name: The secondary range name of a subnet. This field is not displayed for the primary range of a subnet.
  • Subnet range prefix: The IP address range of the subnetwork range in CIDR format.
  • Allocation ratio: The ratio (between 0 and 1, 1 being 100%) of IP addresses allocated from the range of the subnet compared to the total number of IP addresses in the subnet.

The allocation ratio of the primary range includes the four reserved IP addresses.

For more information, see High IP address utilization insight.