Networks should not be in legacy mode¶
Description¶
A legacy network is global, has a single gateway IP address and network IPv4 prefix range, and doesn’t support the creation of subnetworks. As a result, legacy networks do not easily support redundancy and are subject to a single point of failure.
Remediation Steps¶
Google Cloud Console¶
Navigate to VPC networks.
Click the legacy network.
Click DELETE VPC NETWORK.
If needed, create a new network to replace the legacy network.
Repeat for each legacy network.
gcloud CLI¶
To delete a legacy network:
gcloud compute networks delete LEGACY_NETWORK_NAME
If needed, create a new network to replace it:
gcloud compute networks create NETWORK_NAME