IPv6 support in Google Cloud

This document describes which services in Google Cloud include support for IPv6.

IPv6 has a much larger address space than IPv4, with 128 bits per address. IPv6 has many more addresses available than IPv4 does, which helps mitigate the growing shortage of IPv4 addresses.

IPv6 support is widely available in Google Cloud through dual-stack (IPv4 and IPv6) compute and networking services. You can deploy dual-stack subnets, which lets you deploy IPv6 workloads. Additionally, IPv6-only support is available for some compute and networking services in Preview.

You can control IPv6 configurations by using organization policy constraints as described in the organization policy constraints section of the VPC networks overview.

Core compute and networking services

The following table summarizes support for IPv6 in core compute and networking services in Google Cloud.

If a service has an IP stack type configuration option, the table lists the supported stack types. The IPv6-only (Preview) stack type is available for some services where marked in the table. If a service doesn't have a stack type configuration option, the table lists not applicable (N/A).

For more information about a given service, see the corresponding documentation.

Service IPv6 support Supported stack types Documentation
Compute
Compute Engine instances1 Dual-stack,
IPv6-only (Preview)
Compute Engine instance templates Dual-stack,
IPv6-only (Preview)
Compute Engine managed instance groups (MIGs)2 Dual-stack
Google Kubernetes Engine (GKE) nodes and pods Dual-stack
Networking
VPC networks
Subnets Dual-stack,
IPv6-only (Preview)
VPC Network Peering3 Dual-stack
Static IP address reservation N/A
Static routes4 N/A
Policy-based routes
(Preview)
N/A
Network Connectivity
Cloud Router N/A
Network Connectivity Center
(Preview)
N/A
  • You can configure VPC spokes to exchange only IPv4 subnet ranges, both IPv4 and IPv6 subnet ranges, or only IPv6 subnet ranges. See:
Dedicated Interconnect VLAN attachments3 Dual-stack
Partner Interconnect VLAN attachments3 Dual-stack
HA VPN Dual-stack,
IPv6-only (Preview)
Classic VPN N/A
Network security
Cloud Next Generation Firewall N/A
Packet Mirroring N/A
DNS
Cloud DNS5 N/A
Cloud Load Balancing
Global external Application Load Balancer Dual-stack
Global external proxy Network Load Balancer Dual-stack
Regional external Application Load Balancer Dual-stack
Regional internal Application Load Balancer Dual-stack
Cross-region internal Application Load Balancer Dual-stack
Regional external proxy Network Load Balancer Dual-stack
Regional internal proxy Network Load Balancer Dual-stack
Cross-region internal proxy Network Load Balancer Dual-stack
Classic Application Load Balancer N/A
Classic proxy Network Load Balancer N/A
External passthrough Network Load Balancer6 Dual-stack,
IPv6-only (Preview)
Internal passthrough Network Load Balancer6 Dual-stack,
IPv6-only (Preview)
Private access for services
Private Service Connect published services7 N/A
Private Service Connect endpoints for published services N/A
Private Service Connect interfaces Dual-stack
Private Service Connect backends N/A
1 See the following limitations:
2 For MIGs, the autohealing endpoint supports only IPv4.
3 VPC Network Peering and Cloud Interconnect VLAN attachments themselves can only be configured as dual-stack and not IPv6-only. However, when configured as dual-stack they are compatible with IPv6-only resources such as subnets and instances.
4 For static routes, some next hop types don't support IPv6, and support differs between dual-stack and IPv6-only. For more information, see Next hops and features.
5 Cloud DNS doesn't support IPv6 for inbound or outbound forwarding.
6 IPv6-only support is limited to unmanaged instance group backends and protocol forwarding with IPv6-only target instances.
7 Private Service Connect doesn't support IPv6-only subnets for the producer's NAT subnet. For more information, see Create a subnet for Private Service Connect.

Application services

The following table summarizes support for IPv6 in commonly used Google APIs and services.

For services that support private IPv6 access, private access from IPv6 clients is supported by Private Google Access.

For more information, see Additional details about application services and IPv6.

Service Public IPv6 access Private IPv6 access
AlloyDB for PostgreSQL API
AlloyDB for PostgreSQL instances1
Bigtable
BigQuery
Dataflow
Dataproc
Cloud Deploy
Firestore
Cloud Identity
Cloud Logging
Memorystore for Memcached API
Memorystore for Memcached instances1
Memorystore for Redis API
Memorystore for Redis instances1
Cloud Monitoring
Pub/Sub
Spanner
Cloud SQL Admin API for MySQL
Cloud SQL for MySQL instances1
Cloud SQL Admin API for PostgreSQL
Cloud SQL for PostgreSQL instances1
Cloud SQL Admin API for SQL Server
Cloud SQL for SQL Server instances1
Cloud Storage
Cloud Tasks
Cloud Trace
Workflows
Container Registry / Artifact Registry
Secret Manager
1 Some products have an administrative API that runs on Google's production infrastructure and can be accessed by IPv6 clients, but the API creates VPC-hosted resources that can't be accessed by IPv6 clients. For example, Memorystore for Memcached has an administrative API at memcache.googleapis.com. Using this API lets you perform some administrative tasks for your Memorystore for Memcached instances, but you must use private services access to access the Memorystore for Memcached instances.

Additional details about application services and IPv6

There are two varieties of Google APIs and services:

  • Services that run on Google's production infrastructure, including all *.googleapis.com service endpoints.
  • Services that run in VPC networks that are run by Google (also known as VPC-hosted services), such as Cloud SQL and Filestore.

Most services that run on Google's production infrastructure support access by clients with IPv6 addresses:

  • Public access from IPv6 clients is supported.
  • Private access from IPv6 clients is supported by Private Google Access. For more information about Private Google Access and supported services, see Domain options. You can't use Private Service Connect endpoints for global Google APIs or regional Google APIs to access services from IPV6 clients.

For more information about services that run on Google's infrastructure, see the Google APIs Explorer.

For VPC-hosted services, support for access by IPv6 clients depends on the private access option that you use:

  • You can create IPv6 Private Service Connect endpoints to let clients with IPv6 addresses access published services.
  • Private services access doesn't support access by clients that have IPv6 addresses. For more information, see the Supported services in the private services access documentation.