Ensure that your Google Cloud Platform (GCP) projects are not using legacy networks as this type of network is no longer recommended for production environments because it does not support advanced networking features. Instead, it is strongly recommended to use Virtual Private Cloud (VPC) networks for existing and future GCP projects.
efficiency
Google Cloud legacy networks have a single global IPv4 range which cannot be divided into subnets, and a single gateway IP address for the whole network. Legacy networks do not support several Google Cloud networking features such as subnets, alias IP ranges, multiple network interfaces, Cloud NAT (Network Address Translation), Virtual Private Cloud (VPC) Peering, and private access options for GCP services. Legacy networks are not recommended for high network traffic projects and are subject to a single point of contention or failure.
Audit
To determine if legacy networks are being used within your Google Cloud Platform (GCP) projects, perform the following operations:
Remediation / Resolution
To convert a legacy network into a Virtual Private Cloud (VPC) network is not currently supported. To rebuild your network configuration within a custom Virtual Private Cloud (VPC) and remove the legacy network from your GCP project, create a new VPC network and migrate your cloud applications to it. To get started with the VPC network setup, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- VPC overview
- VPC network overview
- Using VPC networks
- Legacy networks
- Using legacy networks
- Cloud Router documentation
- Apply Cloud DNS server policies
- Firewall Rules Logging overview