CINXE.COM
Quickstart: Create and use VPC networks | Google Cloud
<!doctype html> <html lang="en" dir="ltr"> <head> <meta name="google-signin-client-id" content="721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com"> <meta name="google-signin-scope" content="profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/webhistory"> <meta property="og:site_name" content="Google Cloud"> <meta property="og:type" content="website"><meta name="theme-color" content="#039be5"><meta charset="utf-8"> <meta content="IE=Edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="/_pwa/cloud/manifest.json" crossorigin="use-credentials"> <link rel="preconnect" href="//www.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.googleapis.com" crossorigin> <link rel="preconnect" href="//apis.google.com" crossorigin> <link rel="preconnect" href="//www.google-analytics.com" crossorigin><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Google+Sans:400,500,700|Google+Sans+Text:400,400italic,500,500italic,700,700italic|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"> <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=Material+Icons&family=Material+Symbols+Outlined&display=block"><link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/css/app.css"> <link rel="shortcut icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/favicon.ico"> <link rel="apple-touch-icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png"><link rel="canonical" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks"><link rel="search" type="application/opensearchdescription+xml" title="Google Cloud" href="https://cloud.google.com/s/opensearch.xml"> <link rel="alternate" hreflang="en" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks" /><link rel="alternate" hreflang="x-default" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks" /><link rel="alternate" hreflang="zh-Hans" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks?hl=zh-cn" /><link rel="alternate" hreflang="fr" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks?hl=fr" /><link rel="alternate" hreflang="de" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks?hl=de" /><link rel="alternate" hreflang="id" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks?hl=id" /><link rel="alternate" hreflang="it" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks?hl=it" /><link rel="alternate" hreflang="ja" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks?hl=ja" /><link rel="alternate" hreflang="ko" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks?hl=ko" /><link rel="alternate" hreflang="pt-BR" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks?hl=pt-br" /><link rel="alternate" hreflang="es-419" href="https://cloud.google.com/vpc/docs/create-modify-vpc-networks?hl=es-419" /><title>Quickstart: Create and use VPC networks | Google Cloud</title> <meta property="og:title" content="Quickstart: Create and use VPC networks | Google Cloud"><meta name="description" content="Create, modify, and delete Virtual Private Cloud (VPC) networks and subnetworks in Google Cloud."> <meta property="og:description" content="Create, modify, and delete Virtual Private Cloud (VPC) networks and subnetworks in Google Cloud."><meta property="og:url" content="https://cloud.google.com/vpc/docs/create-modify-vpc-networks"><meta property="og:image" content="https://cloud.google.com/_static/cloud/images/social-icon-google-cloud-1200-630.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="630"><meta property="og:locale" content="en"><meta name="twitter:card" content="summary_large_image"><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "headline": "Quickstart: Create and use VPC networks" } </script><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Virtual Private Cloud", "item": "https://cloud.google.com/vpc" },{ "@type": "ListItem", "position": 2, "name": "Documentation", "item": "https://cloud.google.com/vpc/docs" },{ "@type": "ListItem", "position": 3, "name": "Quickstart: Create and use VPC networks", "item": "https://cloud.google.com/vpc/docs/create-modify-vpc-networks" }] } </script> <link rel="stylesheet" href="/extras.css"></head> <body class="" template="page" theme="cloud-theme" type="article" layout="docs" free-trial display-toc pending> <devsite-progress type="indeterminate" id="app-progress"></devsite-progress> <section class="devsite-wrapper"> <devsite-cookie-notification-bar></devsite-cookie-notification-bar><cloudx-track userCountry="SG"></cloudx-track> <cloudx-utils-init></cloudx-utils-init> <devsite-header keep-tabs-visible> <div class="devsite-header--inner nocontent"> <div class="devsite-top-logo-row-wrapper-wrapper"> <div class="devsite-top-logo-row-wrapper"> <div class="devsite-top-logo-row"> <button type="button" id="devsite-hamburger-menu" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Navigation menu button" visually-hidden aria-label="Open menu"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="googleCloud" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg" class="devsite-site-logo" alt="Google Cloud"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> </li> </ul> </span> </div> <div class="devsite-top-logo-row-middle"> <div class="devsite-header-upper-tabs"> <cloudx-tabs-nav class="upper-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Upper tabs"> <tab class="devsite-active"> <a href="https://cloud.google.com/docs" track-metadata-eventdetail="https://cloud.google.com/docs" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - docs-home" track-metadata-module="primary nav" aria-label="Documentation, selected" data-category="Site-Wide Custom Events" data-label="Tab: Documentation" track-name="docs-home" track-link-column-type="single-column" > Documentation </a> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/docs/tech-area-overviews" track-metadata-eventdetail="https://cloud.google.com/docs/tech-area-overviews" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - technology-areas" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" > Technology areas </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Technology areas" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/tech-area-overviews" track-metadata-position="nav - technology-areas" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/ai-ml" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/ai-ml" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> AI and ML </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/application-development" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/application-development" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Application development </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/application-hosting" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/application-hosting" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Application hosting </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/compute-area" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/compute-area" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Compute </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/data" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/data" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Data analytics and pipelines </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/databases" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/databases" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Databases </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/dhm-cloud" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/dhm-cloud" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Distributed, hybrid, and multicloud </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/generative-ai" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/generative-ai" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Generative AI </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/industry" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/industry" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Industry solutions </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/networking" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/networking" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Networking </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/observability" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/observability" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Observability and monitoring </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/security" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/security" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Security </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/storage" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/storage" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Storage </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/docs/cross-product-overviews" track-metadata-eventdetail="https://cloud.google.com/docs/cross-product-overviews" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - crossproduct" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" > Cross-product tools </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Cross-product tools" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/cross-product-overviews" track-metadata-position="nav - crossproduct" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/access-resources" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/access-resources" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Access and resources management </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/costs-usage" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/costs-usage" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Costs and usage management </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/devtools" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/devtools" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud SDK, languages, frameworks, and tools </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/iac" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/iac" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Infrastructure as code </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/migration" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/migration" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Migration </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/" track-metadata-eventdetail="https://cloud.google.com/" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - related-sites" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" > Related sites </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Related sites" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Home </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/free" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/free" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Free Trial and Free Tier </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/architecture" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/architecture" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Architecture Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/blog" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/blog" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Blog </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/contact" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/contact" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Contact Sales </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/developers" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/developers" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Developer Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/" track-type="nav" track-metadata-eventdetail="https://developers.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Developer Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://console.cloud.google.com/marketplace" track-type="nav" track-metadata-eventdetail="https://console.cloud.google.com/marketplace" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Marketplace </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/marketplace/docs" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/marketplace/docs" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Marketplace Documentation </div> </a> </li> <li class="devsite-nav-item"> <a href="https://www.cloudskillsboost.google/paths" track-type="nav" track-metadata-eventdetail="https://www.cloudskillsboost.google/paths" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Skills Boost </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/solutions" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/solutions" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Solution Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/support-hub" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/support-hub" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Support </div> </a> </li> <li class="devsite-nav-item"> <a href="https://www.youtube.com/@googlecloudtech" track-type="nav" track-metadata-eventdetail="https://www.youtube.com/@googlecloudtech" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Tech Youtube Channel </div> </a> </li> </ul> </div> </div> </div> </tab> </nav> </cloudx-tabs-nav> </div> <devsite-search enable-signin enable-search enable-suggestions project-name="VPC" tenant-name="Google Cloud" project-scope="/vpc/docs" url-scoped="https://cloud.google.com/s/results/vpc/docs" > <form class="devsite-search-form" action="https://cloud.google.com/s/results" method="GET"> <div class="devsite-search-container"> <button type="button" search-open class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Open search"></button> <div class="devsite-searchbox"> <input aria-activedescendant="" aria-autocomplete="list" aria-label="Search" aria-expanded="false" aria-haspopup="listbox" autocomplete="off" class="devsite-search-field devsite-search-query" name="q" placeholder="Search" role="combobox" type="text" value="" > <div class="devsite-search-image material-icons" aria-hidden="true"> </div> <div class="devsite-search-shortcut-icon-container" aria-hidden="true"> <kbd class="devsite-search-shortcut-icon">/</kbd> </div> </div> </div> </form> <button type="button" search-close class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Close search"></button> </devsite-search> </div> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> <devsite-user enable-profiles fp-auth id="devsite-user"> <span class="button devsite-top-button" aria-hidden="true" visually-hidden>Sign in</span> </devsite-user> </div> </div> </div> <div class="devsite-collapsible-section "> <div class="devsite-header-background"> <div class="devsite-product-id-row" hidden> <div class="devsite-product-description-row"> </div> </div> <div class="devsite-doc-set-nav-row"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> <a href="https://cloud.google.com/vpc" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Lower Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Virtual Private Cloud" > Virtual Private Cloud </a> </li> </ul> <cloudx-tabs-nav class="lower-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Lower tabs"> <tab > <a href="https://cloud.google.com/vpc/docs" track-metadata-eventdetail="https://cloud.google.com/vpc/docs" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - overview" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Overview" track-name="overview" > Overview </a> </tab> <tab class="devsite-active"> <a href="https://cloud.google.com/vpc/docs/overview" track-metadata-eventdetail="https://cloud.google.com/vpc/docs/overview" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - guides" track-metadata-module="primary nav" aria-label="Guides, selected" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" > Guides </a> </tab> <tab > <a href="https://cloud.google.com/vpc/docs/apis" track-metadata-eventdetail="https://cloud.google.com/vpc/docs/apis" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - reference" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" > Reference </a> </tab> <tab > <a href="https://cloud.google.com/vpc/docs/resources" track-metadata-eventdetail="https://cloud.google.com/vpc/docs/resources" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - resources" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Resources" track-name="resources" > Resources </a> </tab> </nav> </cloudx-tabs-nav> <div class="devsite-product-button-row"> <a href="https://cloud.google.com/contact" class="cta-button-secondary button " data-overflow-wrapper="tab" track-name="sales" track-metadata-position="nav" data-overflow="devsite-tabs-wrapper" track-type="contact" track-metadata-eventDetail="nav" data-overflow-container="left" >Contact Us</a> <a href="//console.cloud.google.com/freetrial" class="cloud-free-trial-button cta-button-primary button-primary button cloud-button cloud-button--primary " track-name="gcpCta" track-metadata-position="nav" referrerpolicy="no-referrer-when-downgrade" track-metadata-eventDetail="nav" data-overflow-class="devsite-header-link devsite-top-button button cloud-free-trial-button cloud-free-trial-enabled cloud-button cloud-button--primary" data-overflow="devsite-top-logo-row" track-type="freeTrial" data-overflow-container="right" >Start free</a> </div> </div> </div> </div> </div> </devsite-header> <devsite-book-nav scrollbars > <div class="devsite-book-nav-filter" > <span class="filter-list-icon material-icons" aria-hidden="true"></span> <input type="text" placeholder="Filter" aria-label="Type to filter" role="searchbox"> <span class="filter-clear-button hidden" data-title="Clear filter" aria-label="Clear filter" role="button" tabindex="0"></span> </div> <nav class="devsite-book-nav devsite-nav nocontent" aria-label="Side menu"> <div class="devsite-mobile-header"> <button type="button" id="devsite-close-nav" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close navigation" aria-label="Close navigation"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="googleCloud" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg" class="devsite-site-logo" alt="Google Cloud"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> </li> </ul> </span> </div> </div> <div class="devsite-book-nav-wrapper"> <div class="devsite-mobile-nav-top"> <ul class="devsite-nav-list"> <li class="devsite-nav-item"> <a href="/docs" class="devsite-nav-title gc-analytics-event devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Documentation" track-name="docs-home" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Documentation" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Documentation </span> </a> <ul class="devsite-nav-responsive-tabs"> <li class="devsite-nav-item"> <a href="/vpc/docs" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Overview" track-name="overview" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Overview" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Overview </span> </a> </li> <li class="devsite-nav-item"> <a href="/vpc/docs/overview" class="devsite-nav-title gc-analytics-event devsite-nav-has-children devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Guides" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip menu="_book"> Guides </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="_book"> </span> </a> </li> <li class="devsite-nav-item"> <a href="/vpc/docs/apis" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Reference" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Reference </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/vpc/docs/resources" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Resources" track-name="resources" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Resources" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Resources </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/docs/tech-area-overviews" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Technology areas" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Technology areas </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Technology areas"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Technology areas"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/docs/cross-product-overviews" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Cross-product tools" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Cross-product tools </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Cross-product tools"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Cross-product tools"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Related sites" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Related sites </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Related sites"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Related sites"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="//console.cloud.google.com/" class="devsite-nav-title gc-analytics-event " track-metadata-eventDetail="nav" track-type="globalNav" referrerpolicy="no-referrer-when-downgrade" track-name="console" track-metadata-position="nav" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Console" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Console </span> </a> </li> <li class="devsite-nav-item"> <a href="/contact" class="cta-button-secondary button" data-overflow-wrapper="tab" track-name="sales" track-metadata-position="nav" data-overflow="devsite-tabs-wrapper" track-type="contact" track-metadata-eventDetail="nav" data-overflow-container="left" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Contact Us" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Contact Us </span> </a> </li> <li class="devsite-nav-item"> <a href="//console.cloud.google.com/freetrial" class="cloud-free-trial-button cta-button-primary button-primary button cloud-button cloud-button--primary" track-name="gcpCta" track-metadata-position="nav" referrerpolicy="no-referrer-when-downgrade" track-metadata-eventDetail="nav" data-overflow-class="devsite-header-link devsite-top-button button cloud-free-trial-button cloud-free-trial-enabled cloud-button cloud-button--primary" data-overflow="devsite-top-logo-row" track-type="freeTrial" data-overflow-container="right" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Start free" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Start free </span> </a> </li> </ul> </div> <div class="devsite-mobile-nav-bottom"> <ul class="devsite-nav-list" menu="_book"> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Discover</span> </div></li> <li class="devsite-nav-item"><a href="/vpc/docs/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/overview" ><span class="devsite-nav-text" tooltip>Virtual Private Cloud overview</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Get started</span> </div></li> <li class="devsite-nav-item"><a href="/vpc/docs/vpc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/vpc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/vpc" ><span class="devsite-nav-text" tooltip>VPC networks</span></a></li> <li class="devsite-nav-item"><a href="/vpc/docs/subnets" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/subnets" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/subnets" ><span class="devsite-nav-text" tooltip>Subnets</span></a></li> <li class="devsite-nav-item"><a href="/vpc/docs/ipv6-support" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/ipv6-support" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/ipv6-support" ><span class="devsite-nav-text" tooltip>IPv6 support</span></a></li> <li class="devsite-nav-item"><a href="/vpc/docs/create-modify-vpc-networks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-modify-vpc-networks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-modify-vpc-networks" ><span class="devsite-nav-text" tooltip>Create and manage VPC networks</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Add networking features</span> </div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Add IP addresses</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/ip-addresses" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/ip-addresses" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/ip-addresses" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/reserve-static-internal-ip-address" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/reserve-static-internal-ip-address" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/reserve-static-internal-ip-address" ><span class="devsite-nav-text" tooltip>Reserve internal IP addresses</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/reserve-static-external-ip-address" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/reserve-static-external-ip-address" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/reserve-static-external-ip-address" ><span class="devsite-nav-text" tooltip>Reserve external IP addresses</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/move-ip-address-different-project" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/move-ip-address-different-project" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/move-ip-address-different-project" ><span class="devsite-nav-text" tooltip>Move an external IPv4 address to a different project</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Add alias IP ranges</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/alias-ip" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/alias-ip" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/alias-ip" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-alias-ip-ranges" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-alias-ip-ranges" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-alias-ip-ranges" ><span class="devsite-nav-text" tooltip>Configure alias IP ranges</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Bring your own IP addresses (BYOIP)</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/bring-your-own-ip" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/bring-your-own-ip" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/bring-your-own-ip" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/byoip-planning" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/byoip-planning" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/byoip-planning" ><span class="devsite-nav-text" tooltip>Planning and architecture</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/create-pap" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-pap" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-pap" ><span class="devsite-nav-text" tooltip>Create a public advertised prefix</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/create-pdp" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-pdp" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-pdp" ><span class="devsite-nav-text" tooltip>Create public delegated prefixes</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/create-sub-prefixes-ip-addresses" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-sub-prefixes-ip-addresses" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-sub-prefixes-ip-addresses" ><span class="devsite-nav-text" tooltip>Create IPv4 sub-prefixes and IP addresses</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/create-ipv6-sub-prefixes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-ipv6-sub-prefixes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-ipv6-sub-prefixes" ><span class="devsite-nav-text" tooltip>Create IPv6 sub-prefixes</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/manage-bgp-announcement" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/manage-bgp-announcement" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/manage-bgp-announcement" ><span class="devsite-nav-text" tooltip>Manage BGP announcement</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/deprovision-byoip" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/deprovision-byoip" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/deprovision-byoip" ><span class="devsite-nav-text" tooltip>Deprovision BYOIP</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Add routes</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/routes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/routes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/routes" ><span class="devsite-nav-text" tooltip>Routes overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/static-routes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/static-routes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/static-routes" ><span class="devsite-nav-text" tooltip>Static routes overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/using-routes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/using-routes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/using-routes" ><span class="devsite-nav-text" tooltip>Use routes</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Add policy-based routes</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/policy-based-routes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/policy-based-routes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/policy-based-routes" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/use-policy-based-routes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/use-policy-based-routes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/use-policy-based-routes" ><span class="devsite-nav-text" tooltip>Use policy-based-routes</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Change MTU</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/mtu" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/mtu" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/mtu" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/change-mtu-vpc-network" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/change-mtu-vpc-network" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/change-mtu-vpc-network" ><span class="devsite-nav-text" tooltip>Change MTU of a VPC network</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-jumbo-frame-mtu-vpc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-jumbo-frame-mtu-vpc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-jumbo-frame-mtu-vpc" ><span class="devsite-nav-text" tooltip>Create and verify a jumbo frame MTU network</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Configure VMs</span> </div></li> <li class="devsite-nav-item"><a href="/vpc/docs/add-remove-network-tags" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/add-remove-network-tags" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/add-remove-network-tags" ><span class="devsite-nav-text" tooltip>Add network tags</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Add VMs with multiple network interfaces</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/multiple-interfaces-concepts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/multiple-interfaces-concepts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/multiple-interfaces-concepts" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/create-use-multiple-interfaces" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-use-multiple-interfaces" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-use-multiple-interfaces" ><span class="devsite-nav-text" tooltip>Create VMs with multiple network interfaces</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-routing-additional-interface" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-routing-additional-interface" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-routing-additional-interface" ><span class="devsite-nav-text" tooltip>Configure routing for an additional network interface</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Add capabilities</span> </div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Shared VPC</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/shared-vpc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/shared-vpc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/shared-vpc" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/provisioning-shared-vpc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/provisioning-shared-vpc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/provisioning-shared-vpc" ><span class="devsite-nav-text" tooltip>Provision Shared VPC</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/deprovisioning-shared-vpc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/deprovisioning-shared-vpc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/deprovisioning-shared-vpc" ><span class="devsite-nav-text" tooltip>Deprovision Shared VPC</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>VPC Network Peering</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/vpc-peering" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/vpc-peering" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/vpc-peering" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/using-vpc-peering" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/using-vpc-peering" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/using-vpc-peering" ><span class="devsite-nav-text" tooltip>Set up and manage VPC Network Peering</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/peer-two-networks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/peer-two-networks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/peer-two-networks" ><span class="devsite-nav-text" tooltip>Peer two VPC networks</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable devsite-nav-preview"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Hybrid Subnets</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/hybrid-subnets" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/hybrid-subnets" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/hybrid-subnets" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/prepare-for-hybrid-subnet-connectivity" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/prepare-for-hybrid-subnet-connectivity" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/prepare-for-hybrid-subnet-connectivity" ><span class="devsite-nav-text" tooltip>Prepare for Hybrid Subnets</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/create-hybrid-subnets" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-hybrid-subnets" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-hybrid-subnets" ><span class="devsite-nav-text" tooltip>Create a hybrid subnet</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/decommission-hybrid-subnets" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/decommission-hybrid-subnets" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/decommission-hybrid-subnets" ><span class="devsite-nav-text" tooltip>Decommission a hybrid subnet</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Internal ranges</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/internal-ranges" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/internal-ranges" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/internal-ranges" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/create-use-internal-ranges" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-use-internal-ranges" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-use-internal-ranges" ><span class="devsite-nav-text" tooltip>Create and use internal ranges</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Access APIs and services</span> </div></li> <li class="devsite-nav-item"><a href="/vpc/docs/private-access-options" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/private-access-options" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/private-access-options" ><span class="devsite-nav-text" tooltip>Choose a private access option</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Private Service Connect</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/private-service-connect" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/private-service-connect" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/private-service-connect" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/private-service-connect-compatibility" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/private-service-connect-compatibility" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/private-service-connect-compatibility" ><span class="devsite-nav-text" tooltip>Compatibility</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/private-service-connect-deployments" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/private-service-connect-deployments" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/private-service-connect-deployments" ><span class="devsite-nav-text" tooltip>Deployment patterns</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/private-service-connect-architecture" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/private-service-connect-architecture" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/private-service-connect-architecture" ><span class="devsite-nav-text" tooltip>Architecture</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/private-service-connect-security" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/private-service-connect-security" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/private-service-connect-security" ><span class="devsite-nav-text" tooltip>Security</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Service consumers</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Endpoints</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Published services</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/about-accessing-vpc-hosted-services-endpoints" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/about-accessing-vpc-hosted-services-endpoints" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/about-accessing-vpc-hosted-services-endpoints" ><span class="devsite-nav-text" tooltip>About accessing published services</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vpc/docs/about-propagated-connections" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/about-propagated-connections" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/about-propagated-connections" ><span class="devsite-nav-text" tooltip>About propagated connections</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-private-service-connect-services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-private-service-connect-services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-private-service-connect-services" ><span class="devsite-nav-text" tooltip>Access published services</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/manage-endpoints-published-services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/manage-endpoints-published-services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/manage-endpoints-published-services" ><span class="devsite-nav-text" tooltip>Manage endpoints that access published services</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Global Google APIs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/about-accessing-google-apis-endpoints" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/about-accessing-google-apis-endpoints" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/about-accessing-google-apis-endpoints" ><span class="devsite-nav-text" tooltip>About accessing global Google APIs</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-private-service-connect-apis" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-private-service-connect-apis" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-private-service-connect-apis" ><span class="devsite-nav-text" tooltip>Access global Google APIs</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Regional Google APIs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/about-accessing-regional-google-apis-endpoints" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/about-accessing-regional-google-apis-endpoints" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/about-accessing-regional-google-apis-endpoints" ><span class="devsite-nav-text" tooltip>About accessing regional Google APIs</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/access-regional-google-apis-endpoints" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/access-regional-google-apis-endpoints" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/access-regional-google-apis-endpoints" ><span class="devsite-nav-text" tooltip>Access regional Google APIs</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Backends</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/private-service-connect-backends" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/private-service-connect-backends" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/private-service-connect-backends" ><span class="devsite-nav-text" tooltip>About backends</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/access-apis-managed-services-private-service-connect-backends" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/access-apis-managed-services-private-service-connect-backends" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/access-apis-managed-services-private-service-connect-backends" ><span class="devsite-nav-text" tooltip>Create a backend</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-private-service-connect-services-controls" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-private-service-connect-services-controls" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-private-service-connect-services-controls" ><span class="devsite-nav-text" tooltip>Access published services</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-private-service-connect-controls" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-private-service-connect-controls" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-private-service-connect-controls" ><span class="devsite-nav-text" tooltip>Access regional Google APIs</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vpc/docs/access-global-google-apis-backends" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/access-global-google-apis-backends" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/access-global-google-apis-backends" ><span class="devsite-nav-text" tooltip>Access global Google APIs</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Network attachments</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/about-network-attachments" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/about-network-attachments" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/about-network-attachments" ><span class="devsite-nav-text" tooltip>About network attachments</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/create-manage-network-attachments" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-manage-network-attachments" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-manage-network-attachments" ><span class="devsite-nav-text" tooltip>Create network attachments</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-security-network-attachments" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-security-network-attachments" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-security-network-attachments" ><span class="devsite-nav-text" tooltip>Configure security</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Service connection policies</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/about-service-connection-policies" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/about-service-connection-policies" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/about-service-connection-policies" ><span class="devsite-nav-text" tooltip>About service connection policies</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-service-connection-policies" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-service-connection-policies" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-service-connection-policies" ><span class="devsite-nav-text" tooltip>Configure service connection policies</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/deploy-service-instance-service-connection-policies" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/deploy-service-instance-service-connection-policies" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/deploy-service-instance-service-connection-policies" ><span class="devsite-nav-text" tooltip>Deploy service instances</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vpc/docs/manage-security-private-service-connect-consumers" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/manage-security-private-service-connect-consumers" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/manage-security-private-service-connect-consumers" ><span class="devsite-nav-text" tooltip>Manage consumer security</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Service producers</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Published services</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/about-vpc-hosted-services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/about-vpc-hosted-services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/about-vpc-hosted-services" ><span class="devsite-nav-text" tooltip>About published services</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-private-service-connect-producer" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-private-service-connect-producer" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-private-service-connect-producer" ><span class="devsite-nav-text" tooltip>Publish services</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/manage-private-service-connect-services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/manage-private-service-connect-services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/manage-private-service-connect-services" ><span class="devsite-nav-text" tooltip>Manage published services</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/dns-vpc-hosted-services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/dns-vpc-hosted-services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/dns-vpc-hosted-services" ><span class="devsite-nav-text" tooltip>DNS configuration for services</span></a></li><li class="devsite-nav-item devsite-nav-expandable devsite-nav-preview"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Port mapping</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/about-private-service-connect-port-mapping" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/about-private-service-connect-port-mapping" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/about-private-service-connect-port-mapping" ><span class="devsite-nav-text" tooltip>About port mapping</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/create-port-mapping-service" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-port-mapping-service" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-port-mapping-service" ><span class="devsite-nav-text" tooltip>Create port mapping services</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/update-port-mapping-service" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/update-port-mapping-service" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/update-port-mapping-service" ><span class="devsite-nav-text" tooltip>Update port mapping services</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Interfaces</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/about-private-service-connect-interfaces" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/about-private-service-connect-interfaces" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/about-private-service-connect-interfaces" ><span class="devsite-nav-text" tooltip>About interfaces</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/create-manage-private-service-connect-interfaces" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-manage-private-service-connect-interfaces" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-manage-private-service-connect-interfaces" ><span class="devsite-nav-text" tooltip>Create interfaces</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-security-private-service-connect-interfaces" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-security-private-service-connect-interfaces" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-security-private-service-connect-interfaces" ><span class="devsite-nav-text" tooltip>Configure security</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/manage-destination-overlap" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/manage-destination-overlap" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/manage-destination-overlap" ><span class="devsite-nav-text" tooltip>Manage destination overlap</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vpc/docs/manage-security-private-service-connect-producers" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/manage-security-private-service-connect-producers" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/manage-security-private-service-connect-producers" ><span class="devsite-nav-text" tooltip>Manage producer security</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vpc/docs/monitor-private-service-connect-connections" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/monitor-private-service-connect-connections" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/monitor-private-service-connect-connections" ><span class="devsite-nav-text" tooltip>Monitor connections</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Private Google Access</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/private-google-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/private-google-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/private-google-access" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-private-google-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-private-google-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-private-google-access" ><span class="devsite-nav-text" tooltip>Configure Private Google Access</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Private Google Access for on-premises hosts</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/private-google-access-hybrid" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/private-google-access-hybrid" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/private-google-access-hybrid" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-private-google-access-hybrid" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-private-google-access-hybrid" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-private-google-access-hybrid" ><span class="devsite-nav-text" tooltip>Configure Private Google Access for on-premises hosts</span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/vpc/docs/access-apis-external-ip" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/access-apis-external-ip" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/access-apis-external-ip" ><span class="devsite-nav-text" tooltip>Access APIs from VMs with external IP addresses</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Private services access</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/private-services-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/private-services-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/private-services-access" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-private-services-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-private-services-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-private-services-access" ><span class="devsite-nav-text" tooltip>Configure private services access</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Send serverless traffic to a VPC network</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/serverless-vpc-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/serverless-vpc-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/serverless-vpc-access" ><span class="devsite-nav-text" tooltip>Serverless VPC Access overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/configure-serverless-vpc-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/configure-serverless-vpc-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/configure-serverless-vpc-access" ><span class="devsite-nav-text" tooltip>Configure serverless traffic to VPC</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Monitor</span> </div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>VPC Flow Logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/flow-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/flow-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/flow-logs" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/about-flow-logs-records" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/about-flow-logs-records" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/about-flow-logs-records" ><span class="devsite-nav-text" tooltip>About VPC Flow Logs records</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/about-traffic-flows" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/about-traffic-flows" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/about-traffic-flows" ><span class="devsite-nav-text" tooltip>About traffic flows</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/using-flow-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/using-flow-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/using-flow-logs" ><span class="devsite-nav-text" tooltip>Configure VPC Flow Logs</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/org-policy-flow-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/org-policy-flow-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/org-policy-flow-logs" ><span class="devsite-nav-text" tooltip>Configure organization policy constraints</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/access-flow-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/access-flow-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/access-flow-logs" ><span class="devsite-nav-text" tooltip>Access flow logs</span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/vpc/docs/audit-logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/audit-logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/audit-logging" ><span class="devsite-nav-text" tooltip>VPC audit logging information</span></a></li> <li class="devsite-nav-item devsite-nav-beta"><a href="/vpc/docs/serverless-vpc-access-audit-logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/serverless-vpc-access-audit-logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/serverless-vpc-access-audit-logging" ><span class="devsite-nav-text" tooltip>Serverless VPC Access audit logging information</span><span class="devsite-nav-icon material-icons" data-icon="beta" data-title="Beta" aria-hidden="true"></span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Packet Mirroring</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/packet-mirroring" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/packet-mirroring" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/packet-mirroring" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/using-packet-mirroring" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/using-packet-mirroring" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/using-packet-mirroring" ><span class="devsite-nav-text" tooltip>Use Packet Mirroring</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/monitoring-packet-mirroring" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/monitoring-packet-mirroring" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/monitoring-packet-mirroring" ><span class="devsite-nav-text" tooltip>Monitor Packet Mirroring</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/packet-mirroring-partners" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/packet-mirroring-partners" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/packet-mirroring-partners" ><span class="devsite-nav-text" tooltip>Packet Mirroring partner providers</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Control access</span> </div></li> <li class="devsite-nav-item devsite-nav-preview"><a href="/vpc/docs/custom-constraints" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/custom-constraints" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/custom-constraints" ><span class="devsite-nav-text" tooltip>Manage resources by using custom constraints</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li> <li class="devsite-nav-item"><a href="/vpc/docs/create-manage-tags-vpc-resources" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/create-manage-tags-vpc-resources" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/create-manage-tags-vpc-resources" ><span class="devsite-nav-text" tooltip>Create and manage tags for VPC resources</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Troubleshoot</span> </div></li> <li class="devsite-nav-item"><a href="/vpc/docs/ts-vm-vm-internal" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/ts-vm-vm-internal" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/ts-vm-vm-internal" ><span class="devsite-nav-text" tooltip>Troubleshoot internal connectivity between VMs</span></a></li> <li class="devsite-nav-item"><a href="/vpc/docs/troubleshooting-policy-and-access-problems" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/troubleshooting-policy-and-access-problems" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/troubleshooting-policy-and-access-problems" ><span class="devsite-nav-text" tooltip>Troubleshoot policy and access problems</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Advanced topics</span> </div></li> <li class="devsite-nav-item"><a href="/vpc/docs/advanced-vpc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/advanced-vpc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/advanced-vpc" ><span class="devsite-nav-text" tooltip>Advanced VPC concepts</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Legacy networks</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vpc/docs/legacy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/legacy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/legacy" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vpc/docs/using-legacy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vpc/docs/using-legacy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vpc/docs/using-legacy" ><span class="devsite-nav-text" tooltip>Manage legacy networks</span></a></li></ul></div></li> </ul> <ul class="devsite-nav-list" menu="Technology areas" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/docs/ai-ml" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: AI and ML" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > AI and ML </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/application-development" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Application development" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Application development </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/application-hosting" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Application hosting" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Application hosting </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/compute-area" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Compute" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Compute </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/data" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Data analytics and pipelines" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Data analytics and pipelines </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/databases" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Databases" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Databases </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/dhm-cloud" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Distributed, hybrid, and multicloud" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Distributed, hybrid, and multicloud </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/generative-ai" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Generative AI" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Generative AI </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/industry" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Industry solutions" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Industry solutions </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/networking" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Networking" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Networking </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/observability" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Observability and monitoring" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Observability and monitoring </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/security" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Security" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Security </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/storage" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Storage" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Storage </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Cross-product tools" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/docs/access-resources" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Access and resources management" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Access and resources management </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/costs-usage" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Costs and usage management" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Costs and usage management </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/devtools" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud SDK, languages, frameworks, and tools" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud SDK, languages, frameworks, and tools </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/iac" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Infrastructure as code" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Infrastructure as code </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/migration" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Migration" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Migration </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Related sites" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Home" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Home </span> </a> </li> <li class="devsite-nav-item"> <a href="/free" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Free Trial and Free Tier" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Free Trial and Free Tier </span> </a> </li> <li class="devsite-nav-item"> <a href="/architecture" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Architecture Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Architecture Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/blog" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Blog" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Blog </span> </a> </li> <li class="devsite-nav-item"> <a href="/contact" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Contact Sales" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Contact Sales </span> </a> </li> <li class="devsite-nav-item"> <a href="/developers" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Developer Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Developer Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Developer Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Developer Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://console.cloud.google.com/marketplace" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Marketplace" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Marketplace </span> </a> </li> <li class="devsite-nav-item"> <a href="/marketplace/docs" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Marketplace Documentation" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Marketplace Documentation </span> </a> </li> <li class="devsite-nav-item"> <a href="https://www.cloudskillsboost.google/paths" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Skills Boost" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Skills Boost </span> </a> </li> <li class="devsite-nav-item"> <a href="/solutions" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Solution Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Solution Center </span> </a> </li> <li class="devsite-nav-item"> <a href="/support-hub" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Support" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Support </span> </a> </li> <li class="devsite-nav-item"> <a href="https://www.youtube.com/@googlecloudtech" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Tech Youtube Channel" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Tech Youtube Channel </span> </a> </li> </ul> </div> </div> </nav> </devsite-book-nav> <section id="gc-wrapper"> <main role="main" class="devsite-main-content" has-book-nav has-sidebar > <div class="devsite-sidebar"> <div class="devsite-sidebar-content"> <devsite-toc class="devsite-nav" role="navigation" aria-label="On this page" depth="2" scrollbars ></devsite-toc> <devsite-recommendations-sidebar class="nocontent devsite-nav"> </devsite-recommendations-sidebar> </div> </div> <devsite-content> <article class="devsite-article"> <div class="devsite-article-meta nocontent" role="navigation"> <ul class="devsite-breadcrumb-list" aria-label="Breadcrumb"> <li class="devsite-breadcrumb-item "> <a href="https://cloud.google.com/" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Google Cloud" > Home </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/vpc" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="Virtual Private Cloud" > Virtual Private Cloud </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/vpc/docs" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="3" track-type="globalNav" track-name="breadcrumb" track-metadata-position="3" track-metadata-eventdetail="VPC" > Documentation </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/vpc/docs/overview" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="4" track-type="globalNav" track-name="breadcrumb" track-metadata-position="4" track-metadata-eventdetail="" > Guides </a> </li> </ul> <devsite-thumb-rating position="header"> </devsite-thumb-rating> </div> <devsite-feedback position="header" project-name="VPC" product-id="5028304" bucket="documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="header" class="nocontent" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" > <button> Send feedback </button> </devsite-feedback> <devsite-feature-tooltip ack-key="AckCollectionsBookmarkTooltipDismiss" analytics-category="Site-Wide Custom Events" analytics-action-show="Callout Profile displayed" analytics-action-close="Callout Profile dismissed" analytics-label="Create Collection Callout" class="devsite-page-bookmark-tooltip nocontent" dismiss-button="true" id="devsite-collections-dropdown" dismiss-button-text="Dismiss" close-button-text="Got it"> <devsite-bookmark></devsite-bookmark> <span slot="popout-heading"> Stay organized with collections </span> <span slot="popout-contents"> Save and categorize content based on your preferences. </span> </devsite-feature-tooltip> <devsite-toc class="devsite-nav" depth="2" devsite-toc-embedded > </devsite-toc> <div class="devsite-article-body clearfix devsite-no-page-title"> <h1 id="create-and-manage-vpc-networks" data-text="Create and manage VPC networks" tabindex="-1">Create and manage VPC networks</h1> <p>This document describes how to create, modify, and delete Virtual Private Cloud (VPC) networks and subnetworks. Before reading this document, ensure that you're familiar with the characteristics of VPC networks as described in <a href="/vpc/docs/vpc">VPC networks</a>. Networks and subnets are <a href="/vpc/docs/subnets#vpc_networks_and_subnets">different resources</a> in Google Cloud.</p> <aside class="note"><strong>Note:</strong><span> If you're getting started with Google Cloud, you can create an initial VPC network as part of the <a href="/docs/enterprise/setup-checklist">Google Cloud setup process</a>.</span></aside> <p>If you plan to enable IPv6 ranges on subnets, see <a href="/vpc/docs/subnets#ipv6-ranges">IPv6 subnet ranges</a>.</p> <cloudx-free-trial-eligible-content> <slot slot="eligible"> <div> <h2 class="hide-from-toc" id="try-it-for-yourself" data-text=" Try it for yourself " tabindex="-1"> Try it for yourself </h2> <p> If you're new to Google Cloud, create an account to evaluate how VPC performs in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads. </p> <a href="https://console.cloud.google.com/freetrial" class="cloud-button cloud-button--primary" track-type="button" track-name=" Try VPC free " track-metadata-eventdetail="https://console.cloud.google.com/freetrial" track-metadata-modifier="primary" track-metadata-anchor_text=" Try VPC free " track-metadata-href="https://console.cloud.google.com/freetrial" referrerpolicy="no-referrer-when-downgrade" > Try VPC free</a> </div> </slot> <slot slot="ineligible"> </slot> </cloudx-free-trial-eligible-content> <h2 id="creating_networks" data-text="Create networks" tabindex="-1">Create networks</h2> <p>You can choose to create an auto mode or custom mode VPC network. Each new network that you create must have a unique name within the same project.</p> <h3 id="create-auto-network" data-text="Create an auto mode VPC network" tabindex="-1">Create an auto mode VPC network</h3> <p>When you create an <a href="/vpc/docs/vpc#subnet-ranges">auto mode</a> VPC network, one <a href="/vpc/docs/subnets">subnet</a> is created in each Google Cloud region. As new regions become available, new subnets in those regions are automatically added to the auto mode VPC network. IPv4 ranges for the automatically created subnets come from a <a href="/vpc/docs/subnets#ip-ranges">predetermined set of ranges</a>. All auto mode VPC networks use the same set of IPv4 ranges.</p> <p>Subnets with IPv6 ranges are not supported on auto mode VPC networks. Create a <a href="#create-network-dual">custom mode VPC network</a> if you want to create dual-stack subnets.</p> <aside class="special"><strong>Important:</strong><span> Read the <a href="/vpc/docs/vpc#auto-mode-considerations">considerations for auto mode VPC networks</a> before you create one for production use. Production networks should be planned in advance, and custom mode VPC networks are better suited for most production use cases.</span></aside> <p>To create an auto mode VPC network, follow these steps.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p></li> <li><p>Click <strong>Create VPC network</strong>.</p></li> <li><p>Enter a <strong>Name</strong> for the network.</p></li> <li><p><strong>Maximum transmission unit (MTU)</strong>: Choose whether the network has an MTU of <code translate="no" dir="ltr">1460</code> (default), <code translate="no" dir="ltr">1500</code>, or <code translate="no" dir="ltr">8896</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</p></li> <li><p>Choose <strong>Automatic</strong> for the <strong>Subnet creation mode</strong>.</p></li> <li><p>In the <strong>Firewall rules</strong> section, select zero or more predefined <a href="/vpc/docs/firewalls">firewall rules</a>. The rules address common use cases for connectivity to instances.</p> <p>Whether or not you select pre-defined rules, you can <a href="/vpc/docs/using-firewalls">create your own firewall rules</a> after you create the network.</p> <p>Each predefined rule name starts with the name of the VPC network that you are creating, <code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>. In the <strong>IPv4 firewall rules</strong> tab, the predefined ingress firewall rule named <strong><code translate="no" dir="ltr"><var translate="no">NETWORK</var>-allow-custom</code></strong> is editable. By default it specifies the source range <code translate="no" dir="ltr">10.128.0.0/9</code>, which contains current and future IPv4 ranges for subnets in an auto mode network. The right side of the row that contains the rule, click <strong>Edit</strong> to select subnets, add additional IPv4 ranges, and specify protocols and ports.</p></li> <li><p>Choose the <strong>Dynamic routing mode</strong> for the VPC network.</p> <p>For more information, see <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a>. You can <a href="#switch-dynamic-routing">change the dynamic routing mode</a> later.</p></li> <li><p>Click <strong>Create</strong>.</p></li> </ol></section> <section><h3 id="gcloud" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/create"><code translate="no" dir="ltr">networks create</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks create <var translate="no">NETWORK</var> \ --subnet-mode=auto \ --bgp-routing-mode=<var translate="no">DYNAMIC_ROUTING_MODE</var> \ --mtu=<var translate="no">MTU</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: a name for the VPC network.</li> <li><code translate="no" dir="ltr"><var translate="no">DYNAMIC_ROUTING_MODE</var></code>: controls the behavior of Cloud Routers in the network. Can be either <code translate="no" dir="ltr">global</code> or <code translate="no" dir="ltr">regional</code>. The default is <code translate="no" dir="ltr">regional</code>. For more information, see <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a>.</li> <li><code translate="no" dir="ltr"><var translate="no">MTU</var></code>: the maximum transmission unit (MTU), which is the largest packet size of the network. MTU can be set to any value from <code translate="no" dir="ltr">1300</code> to <code translate="no" dir="ltr">8896</code>. The default is <code translate="no" dir="ltr">1460</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</li> </ul></section> <section><h3 id="terraform" data-text="Terraform" tabindex="-1">Terraform</h3><p>Use the <a href="https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_network"><code translate="no" dir="ltr">google_compute_network</code> Terraform resource</a>.</p> <p><code translate="no" dir="ltr"><var translate="no">MTU</var></code> is the maximum transmission unit, or largest packet size, of the network. MTU can be set to any value from <code translate="no" dir="ltr">1300</code> to <code translate="no" dir="ltr">8896</code>. The default is <code translate="no" dir="ltr">1460</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="terraform-google-modules/terraform-google-network/examples/basic_auto_mode/main.tf/HEAD/vpc_auto_create" data-code-snippet="true" data-github-includecode-link="https://github.com/terraform-google-modules/terraform-google-network/blob/HEAD/examples/basic_auto_mode/main.tf" feedback-context="{"language": "terraform", "region_tag": "vpc_auto_create", "snippet_file_url": "https://github.com/terraform-google-modules/terraform-google-network/blob/HEAD/examples/basic_auto_mode/main.tf"}" feedback-product="1634365" feedback-bucket="infraops" language="terraform" data-github-path="terraform-google-modules/terraform-google-network/examples/basic_auto_mode/main.tf" data-git-revision="HEAD" data-region-tag="vpc_auto_create" dir="ltr" is-upgraded><code translate="no" dir="ltr">resource "google_compute_network" "vpc_network" { project = var.project_id # Replace this with your project ID in quotes name = "my-auto-mode-network" auto_create_subnetworks = true mtu = 1460 }</code></pre></devsite-code> </div> <p>To learn how to apply or remove a Terraform configuration, see <a href="/docs/terraform/basic-commands">Basic Terraform commands</a>.</p></section> <section><h3 id="api" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">POST</code> request to the <a href="/compute/docs/reference/rest/v1/networks/insert"><code translate="no" dir="ltr">networks.insert</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> POST https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/global/networks { "autoCreateSubnetworks": true, "name": "auto-network1", "mtu": <var translate="no">MTU</var> }</pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project where the VPC network is created.</li> <li><code translate="no" dir="ltr"><var translate="no">MTU</var></code>: the maximum transmission unit (MTU), which is the largest packet size of the network. MTU can be set to any value from <code translate="no" dir="ltr">1300</code> to <code translate="no" dir="ltr">8896</code>. The default is <code translate="no" dir="ltr">1460</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</li> </ul> <p>To specify the <a href="/network-connectivity/docs/router/concepts/learned-routes#dynamic-routing-mode-effects-on-learned-routes">dynamic routing mode</a> of the VPC network, include the <code translate="no" dir="ltr">routingConfig</code> field:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> POST https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/global/networks { "routingConfig": { "routingMode": "<var translate="no">DYNAMIC_ROUTING_MODE</var>" }, "autoCreateSubnetworks": true, "name": "<var translate="no">NETWORK</var>", "mtu": <var translate="no">MTU</var> }</pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project where the VPC network is created.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: a name for the VPC network.</li> <li><code translate="no" dir="ltr"><var translate="no">DYNAMIC_ROUTING_MODE</var></code>: controls the behavior of Cloud Routers in the network. Can be either <code translate="no" dir="ltr">GLOBAL</code> or <code translate="no" dir="ltr">REGIONAL</code>. The default is <code translate="no" dir="ltr">REGIONAL</code>. For more information, see <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a>.</li> <li><code translate="no" dir="ltr"><var translate="no">MTU</var></code>: the maximum transmission unit (MTU), which is the largest packet size of the network. MTU can be set to any value from <code translate="no" dir="ltr">1300</code> to <code translate="no" dir="ltr">8896</code>. The default is <code translate="no" dir="ltr">1460</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</li> </ul></section> </div> <h3 id="create-custom-network" data-text="Create a custom mode VPC network with only IPv4 subnets" tabindex="-1">Create a custom mode VPC network with only IPv4 subnets</h3> <p>For custom mode VPC networks, create a network, then create the subnets that you want within a region. You do not have to specify subnets for all regions right away, or even at all, but you cannot create instances in a region that has no subnet defined. Finally, define the firewall rules for your network.</p> <p>To create a custom mode VPC network with only IPv4 subnets, follow these steps.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_1" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p></li> <li><p>Click <strong>Create VPC network</strong>.</p></li> <li><p>Enter a <strong>Name</strong> for the network.</p></li> <li><p><strong>Maximum transmission unit (MTU)</strong>: Choose whether the network has an MTU of <code translate="no" dir="ltr">1460</code> (default), <code translate="no" dir="ltr">1500</code>, or <code translate="no" dir="ltr">8896</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</p></li> <li><p>Choose <strong>Custom</strong> for the <strong>Subnet creation mode</strong>.</p></li> <li><p>In the <strong>New subnet</strong> section, specify the following configuration parameters for a subnet:</p> <ol> <li>Provide a <strong>Name</strong> for the subnet.</li> <li>Select a <strong>Region</strong>.</li> <li><p>Enter an <strong>IP address range</strong>. This is the <a href="/vpc/docs/vpc#vpc_networks_and_subnets">primary IPv4 range</a> for the subnet.</p> <p>If you select a range that is not an RFC 1918 address, confirm that the range doesn't conflict with an existing configuration. For more information, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</p></li> <li><p>To define a secondary range for the subnet, click <strong>Create secondary IP range</strong>.</p> <p>If you select a range that is not an RFC 1918 address, confirm that the range doesn't conflict with an existing configuration. For more information, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</p></li> <li><p><strong>Private Google Access</strong>: Choose whether to enable <a href="/vpc/docs/private-access-options">Private Google Access</a> for the subnet when you create it or later by editing it.</p></li> <li><p><strong>Flow logs</strong>: Choose whether to enable <a href="/vpc/docs/using-flow-logs">VPC flow logs</a> for the subnet when you create it or later by editing it.</p></li> <li><p>Click <strong>Done</strong>.</p></li> </ol></li> <li><p>To add more subnets, click <strong>Add subnet</strong> and repeat the previous steps. You can also <a href="#add-subnets">add more subnets</a> to the network after you have created the network.</p></li> <li><p>In the <strong>Firewall rules</strong> section, select zero or more predefined <a href="/vpc/docs/firewalls">firewall rules</a> in the <strong>IPv4 firewall rules</strong>. The rules address common use cases for connectivity to instances.</p> <p>If you don't select any predefined rules, you can <a href="/vpc/docs/using-firewalls">create your own firewall rules</a> after you create the network.</p> <p>Each predefined rule name starts with the name of the VPC network that you are creating, <code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>. In the <strong>IPv4 firewall rules</strong> tab, the predefined ingress firewall rule named <strong><code translate="no" dir="ltr"><var translate="no">NETWORK</var>-allow-custom</code></strong> is editable. On the right side of the row that contains the rule, click <strong>Edit</strong> to select subnets, add additional IPv4 ranges, and specify protocols and ports.</p> <p>The <strong><code translate="no" dir="ltr"><var translate="no">NETWORK</var>-allow-custom</code></strong> firewall rule is not automatically updated if you later add additional subnets. If you need firewall rules for the new subnets, you must update the firewall configuration to add the rules.</p></li> <li><p>Choose the <strong>Dynamic routing mode</strong> for the VPC network.</p> <p>For more information, see <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a>. You can <a href="#switch-dynamic-routing">change the dynamic routing mode</a> later.</p></li> <li><p>Click <strong>Create</strong>.</p></li> </ol></section> <section><h3 id="gcloud_1" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/create"><code translate="no" dir="ltr">networks create</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks create <var translate="no">NETWORK</var> \ --subnet-mode=custom \ --bgp-routing-mode=<var translate="no">DYNAMIC_ROUTING_MODE</var> \ --mtu=<var translate="no">MTU</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: a name for the VPC network.</li> <li><code translate="no" dir="ltr"><var translate="no">DYNAMIC_ROUTING_MODE</var></code>: controls the behavior of Cloud Routers in the network. Can be either <code translate="no" dir="ltr">global</code> or <code translate="no" dir="ltr">regional</code>. The default is <code translate="no" dir="ltr">regional</code>. For more information, see <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a>.</li> <li><code translate="no" dir="ltr"><var translate="no">MTU</var></code>: the maximum transmission unit (MTU), which is the largest packet size of the network. MTU can be set to any value from <code translate="no" dir="ltr">1300</code> to <code translate="no" dir="ltr">8896</code>. The default is <code translate="no" dir="ltr">1460</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</li> </ul> <p>Next, <a href="#add-subnets">add subnets</a> to your network.</p></section> <section><h3 id="terraform_1" data-text="Terraform" tabindex="-1">Terraform</h3><p>Use the <a href="https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_network"><code translate="no" dir="ltr">google_compute_network</code> Terraform resource</a>.</p> <p><code translate="no" dir="ltr"><var translate="no">MTU</var></code> is the maximum transmission unit, or largest packet size, of the network. MTU can be set to any value from <code translate="no" dir="ltr">1300</code> to <code translate="no" dir="ltr">8896</code>. The default is <code translate="no" dir="ltr">1460</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="terraform-google-modules/terraform-google-network/examples/basic_custom_mode/main.tf/HEAD/vpc_custom_create" data-code-snippet="true" data-github-includecode-link="https://github.com/terraform-google-modules/terraform-google-network/blob/HEAD/examples/basic_custom_mode/main.tf" feedback-context="{"language": "terraform", "region_tag": "vpc_auto_create", "snippet_file_url": "https://github.com/terraform-google-modules/terraform-google-network/blob/HEAD/examples/basic_custom_mode/main.tf"}" feedback-product="1634365" feedback-bucket="infraops" language="terraform" data-github-path="terraform-google-modules/terraform-google-network/examples/basic_custom_mode/main.tf" data-git-revision="HEAD" data-region-tag="vpc_custom_create" dir="ltr" is-upgraded><code translate="no" dir="ltr">resource "google_compute_network" "vpc_network" { project = var.project_id # Replace this with your project ID in quotes name = "my-custom-mode-network" auto_create_subnetworks = false mtu = 1460 }</code></pre></devsite-code> </div> <p>Next, <a href="#add-subnets">add subnets</a> to your network.</p> <p>To learn how to apply or remove a Terraform configuration, see <a href="/docs/terraform/basic-commands">Basic Terraform commands</a>.</p></section> <section><h3 id="api_1" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">POST</code> request to the <a href="/compute/docs/reference/rest/v1/networks/insert"><code translate="no" dir="ltr">networks.insert</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> POST https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/global/networks { "autoCreateSubnetworks": false, "name": "<var translate="no">NETWORK</var>", "mtu": <var translate="no">MTU</var>, "routingConfig": { "routingMode": "<var translate="no">DYNAMIC_ROUTING_MODE</var>" } } </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project where the VPC network is created.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: a name for the VPC network.</li> <li><code translate="no" dir="ltr"><var translate="no">DYNAMIC_ROUTING_MODE</var></code>: controls the behavior of Cloud Routers in the network. Can be either <code translate="no" dir="ltr">GLOBAL</code> or <code translate="no" dir="ltr">REGIONAL</code>. The default is <code translate="no" dir="ltr">REGIONAL</code>. For more information, see <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a>.</li> <li><code translate="no" dir="ltr"><var translate="no">MTU</var></code>: the maximum transmission unit (MTU), which is the largest packet size of the network. MTU can be set to any value from <code translate="no" dir="ltr">1300</code> to <code translate="no" dir="ltr">8896</code>. The default is <code translate="no" dir="ltr">1460</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</li> </ul> <p>Next, <a href="#add-subnets">add subnets</a> to your network.</p></section> </div> <h3 id="create-network-dual" data-text="Create a custom mode VPC network with a dual-stack subnet" tabindex="-1">Create a custom mode VPC network with a dual-stack subnet</h3> <p>You can create subnets when you create the network, or you can add them later.</p> <p>A subnet can have one of the following configurations for its primary IP address ranges:</p> <ul> <li>Single-stack: Internal IPv4 range only</li> <li>Dual-stack: Internal IPv4 range and <em>internal</em> IPv6 range</li> <li>Dual-stack: Internal IPv4 range and <em>external</em> IPv6 range</li> </ul> <p>Each subnet in a VPC network can have a different configuration; you do not need to configure them all as dual-stack, for example.</p> <p>To configure subnets with internal IPv6 ranges, enable a VPC network ULA internal IPv6 range. Internal IPv6 subnet ranges are allocated from this range.</p> <p>To create a custom mode VPC network with a dual-stack subnet, follow these steps.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_2" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p></li> <li><p>Click <strong>Create VPC network</strong>.</p></li> <li><p>Enter a <strong>Name</strong> for the network.</p></li> <li><p><strong>Maximum transmission unit (MTU)</strong>: Choose whether the network has an MTU of <code translate="no" dir="ltr">1460</code> (default), <code translate="no" dir="ltr">1500</code>, or <code translate="no" dir="ltr">8896</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</p></li> <li><p>For <strong>Subnet creation mode</strong>, choose <strong>Custom</strong>.</p></li> <li><p>If you want to configure internal IPv6 address ranges on subnets in this network, complete these steps:</p> <ol> <li>In the <strong>Private IPv6 address settings</strong> section, select <strong>Configure a ULA internal IPv6 range for this VPC Network</strong>.</li> <li><p>For <strong>Allocate internal IPv6 range</strong>, select <strong>Automatically</strong> or <strong>Manually</strong>.</p> <p>If you select <strong>Manually</strong>, enter a <code translate="no" dir="ltr">/48</code> range from within the <code translate="no" dir="ltr">fd20::/20</code> range. If the range is in use, you are prompted to provide a different range.</p></li> </ol></li> <li><p>In the <strong>New subnet</strong> section, specify the following configuration parameters for a subnet:</p> <ol> <li>Provide a <strong>Name</strong> for the subnet.</li> <li>Select a <strong>Region</strong>.</li> <li>To create a dual-stack subnet, for <strong>IP stack type</strong>, select <strong>IPv4 and IPv6 (dual-stack)</strong>.</li> <li><p>Enter an <strong>IPv4 range</strong>. This is the <a href="/vpc/docs/vpc#vpc_networks_and_subnets">primary IPv4 range</a> for the subnet.</p> <p>If you select a range that is not an RFC 1918 address, confirm that the range doesn't conflict with an existing configuration. For more information, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</p></li> <li><p>Select an <strong>IPv6 access type</strong>: <strong>External</strong> or <strong>Internal</strong>.</p></li> <li><p>Click <strong>Done</strong>.</p></li> </ol></li> <li><p>To add more subnets, click <strong>Add subnet</strong> and repeat the previous steps.</p> <p>Each subnet in a VPC network can have different stack type and IPv6 access type configurations. You do not need to configure all subnets in a given network as dual-stack subnets.</p> <p>You can also <a href="#add-subnets">add more single-stack</a> or <a href="#add-subnet-ipv6">dual stack</a> subnets to the network after you create the network.</p></li> <li><p>In the <strong>Firewall rules</strong> section, select zero or more predefined <a href="/vpc/docs/firewalls">firewall rules</a> in the <strong>IPv4 firewall rules</strong> and <strong>IPv6 firewall rules</strong> tabs. The rules address common use cases for connectivity to instances.</p> <p>If you don't select any predefined rules, you can <a href="/vpc/docs/using-firewalls">create your own firewall rules</a> after you create the network.</p> <p>Each predefined rule name starts with the name of the VPC network that you are creating, <code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>. In both the <strong>IPv4 firewall rules</strong> tab and the <strong>IPv6 firewall rules</strong> tab, there is an editable predefined ingress firewall rule; the IPv4 rule is named <strong><code translate="no" dir="ltr"><var translate="no">NETWORK</var>-allow-custom</code></strong> and the IPv6 rule is named <strong><code translate="no" dir="ltr"><var translate="no">NETWORK</var>-allow-ipv6-custom</code></strong>. On the right side of the row that contains the rule, click <strong>Edit</strong> to select subnets, add additional IP ranges, and specify protocols and ports.</p> <p>The <strong><code translate="no" dir="ltr"><var translate="no">NETWORK</var>-allow-custom</code></strong> and <strong><code translate="no" dir="ltr"><var translate="no">NETWORK</var>-allow-ipv6-custom</code></strong> firewall rule are not automatically updated if you later add additional subnets. If you need firewall rules for the new subnets, you must update the firewall configuration to add the rules.</p></li> <li><p>Choose the <strong>Dynamic routing mode</strong> for the VPC network.</p> <p>For more information, see <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a>. You can <a href="#switch-dynamic-routing">change the dynamic routing mode</a> later.</p></li> <li><p>Click <strong>Create</strong>.</p></li> </ol></section> <section><h3 id="gcloud_2" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/create"><code translate="no" dir="ltr">networks create</code> command</a>. After you have created the network, you can add <a href="#add-subnets">IPv4 only subnets</a> and <a href="#add-subnet-ipv6">dual-stack subnets</a> to it.</p> <p>If you want to configure <em>internal</em> IPv6 ranges on any subnets in this network, use the <code translate="no" dir="ltr">--enable-ula-internal-ipv6</code> flag. This option assigns a <code translate="no" dir="ltr">/48</code> ULA prefix from within the <code translate="no" dir="ltr">fd20::/20</code> range used by Google for internal IPv6 subnet ranges. If you want to select the <code translate="no" dir="ltr">/48</code> IPv6 range that is assigned, use the <code translate="no" dir="ltr">--internal-ipv6-range</code> flag to specify a range.</p> <p>You can omit both flags if you want to configure only <em>external</em> IPv6 on subnets in this VPC network.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks create <var translate="no">NETWORK</var> \ --subnet-mode=custom \ [ --enable-ula-internal-ipv6 [ --internal-ipv6-range=<var translate="no">ULA_IPV6_RANGE</var> ]] \ --bgp-routing-mode=<var translate="no">DYNAMIC_ROUTING_MODE</var> \ --mtu=<var translate="no">MTU</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><p><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: a name for the VPC network.</p></li> <li><p><code translate="no" dir="ltr"><var translate="no">ULA_IPV6_RANGE</var></code>: a <code translate="no" dir="ltr">/48</code> prefix from within the <code translate="no" dir="ltr">fd20::/20</code> range used by Google for internal IPv6 subnet ranges. If you don't use the <code translate="no" dir="ltr">--internal-ipv6-range</code> flag, Google selects a <code translate="no" dir="ltr">/48</code> prefix for the network.</p></li> <li><p><code translate="no" dir="ltr"><var translate="no">DYNAMIC_ROUTING_MODE</var></code>: controls the behavior of Cloud Routers in the network. Can be either <code translate="no" dir="ltr">global</code> or <code translate="no" dir="ltr">regional</code>. The default is <code translate="no" dir="ltr">regional</code>. For more information, see <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a>.</p></li> <li><p><code translate="no" dir="ltr"><var translate="no">MTU</var></code>: the maximum transmission unit (MTU), which is the largest packet size of the network. MTU can be set to any value from <code translate="no" dir="ltr">1300</code> to <code translate="no" dir="ltr">8896</code>. The default is <code translate="no" dir="ltr">1460</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</p></li> </ul></section> <section><h3 id="api_2" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">POST</code> request to the <a href="/compute/docs/reference/rest/v1/networks/insert"><code translate="no" dir="ltr">networks.insert</code> method</a>. After you have created the network, you can add <a href="#add-subnets">IPv4 only subnets</a> and <a href="#add-subnet-ipv6">dual-stack subnets</a> to it.</p> <p>If you want to configure <em>internal</em> IPv6 ranges on any subnets in this network, set <code translate="no" dir="ltr">enableUlaInternalIpv6</code> to true. This option assigns a <code translate="no" dir="ltr">/48</code> range from within the <code translate="no" dir="ltr">fd20::/20</code> range used by Google for internal IPv6 subnet ranges. If you want to select which <code translate="no" dir="ltr">/48</code> IPv6 range that is assigned, also use the <code translate="no" dir="ltr">internalIpv6Range</code> field to specify a range.</p> <p>You can omit both fields if you want to configure only <em>external</em> IPv6 on subnets in this VPC network.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> POST https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/global/networks { "autoCreateSubnetworks": false, "name": "<var translate="no">NETWORK</var>", "mtu": <var translate="no">MTU</var>, "enableUlaInternalIpv6": true, "internalIpv6Range": "<var translate="no">ULA_IPV6_RANGE</var>", "routingConfig": { "routingMode": "<var translate="no">DYNAMIC_ROUTING_MODE</var>" } } </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project where the VPC network is created.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: a name for the VPC network.</li> <li><code translate="no" dir="ltr"><var translate="no">MTU</var></code>: the maximum transmission unit (MTU), which is the largest packet size of the network. MTU can be set to any value from <code translate="no" dir="ltr">1300</code> to <code translate="no" dir="ltr">8896</code>. The default is <code translate="no" dir="ltr">1460</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</li> <li><code translate="no" dir="ltr"><var translate="no">ULA_IPV6_RANGE</var></code>: a <code translate="no" dir="ltr">/48</code> prefix from within the <code translate="no" dir="ltr">fd20::/20</code> range used by Google for internal IPv6 subnet ranges. If you don't provide a value for <code translate="no" dir="ltr">internalIpv6Range</code>, Google selects a <code translate="no" dir="ltr">/48</code> prefix for the network.</li> <li><code translate="no" dir="ltr"><var translate="no">DYNAMIC_ROUTING_MODE</var></code>: controls the behavior of Cloud Routers in the network. Can be either <code translate="no" dir="ltr">GLOBAL</code> or <code translate="no" dir="ltr">REGIONAL</code>. The default is <code translate="no" dir="ltr">REGIONAL</code>. For more information, see <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a>.</li> </ul></section> </div> <h3 id="about_firewall_rules" data-text="About firewall rules" tabindex="-1">About firewall rules</h3> <p>After you create a network, <a href="/vpc/docs/using-firewalls">create firewall rules</a> to allow or deny traffic between resources in the network, such as communication between VM instances. You also use firewall rules to control what traffic leaves or enters the VPC network to or from the internet.</p> <h2 id="viewing-networks" data-text="View networks" tabindex="-1">View networks</h2> <p>View the VPC and legacy networks in your project. For VPC networks, you can view information about their subnets and their subnet creation mode.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_3" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p> <p>The console lists all of your VPC and legacy networks.</p></li> <li><p>Select a VPC network to view its details, such as its peering connections and subnets.</p></li> </ol></section> <section><h3 id="gcloud_3" data-text=" gcloud " tabindex="-1"> gcloud </h3><ol> <li><p>To list the networks in your project, use the <a href="/sdk/gcloud/reference/compute/networks/list"><code translate="no" dir="ltr">networks list</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks list </pre></devsite-code> <p>The command lists all of your VPC and legacy networks. Legacy networks show a subnet creation mode of <code translate="no" dir="ltr">LEGACY</code>, while VPC networks show either <code translate="no" dir="ltr">AUTO</code> or <code translate="no" dir="ltr">CUSTOM</code>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> NAME SUBNET_MODE BGP_ROUTING_MODE IPV4_RANGE GATEWAY_IPV4 custom-network CUSTOM REGIONAL default AUTO REGIONAL legacy-network1 LEGACY REGIONAL 10.240.0.0/16 10.240.0.1 </pre></devsite-code></li> <li><p>To describe a network and view its details, such as peering connections and subnets, use the <a href="/sdk/gcloud/reference/compute/networks/describe"><code translate="no" dir="ltr">networks describe</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks describe <var translate="no">NETWORK</var> </pre></devsite-code> <p>Replace <code translate="no" dir="ltr"><var translate="no">NETWORK</var></code> with the name of the network.</p></li> </ol></section> <section><h3 id="api_3" data-text=" API " tabindex="-1"> API </h3><ol> <li><p>To list all networks in your project, make a <code translate="no" dir="ltr">GET</code> request to the <a href="/compute/docs/reference/rest/v1/networks/list"><code translate="no" dir="ltr">networks.list</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> GET https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/global/networks </pre></devsite-code> <p>Replace <code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code> with the ID of the project that contains the VPC networks to list.</p></li> <li><p>To describe a network and view its details, make a <code translate="no" dir="ltr">GET</code> request to the <a href="/compute/docs/reference/rest/v1/networks/get"><code translate="no" dir="ltr">networks.get</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> GET https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/global/networks/<var translate="no">NETWORK</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the VPC network.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: the name of the VPC network to describe.</li> </ul></li> </ol></section> </div> <h2 id="subnet-rules" data-text="Work with subnets" tabindex="-1">Work with subnets</h2> <p>The following sections describe how to create and manage subnets.</p> <h3 id="listing_existing_subnets" data-text="List subnets" tabindex="-1">List subnets</h3> <p>You can see all the subnets that exist for a project.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_4" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p></li> <li><p>To view subnets, do one of the following:</p> <ul> <li><p>Click the name of a network, and then click the <strong>Subnets</strong> tab on the <strong>VPC network details</strong> page.</p> <p>This view lets you add new subnets and modify other configurations for a single selected network.</p></li> <li><p>Click the <strong>Subnets in current project</strong> tab and select one or more networks from the <strong>VPC networks</strong> list.</p> <p>This view lets you list the subnets in more than one network.</p></li> </ul></li> </ol></section> <section><h3 id="gcloud_4" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>You can list all subnets in all networks in your project, or you can show only the subnets for a particular network or region. The following examples demonstrate how to use the <a href="/sdk/gcloud/reference/compute/networks/subnets/list"><code translate="no" dir="ltr">subnets list</code> command</a>.</p> <ul> <li><p>To list all subnets in all VPC networks, use the following command:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets list </pre></devsite-code></li> <li><p>To list all subnets in a particular VPC network, use the following command:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets list \ --network=<var translate="no">NETWORK</var> </pre></devsite-code> <p>Replace <code translate="no" dir="ltr"><var translate="no">NETWORK</var></code> with the name of the network.</p></li> <li><p>To list all subnets in a particular region, use the following command:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets list \ --filter="region:( <var translate="no">REGION</var> … )" </pre></devsite-code> <p>Replace <code translate="no" dir="ltr"><var translate="no">REGION</var></code> with the name of the region.</p></li> </ul></section> <section><h3 id="api_4" data-text=" API " tabindex="-1"> API </h3><p>To list all subnets in your project, make a <code translate="no" dir="ltr">GET</code> request to the <a href="/compute/docs/reference/rest/v1/subnetworks/aggregatedList"><code translate="no" dir="ltr">subnetworks.aggregatedList</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> GET https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/aggregated/subnetworks </pre></devsite-code> <p>Replace <code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code> with the ID of the project that contains the subnets to list.</p></section> </div> <h3 id="describing_an_existing_subnet" data-text="Describe a subnet" tabindex="-1">Describe a subnet</h3> <p>You can view the details of an existing subnet—such as its primary IPv4 ranges, secondary IP ranges, IPv6 ranges, and region—by following the steps in this section.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_5" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p> <p>All networks and subnets in your project are presented in a hierarchical view, where subnets are shown as entries within networks.</p></li> <li><p>To focus on subnets for a particular network, click the name of a network. On its <em>VPC network details</em> page, click the name of a subnet in the <strong>Subnets</strong> tab to view its <em>Subnet details</em> page.</p></li> </ol></section> <section><h3 id="gcloud_5" data-text=" gcloud " tabindex="-1"> gcloud </h3><ol> <li><p><a href="#listing_existing_subnets">List subnets</a> to determine the names and regions of existing subnets in your project.</p></li> <li><p>Use the <a href="/sdk/gcloud/reference/compute/networks/subnets/describe"><code translate="no" dir="ltr">subnets describe</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets describe <var translate="no">SUBNET</var> \ --region=<var translate="no">REGION</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the subnet to describe</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the region of the subnet to describe</li> </ul></li> </ol></section> <section><h3 id="api_5" data-text=" API " tabindex="-1"> API </h3><ol> <li><p>To list subnets in a particular region and find a subnet's name, make a <code translate="no" dir="ltr">GET</code> request to the <a href="/compute/docs/reference/rest/v1/subnetworks/list"><code translate="no" dir="ltr">subnetworks.list</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> GET https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/regions/<var translate="no">REGION</var>/subnetworks </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the subnets to list.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the name of the Google Cloud region that contains the subnets to list.</li> </ul></li> <li><p>Make a <code translate="no" dir="ltr">GET</code> request to the <a href="/compute/docs/reference/rest/v1/subnetworks/get"><code translate="no" dir="ltr">subnetworks.get</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> GET https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/regions/<var translate="no">REGION</var>/subnetworks/<var translate="no">SUBNET</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the subnet to describe.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the name of the Google Cloud region that contains the subnet to describe.</li> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet to describe.</li> </ul></li> </ol></section> </div> <h3 id="add-subnets" data-text="Add an IPv4 only subnet" tabindex="-1">Add an IPv4 only subnet</h3> <p>When you create a subnet, you set a name, a region, and at least a primary IPv4 address range according to the <a href="/vpc/docs/subnets#subnet-name-limitations">name</a> and <a href="/vpc/docs/subnets#ipv4-range-limitations">IPv4 subnet range</a> limitations.</p> <p>To create an IPv4-only subnet, do the following.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_6" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p></li> <li><p>Click the name of a VPC network to show its <em>VPC network details</em> page.</p></li> <li><p>Click <strong>Add subnet</strong>. In the panel that appears:</p> <ol> <li>Provide a <strong>Name</strong>.</li> <li>Select a <strong>Region</strong>.</li> <li><p>Enter an <strong>IP address range</strong>. This is the <a href="/vpc/docs/vpc#vpc_networks_and_subnets">primary IPv4 range</a> for the subnet.</p> <p>If you select a range that is not an RFC 1918 address, confirm that the range doesn't conflict with an existing configuration. For more information, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</p></li> <li><p>To define a secondary range for the subnet, click <strong>Create secondary IP range</strong>.</p> <p>If you select a range that is not an RFC 1918 address, confirm that the range doesn't conflict with an existing configuration. For more information, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</p></li> <li><p><strong>Private Google access</strong>: You can enable <a href="/vpc/docs/private-access-options">Private Google Access</a> for the subnet when you create it or later by editing it.</p></li> <li><p><strong>Flow logs</strong>: You can enable <a href="/vpc/docs/using-flow-logs">VPC flow logs</a> for the subnet when you create it or later by editing it.</p></li> <li><p>Click <strong>Add</strong>.</p></li> </ol></li> </ol></section> <section><h3 id="gcloud_6" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/subnets/create"><code translate="no" dir="ltr">subnets create</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets create <var translate="no">SUBNET</var> \ --network=<var translate="no">NETWORK</var> \ --range=<var translate="no">PRIMARY_RANGE</var> \ --region=<var translate="no">REGION</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: a name for the new subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: the name of the VPC network that contains the new subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">PRIMARY_RANGE</var></code>: the primary IPv4 range for the new subnet, in CIDR notation. For more information, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the Google Cloud region in which the new subnet is created.</li> </ul> <p>You can modify the preceding command with the following optional flags:</p> <ul> <li><code translate="no" dir="ltr">--secondary-range=<var translate="no">SECONDARY_RANGE_NAME</var>=<var translate="no">SECONDARY_RANGE</var></code>: Replace <code translate="no" dir="ltr"><var translate="no">SECONDARY_RANGE_NAME</var></code> with a name for the secondary range. Replace <code translate="no" dir="ltr"><var translate="no">SECONDARY_RANGE</var></code> with a secondary range in CIDR notation. The <a href="/vpc/docs/quota#per_network">per network limits</a> describe the maximum number of secondary ranges that you can define for each subnet.</li> <li><code translate="no" dir="ltr">--enable-flow-logs</code>: Enables <a href="/vpc/docs/using-flow-logs">VPC Flow Logs</a> in the subnet at creation time.</li> <li><code translate="no" dir="ltr">--enable-private-ip-google-access</code>: Enables <a href="/vpc/docs/private-access-options">Private Google Access</a> in the subnet at creation time.</li> <li><code translate="no" dir="ltr">--purpose</code>: Enables you to specify the <a href="/vpc/docs/subnets#purpose">purpose of the subnet</a>.</li> <li><code translate="no" dir="ltr">--role</code>: Enables you to specify a role (active or backup) for a <a href="/load-balancing/docs/proxy-only-subnets">proxy-only subnet</a>.</li> </ul> <p>Next, create <a href="/firewall/docs/using-firewalls#creating_firewall_rules">firewall rules</a>.</p></section> <section><h3 id="terraform_2" data-text="Terraform" tabindex="-1">Terraform</h3><p>Use a <a href="https://github.com/terraform-google-modules/terraform-google-network">Terraform module</a>.</p> <p><code translate="no" dir="ltr"><var translate="no">MTU</var></code> is the maximum transmission unit, or largest packet size, of the network. MTU can be set to any value from <code translate="no" dir="ltr">1300</code> to <code translate="no" dir="ltr">8896</code>. The default is <code translate="no" dir="ltr">1460</code>. Before setting the MTU to a value higher than <code translate="no" dir="ltr">1460</code>, review <a href="/vpc/docs/mtu">Maximum transmission unit</a>.</p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="terraform-google-modules/terraform-google-network/examples/simple_project/main.tf/HEAD/vpc_custom_create" data-code-snippet="true" data-github-includecode-link="https://github.com/terraform-google-modules/terraform-google-network/blob/HEAD/examples/simple_project/main.tf" feedback-context="{"language": "terraform", "region_tag": "vpc_auto_create", "snippet_file_url": "https://github.com/terraform-google-modules/terraform-google-network/blob/HEAD/examples/simple_project/main.tf"}" feedback-product="1634365" feedback-bucket="infraops" language="terraform" data-github-path="terraform-google-modules/terraform-google-network/examples/simple_project/main.tf" data-git-revision="HEAD" data-region-tag="vpc_custom_create" dir="ltr" is-upgraded><code translate="no" dir="ltr">module "test-vpc-module" { source = "terraform-google-modules/network/google" version = "~> 9.0" project_id = var.project_id # Replace this with your project ID in quotes network_name = "my-custom-mode-network" mtu = 1460 subnets = [ { subnet_name = "subnet-01" subnet_ip = "10.10.10.0/24" subnet_region = "us-west1" }, { subnet_name = "subnet-02" subnet_ip = "10.10.20.0/24" subnet_region = "us-west1" subnet_private_access = "true" subnet_flow_logs = "true" }, { subnet_name = "subnet-03" subnet_ip = "10.10.30.0/24" subnet_region = "us-west1" subnet_flow_logs = "true" subnet_flow_logs_interval = "INTERVAL_10_MIN" subnet_flow_logs_sampling = 0.7 subnet_flow_logs_metadata = "INCLUDE_ALL_METADATA" subnet_flow_logs_filter = "false" } ] }</code></pre></devsite-code> </div> <p>Next, create <a href="/vpc/docs/using-firewalls#creating_firewall_rules">firewall rules</a>.</p></section> <section><h3 id="api_6" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">POST</code> request to the <a href="/compute/docs/reference/rest/v1/subnetworks/insert"><code translate="no" dir="ltr">subnetworks.insert</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> POST https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/regions/<var translate="no">REGION</var>/subnetworks { "ipCidrRange": "<var translate="no">IP_RANGE</var>", "network": "<var translate="no">NETWORK_URL</var>", "name": "<var translate="no">SUBNET</var>" } </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the VPC network to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the name of the Google Cloud region where the subnet is added.</li> <li><code translate="no" dir="ltr"><var translate="no">IP_RANGE</var></code>: the primary IPv4 address range for the subnet. For more information, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK_URL</var></code>: the URL of the VPC network where you're adding the subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: a name for the subnet.</li> </ul> <p>Next, create <a href="/vpc/docs/using-firewalls#creating_firewall_rules">firewall rules</a>.</p></section> </div> <h3 id="add-subnet-ipv6" data-text="Add a dual-stack subnet" tabindex="-1">Add a dual-stack subnet</h3> <p>Dual-stack subnets have both IPv4 and IPv6 address ranges.</p> <p>You can create a subnet with <a href="/vpc/docs/subnets#ipv6-ranges">external or internal IPv6 addresses</a> enabled. Configuring an IPv6 range on a subnet does not configure IPv6 on VMs that you connect to that subnet. For more information about configuring IPv6 on VMs, see <a href="/compute/docs/ip-addresses/configure-ipv6-address">configure IPv6 addresses on VMs</a>.</p> <p>To create a dual-stack subnet, do the following.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_7" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p></li> <li><p>Click the name of a VPC network to show its <em>VPC network details</em> page.</p></li> <li><p>Click <strong>Add subnet</strong>. In the panel that appears:</p> <ol> <li>Provide a <strong>Name</strong>.</li> <li>Select a <strong>Region</strong>.</li> <li>For <strong>IP stack type</strong>, select <strong>IPv4 and IPv6 (dual-stack)</strong>.</li> <li><p>Enter an <strong>IPv4 range</strong>. This is the <a href="/vpc/docs/vpc#vpc_networks_and_subnets">primary IPv4 range</a> for the subnet.</p> <p>If you select a range that is not an RFC 1918 address, confirm that the range doesn't conflict with an existing configuration. For more information, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</p></li> <li><p>Select an <strong>IPv6 access type</strong>: <strong>Internal</strong> or <strong>External</strong>.</p> <p>If you want to set the access type to <strong>Internal</strong>, but the <strong>Internal</strong> option is not available, check that <a href="#enable-internal-ipv6-network">an internal IPv6 range is assigned</a> on the network.</p></li> <li><p>Click <strong>Add</strong>.</p></li> </ol></li> </ol></section> <section><h3 id="gcloud_7" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/subnets/create"><code translate="no" dir="ltr">subnets create</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets create <var translate="no">SUBNET</var> \ --network=<var translate="no">NETWORK</var> \ --range=<var translate="no">PRIMARY_IPv4_RANGE</var> \ --stack-type=IPV4_IPV6 \ --ipv6-access-type=<var translate="no">IPv6_ACCESS_TYPE</var> \ --region=<var translate="no">REGION</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: a name for the new subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: the name of the VPC network that will contain the new subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">PRIMARY_IPv4_RANGE</var></code>: the primary IPv4 range for the new subnet, in CIDR notation. For more information, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</li> <li><code translate="no" dir="ltr"><var translate="no">IPv6_ACCESS_TYPE</var></code>: the IPv6 access type. It can be <code translate="no" dir="ltr">EXTERNAL</code> or <code translate="no" dir="ltr">INTERNAL</code>.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the Google Cloud region in which the new subnet will be created.</li> </ul></section> <section><h3 id="api_7" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">POST</code> request to the <a href="/compute/docs/reference/rest/v1/subnetworks/insert"><code translate="no" dir="ltr">subnetworks.insert</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> POST https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/regions/<var translate="no">REGION</var>/subnetworks { "ipCidrRange": "<var translate="no">IP_RANGE</var>", "network": "<var translate="no">NETWORK_URL</var>", "name": "<var translate="no">SUBNET</var>" "stackType": IPV4_IPV6, "ipv6AccessType": <var translate="no">IPv6_ACCESS_TYPE</var> } </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the VPC network to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the name of the Google Cloud region where the subnet is added.</li> <li><code translate="no" dir="ltr"><var translate="no">IP_RANGE</var></code>: the primary IPv4 address range for the subnet. For more information, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK_URL</var></code>: the URL of the VPC network where you're adding the subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: a name for the subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">IPv6_ACCESS_TYPE</var></code>: the IPv6 access type. It can be <code translate="no" dir="ltr">EXTERNAL</code> or <code translate="no" dir="ltr">INTERNAL</code>.</li> </ul></section> </div> <h3 id="subnet-enable-ipv6" data-text="Change a subnet's stack type to dual-stack" tabindex="-1">Change a subnet's stack type to dual-stack</h3> <p>Dual-stack subnets have both IPv4 and IPv6 subnet ranges. You can add either <a href="/vpc/docs/subnets#ipv6-ranges">an internal or an external IPv6 subnet range</a> to an existing IPv4 only subnet in a custom mode VPC network. For more information, see <a href="/vpc/docs/subnets#ipv6-ranges">IPv6 subnet ranges</a>.</p> <p>Adding an IPv6 subnet range to a subnet does not configure IPv6 on connected VMs. For information about configuring VMs, see <a href="/compute/docs/ip-addresses/configure-ipv6-address">configure IPv6 on VMs</a>.</p> <p>To change a subnet's stack type to dual-stack, do the following.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_8" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p></li> <li><p>Click the name of a network to view the <strong>VPC network details</strong> page.</p></li> <li><p>In the <strong>Subnets</strong> tab, click the name of the subnet that you want to modify.</p></li> <li><p>In the <strong>Subnet details</strong> page, click <strong>Edit</strong>.</p></li> <li><p>For <strong>IP stack type</strong>, select <strong>IPv4 and IPv6 (dual-stack)</strong>.</p></li> <li><p>Select an <strong>IPv6 access type</strong>: <strong>Internal</strong> or <strong>External</strong>.</p> <p>If you want to set the access type to <strong>Internal</strong>, but the <strong>Internal</strong> option is not available, check that <a href="#enable-internal-ipv6-network">an internal IPv6 range is assigned</a> for the network.</p></li> <li><p>Click <strong>Save</strong>.</p></li> </ol></section> <section><h3 id="gcloud_8" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/subnets/update"><code translate="no" dir="ltr">subnets update</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets update <var translate="no">SUBNET</var> \ --stack-type=IPV4_IPV6 \ --ipv6-access-type=<var translate="no">IPv6_ACCESS_TYPE</var> \ --region=<var translate="no">REGION</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the region of the subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">IPv6_ACCESS_TYPE</var></code>: the IPv6 access type of the subnet. It can be <code translate="no" dir="ltr">EXTERNAL</code> or <code translate="no" dir="ltr">INTERNAL</code>.</li> </ul></section> <section><h3 id="api_8" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">PATCH</code> request to the <a href="/compute/docs/reference/rest/v1/subnetworks/patch"><code translate="no" dir="ltr">subnetworks.patch</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> PATCH https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/regions/<var translate="no">REGION</var>/subnetworks/<var translate="no">SUBNET</var> { "stackType": IPV4_IPV6, "ipv6AccessType": <var translate="no">IPv6_ACCESS_TYPE</var> } </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the VPC network to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the subnet's region.</li> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">IPv6_ACCESS_TYPE</var></code>: the IPv6 access type. It can be <code translate="no" dir="ltr">EXTERNAL</code> or <code translate="no" dir="ltr">INTERNAL</code>.</li> </ul></section> </div> <p><a id="subnet-disable-ipv6"></a></p> <h3 id="subnet-change-stacktype" data-text="Change subnet stack type to IPv4 only" tabindex="-1">Change subnet stack type to IPv4 only</h3> <p>You can change a subnet's stack type from IPv4 and IPv6 (dual-stack) to IPv4 only (single-stack) if the IPv6 access type is <em>external</em>.</p> <p>If you make this change, you cannot create new dual-stack VMs that are connected to that subnet. However, existing dual-stack VMs are not affected. If you need to change a VM's stack type to be IPv4 only, see <a href="/compute/docs/ip-addresses/configure-ipv6-address#update-vm-stacktype">Change the stack type of a VM</a>.</p> <p>This change is supported in Google Cloud CLI and the API only.</p> <p>Changing the stack type from IPv4 and IPv6 (dual-stack) to IPv4 only (single-stack) is not supported if the IPv6 access type is <em>internal</em>.</p> <p>To change a subnet's stack type to IPv4 only, do the following.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="gcloud_9" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/subnets/update"><code translate="no" dir="ltr">subnets update</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets update <var translate="no">SUBNET</var> \ --stack-type=IPV4_ONLY \ --region=<var translate="no">REGION</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the subnet's Google Cloud region</li> </ul></section> <section><h3 id="api_9" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">PATCH</code> request to the <a href="/compute/docs/reference/rest/v1/subnetworks/patch"><code translate="no" dir="ltr">subnetworks.patch</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> PATCH https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/regions/<var translate="no">REGION</var>/subnetworks/<var translate="no">SUBNET</var> { "stackType": IPV4_ONLY, } </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the VPC network to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the subnet's Google Cloud region.</li> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet.</li> </ul></section> </div> <h3 id="deleting_subnets" data-text="Delete a subnet" tabindex="-1">Delete a subnet</h3> <p>Use the following directions to delete a manually created subnet. Before you can delete a subnet, you must delete all resources that use it. For example, you need to <a href="/compute/docs/instances/deleting-instance">delete VMs</a>, reserved internal IP addresses, internal forwarding rules, and Cloud NAT gateways that use the subnet.</p> <aside class="note"><strong>Note:</strong><span> For auto mode VPC networks, you <strong>cannot</strong> delete any of the automatically created subnets. However, you can <a href="#switch-network-mode">convert an auto mode VPC network to a custom mode VPC network</a> and then delete any unused automatically created subnets.</span></aside> <p>To delete a subnet, do the following.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_9" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p> <p>All networks and subnets in your project are presented in a hierarchical view, where subnets are shown as entries within networks.</p></li> <li><p>To view a particular network, click the name of a network. On its <strong>VPC network details</strong> page, click the name of a subnet in the <strong>Subnets</strong> tab to view its <strong>Subnet details</strong> page.</p></li> <li><p>Click <strong>Delete subnet</strong>.</p></li> <li><p>In the message that appears, click <strong>Delete</strong> to confirm.</p></li> </ol></section> <section><h3 id="gcloud_10" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/subnets/delete"><code translate="no" dir="ltr">subnets delete</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets delete <var translate="no">SUBNET</var> \ --region=<var translate="no">REGION</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet to delete.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the region of the subnet to delete.</li> </ul></section> <section><h3 id="api_10" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">DELETE</code> request to the <a href="/compute/docs/reference/rest/v1/subnetworks/delete"><code translate="no" dir="ltr">subnetworks.delete</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> DELETE https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/regions/<var translate="no">REGION</var>/subnetworks/<var translate="no">SUBNET</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the subnet to delete.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the name of the Google Cloud region that contains the subnet to delete.</li> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet to delete.</li> </ul></section> </div> <h3 id="expand-subnet" data-text="Expand a primary IPv4 range" tabindex="-1">Expand a primary IPv4 range</h3> <p>You can expand the primary IPv4 range of an existing subnet by modifying its subnet mask, setting the prefix length to a <em>smaller</em> number. The proposed new primary IPv4 range of the subnet must follow the rules listed in the <a href="/vpc/docs/subnets#ipv4-range-limitations">IPv4 subnet range limitations</a>.</p> <p>When expanding the IPv4 range of an automatically created subnet in an auto mode VPC network (or in a custom mode VPC network that was previously an auto mode VPC network), the broadest prefix (subnet mask) you can use is <code translate="no" dir="ltr">/16</code>. Any prefix broader than <code translate="no" dir="ltr">/16</code> would conflict with <a href="/vpc/docs/subnets#ip-ranges">the primary IPv4 ranges of the other automatically created subnets</a>.</p> <p>You can't expand subnets that are used exclusively for load balancer proxies. For more information, see <a href="/load-balancing/docs/proxy-only-subnets">Proxy-only subnets for load balancers</a>.</p> <p>Expanding the primary IPv4 range of a subnet can take several minutes to complete. During expansion, traffic within the subnet is <em>not</em> interrupted.</p> <p>If you expand the primary IPv4 range of a subnet, you might need to modify other configurations that are assuming this IP address range.</p> <ul> <li>If you have <a href="/vpc/docs/firewalls">VPC firewall rules</a> or <a href="/vpc/docs/firewall-policies-rule-details">firewall policy rules</a> that use the original IPv4 address range as a source or destination, add additional firewall rules to apply the same rules to the extended range.</li> <li>If a Google Kubernetes Engine (GKE) cluster uses the subnet whose primary IPv4 address range you expand, you must <a href="/kubernetes-engine/docs/how-to/authorized-networks#add">add the expanded IP range to the control plane authorized networks list</a>.</li> </ul> <aside class="caution"><strong>Caution:</strong><span> Expanding the primary IPv4 range of a subnet cannot be undone. You cannot shrink the primary IPv4 range of a subnet. Expand primary IPv4 ranges conservatively; you can always expand them again. Consider IPv4 address space in any networks to which your VPC network is or will be connected before you expand a subnet's primary IPv4 range.</span></aside> <p>To expand a subnet's primary IPv4 range, do the following.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_10" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p> <p>All networks and subnets in your project are presented in a hierarchical view, where subnets are shown as entries within networks.</p></li> <li><p>To focus on subnets for a particular network, click the name of a network. On its <strong>VPC network details</strong> page, click the name of a subnet in the <strong>Subnets</strong> tab to view its <strong>Subnet details</strong> page.</p></li> <li><p>Click <strong>Edit</strong>.</p></li> <li><p>Enter a new, broader CIDR block in the <strong>IP address range</strong> field.</p> <p>For valid ranges, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</p></li> <li><p>Click <strong>Save</strong>.</p></li> </ol></section> <section><h3 id="gcloud_11" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/subnets/expand-ip-range"><code translate="no" dir="ltr">subnets expand-ip-range</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets expand-ip-range <var translate="no">SUBNET</var> \ --region=<var translate="no">REGION</var> \ --prefix-length=<var translate="no">PREFIX_LENGTH</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the region in which the subnet is located.</li> <li><code translate="no" dir="ltr"><var translate="no">PREFIX_LENGTH</var></code>: a subnet mask size in bits. If the primary IPv4 range is <code translate="no" dir="ltr">10.1.2.0/24</code>, you can supply <code translate="no" dir="ltr">20</code> to reduce the subnet mask to 20 bits, which changes the primary IPv4 range to <code translate="no" dir="ltr">10.1.2.0/20</code>. For valid ranges, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</li> </ul></section> <section><h3 id="api_11" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">POST</code> request to the <a href="/compute/docs/reference/rest/v1/subnetworks/expandIpCidrRange"><code translate="no" dir="ltr">subnetworks.expandIpCidrRange</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> POST https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/regions/<var translate="no">REGION</var>/subnetworks/<var translate="no">SUBNET</var>/expandIpCidrRange { "ipCidrRange": "<var translate="no">IP_RANGE</var>" } </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the subnet to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the name of the Google Cloud region that contains the subnet to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">IP_RANGE</var></code>: the expanded IPv4 address range for the subnet. For valid ranges, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</li> </ul></section> </div> <h3 id="edit-secondary" data-text="Edit secondary IPv4 ranges" tabindex="-1">Edit secondary IPv4 ranges</h3> <p>You can add secondary IPv4 ranges to subnets, or you can remove any secondary IPv4 range as long as no resources are using IP addresses in it.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="gcloud_12" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>To add a new secondary IPv4 range to a subnet, use the <a href="/sdk/gcloud/reference/compute/networks/subnets/update"><code translate="no" dir="ltr">subnets update</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets update <var translate="no">SUBNET</var> \ --region=<var translate="no">REGION</var> \ --add-secondary-ranges=<var translate="no">SECONDARY_RANGE_NAME</var>=<var translate="no">SECONDARY_RANGE</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the region in which the subnet is located.</li> <li><code translate="no" dir="ltr"><var translate="no">SECONDARY_RANGE_NAME</var></code>: a name for the secondary range.</li> <li><code translate="no" dir="ltr"><var translate="no">SECONDARY_RANGE</var></code>: the secondary IPv4 range in CIDR notation. For valid ranges, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</li> </ul> <p>To remove a secondary IPv4 range from a subnet, use the <a href="/sdk/gcloud/reference/compute/networks/subnets/update"><code translate="no" dir="ltr">subnets update</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks subnets update <var translate="no">SUBNET</var> \ --region=<var translate="no">REGION</var> \ --remove-secondary-ranges=<var translate="no">SECONDARY_RANGE_NAME</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the region in which the subnet is located.</li> <li><code translate="no" dir="ltr"><var translate="no">SECONDARY_RANGE_NAME</var></code>: the name of the secondary range to remove.</li> </ul></section> <section><h3 id="api_12" data-text=" API " tabindex="-1"> API </h3><p>To modify secondary IPv4 address ranges for an existing subnet, make a <code translate="no" dir="ltr">PATCH</code> request to the <a href="/compute/docs/reference/rest/v1/subnetworks/patch"><code translate="no" dir="ltr">subnetworks.patch</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> PATCH https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/regions/<var translate="no">REGION</var>/subnetworks/<var translate="no">SUBNET</var> { "secondaryIpRanges": [ { "rangeName": "<var translate="no">SECONDARY_RANGE_NAME</var>", "ipCidrRange": "<var translate="no">IP_RANGE</var>" }, { "rangeName": "<var translate="no">SECONDARY_RANGE_NAME</var>", "ipCidrRange": "<var translate="no">IP_RANGE</var>" }], "fingerprint": "<var translate="no">SUBNETWORK_FINGERPRINT</var>" } </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the subnet to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">REGION</var></code>: the name of the Google Cloud region that contains the subnet to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">SUBNET</var></code>: the name of the subnet to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">SECONDARY_RANGE_NAME</var></code>: a name for the secondary IPv4 address range.</li> <li><code translate="no" dir="ltr"><var translate="no">IP_RANGE</var></code>: the expanded IPv4 address range for the subnet. For valid ranges, see <a href="/vpc/docs/subnets#manually_created_subnet_ip_ranges">IPv4 subnet ranges</a>.</li> <li><code translate="no" dir="ltr"><var translate="no">SUBNET_FINGERPRINT</var></code>: the fingerprint ID for the existing subnet, which is provided when you <a href="#describing_an_existing_subnet">describe a subnet</a>.</li> </ul></section> </div> <h2 id="modifying_a_vpc_network" data-text="Modify networks" tabindex="-1">Modify networks</h2> <h3 id="switch-network-mode" data-text="Convert an auto mode VPC network to custom mode" tabindex="-1">Convert an auto mode VPC network to custom mode</h3> <p>You can convert an auto mode VPC network to a custom mode VPC network using this procedure. Review the <a href="/vpc/docs/vpc#auto-mode-considerations">considerations for auto mode VPC networks</a> for background information about reasons why you might want to do this.</p> <p>Converting an auto mode VPC network to a custom mode VPC network <strong>preserves</strong> all of its automatically created subnets and any subnets you have added. Subnet names and IP ranges are not changed.</p> <aside class="special"><strong>Important:</strong><span> You cannot convert a custom mode VPC network to an auto mode VPC network. Conversion from auto to custom mode is a one-way process. Auto mode VPC networks that have been converted to custom mode operate as if they had been created in custom mode.</span></aside> <p>After you convert an auto mode VPC network to custom mode, you must review all API calls and gcloud CLI commands that implicitly reference any subnet that was automatically created while the network was in auto mode. API calls and commands will need to be modified so that they reference the subnet explicitly. For gcloud CLI commands that have a subnet specification flag (<code translate="no" dir="ltr">--subnet</code>), that flag is required to reference subnets in a custom mode VPC network.</p> <p>To convert an auto mode VPC network to a custom mode VPC network, do the following.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_11" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p></li> <li><p>Click the name of a VPC network to show its <strong>VPC network details</strong> page.</p></li> <li><p>Click <strong>Edit</strong>.</p></li> <li><p>In the <strong>Subnet creation mode</strong> section, choose <strong>Custom</strong>.</p></li> <li><p>Click <strong>Save</strong>.</p></li> </ol></section> <section><h3 id="gcloud_13" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/update"><code translate="no" dir="ltr">networks update</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks update <var translate="no">NETWORK</var> \ --switch-to-custom-subnet-mode </pre></devsite-code> <p>Replace <code translate="no" dir="ltr"><var translate="no">NETWORK</var></code> with the name of the network to update.</p></section> <section><h3 id="api_13" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">POST</code> request to the <a href="/compute/docs/reference/rest/v1/networks/switchToCustomMode"><code translate="no" dir="ltr">networks.switchToCustomMode</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> POST https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/global/networks/<var translate="no">NETWORK</var>/switchToCustomMode </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the VPC network to convert.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: the name of the VPC network to convert.</li> </ul></section> </div> <h3 id="enable-internal-ipv6-network" data-text="Assign an internal IPv6 range to a network" tabindex="-1">Assign an internal IPv6 range to a network</h3> <p>If you want to configure internal IPv6 addresses on a subnet, you must first enable internal IPv6 addresses on the VPC network. When you enable internal IPv6, a <code translate="no" dir="ltr">/48</code> unique local address (ULA) range is assigned to the network.</p> <p>After you've enabled an internal IPv6 range for your VPC network, you can <a href="#add-subnet-ipv6">add dual-stack subnets</a> or <a href="#subnet-enable-ipv6">convert an IPv4 subnet to a dual-stack subnet</a>.</p> <p>To assign an internal IPv6 range to a network, do the following.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_12" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p></li> <li><p>Click the name of a VPC network to show its <em>VPC network details</em> page.</p></li> <li><p>Click <strong>Edit</strong>.</p></li> <li><p>In the <strong>Private IPv6 address settings</strong> section, select <strong>Configure a ULA internal IPv6 range for this VPC Network</strong>.</p></li> <li><p>Optional: You can provide the prefix to use for the internal IPv6 range.</p> <ol> <li>For <strong>Allocate ULA internal IPv6 range</strong>, click <strong>Manually</strong>.</li> <li><p>Enter a <code translate="no" dir="ltr">/48</code> range from within the <code translate="no" dir="ltr">fd20::/20</code> range.</p> <p>If the range is in use, you are prompted to enter a different range.</p></li> </ol></li> <li><p>Click <strong>Save</strong>.</p></li> </ol></section> <section><h3 id="gcloud_14" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/update"><code translate="no" dir="ltr">networks update</code> command</a>.</p> <p>The <code translate="no" dir="ltr">--enable-ula-internal-ipv6</code> flag assigns a <code translate="no" dir="ltr">/48</code> prefix from within the <code translate="no" dir="ltr">fd20::/20</code> range used by Google for internal IPv6 subnet ranges. If you want to select the <code translate="no" dir="ltr">/48</code> IPv6 range that is assigned, use the <code translate="no" dir="ltr">--internal-ipv6-range</code> flag to specify a range.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks update <var translate="no">NAME</var> \ --enable-ula-internal-ipv6 \ [ --internal-ipv6-range=<var translate="no">ULA_IPV6_RANGE</var> ] </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">NAME</var></code>: the name of the VPC network.</li> <li><code translate="no" dir="ltr"><var translate="no">ULA_IPV6_RANGE</var></code>: the range of IPv6 addresses to which you need to allocate a ULA prefix.</li> </ul></section> <section><h3 id="api_14" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">PATCH</code> request to the <a href="/compute/docs/reference/rest/v1/networks/insert"><code translate="no" dir="ltr">networks.insert</code> method</a>.</p> <p>Setting <code translate="no" dir="ltr">enableUlaInternalIpv6</code> to true assigns a <code translate="no" dir="ltr">/48</code> range from within the <code translate="no" dir="ltr">fd20::/20</code> range used by Google for internal IPv6 subnet ranges. If you want to select which <code translate="no" dir="ltr">/48</code> IPv6 range is assigned, also use the <code translate="no" dir="ltr">internalIpv6Range</code> field to specify a range.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> PATCH https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/global/networksa/<var translate="no">NETWORK</var> { "enableUlaInternalIpv6": true, "internalIpv6Range": "<var translate="no">ULA_IPV6_RANGE</var>", } </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project where the VPC network is created.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: a name for the VPC network.</li> <li><code translate="no" dir="ltr"><var translate="no">ULA_IPV6_RANGE</var></code>: a <code translate="no" dir="ltr">/48</code> prefix from within the <code translate="no" dir="ltr">fd20::/20</code> range used by Google for internal IPv6 subnet ranges. If you don't provide a value for <code translate="no" dir="ltr">internalIpv6Range</code>, Google selects a <code translate="no" dir="ltr">/48</code> prefix for the network.</li> </ul></section> </div> <h3 id="switch-dynamic-routing" data-text="Change the dynamic routing mode" tabindex="-1">Change the dynamic routing mode</h3> <p>Each VPC network has an associated dynamic routing mode that controls the behavior of Cloud Routers in the network. Refer to the <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a> section in <em>VPC networks</em> to understand how each mode affects how Cloud Routers share routes and apply learned routes.</p> <aside class="caution"><strong>Caution:</strong><span> Changing the dynamic routing mode has the potential to interrupt traffic within the network, or enable or disable routes in unexpected ways. Carefully review the role of each Cloud Router before changing the dynamic routing mode.</span></aside> <p>To change a VPC network's dynamic routing mode, do the following.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_13" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p></li> <li><p>Click the name of a VPC network to show its <strong>VPC network details</strong> page.</p></li> <li><p>Click <strong>Edit</strong>.</p></li> <li><p>In the <strong>Dynamic routing mode</strong> section, choose either <strong>Global</strong> or <strong>Regional</strong>.</p></li> <li><p>Click <strong>Save</strong>.</p></li> </ol></section> <section><h3 id="gcloud_15" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/update"><code translate="no" dir="ltr">networks update</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks update <var translate="no">NETWORK</var> \ --bgp-routing-mode=<var translate="no">DYNAMIC_ROUTING_MODE</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: the name of the VPC network to update.</li> <li><code translate="no" dir="ltr"><var translate="no">DYNAMIC_ROUTING_MODE</var></code>: controls the behavior of Cloud Routers in the network. Can be either <code translate="no" dir="ltr">global</code> or <code translate="no" dir="ltr">regional</code>. The default is <code translate="no" dir="ltr">regional</code>. For more information, see <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a>.</li> </ul></section> <section><h3 id="api_15" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">PATCH</code> request to the <a href="/compute/docs/reference/rest/v1/subnetworks/patch"><code translate="no" dir="ltr">subnetworks.patch</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> PATCH https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/global/networks/<var translate="no">NETWORK</var> { "routingConfig": { "routingMode": "<var translate="no">ROUTING_MODE</var>" } } </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the VPC network to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: the name of the VPC network to modify.</li> <li><code translate="no" dir="ltr"><var translate="no">ROUTING_MODE</var></code>: controls the behavior of Cloud Routers in the network. Can be either <code translate="no" dir="ltr">GLOBAL</code> or <code translate="no" dir="ltr">REGIONAL</code>. The default is <code translate="no" dir="ltr">REGIONAL</code>. For more information, see <a href="/vpc/docs/vpc#routing_for_hybrid_networks">dynamic routing mode</a>.</li> </ul></section> </div> <h3 id="change-mtu" data-text="Change the MTU of a network" tabindex="-1">Change the MTU of a network</h3> <p>For information about changing the MTU of a VPC network, see <a href="/vpc/docs/change-mtu-vpc-network">Change the MTU setting of a VPC network</a>.</p> <h3 id="deleting_a_network" data-text="Delete a network" tabindex="-1">Delete a network</h3> <p>If a network is not being used, you can delete it. Before you can delete a network, you must delete all resources in all of its subnets, and all resources that reference the network. Resources that reference the network include <a href="/vpc/docs/using-vpc-peering#deleting-peer">VPC Network Peering connections</a>, <a href="/network-connectivity/docs/vpn/how-to/deleting-a-gateway">Cloud VPN gateways</a>, <a href="/network-connectivity/docs/router/how-to/managing-routers#deletes">Cloud Routers</a>, <a href="/vpc/docs/configure-serverless-vpc-access#delete-connector">Serverless VPC Access connectors</a> and their connected services, <a href="/firewall/docs/using-firewalls#deleting_firewall_rules">firewall rules</a>, and <a href="/vpc/docs/using-routes#deletingaroute">custom static routes</a>.</p> <p>To delete a VPC network, do the following.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="console_14" data-text=" Console " tabindex="-1"> Console </h3><ol> <li><p>In the Google Cloud console, go to the <strong>VPC networks</strong> page.</p> <p><a href="https://console.cloud.google.com/networking/networks/list" target="console" class="button button-primary">Go to VPC networks</a> </p></li> <li><p>Click the name of a VPC network to show its <strong>VPC network details</strong> page.</p></li> <li><p>Click <strong>Delete VPC network</strong>.</p></li> <li><p>In the message that appears, click <strong>Delete</strong> to confirm.</p></li> </ol></section> <section><h3 id="gcloud_16" data-text=" gcloud " tabindex="-1"> gcloud </h3><p>Use the <a href="/sdk/gcloud/reference/compute/networks/delete"><code translate="no" dir="ltr">networks delete</code> command</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> gcloud compute networks delete <var translate="no">NETWORK</var> </pre></devsite-code> <p>Replace <code translate="no" dir="ltr"><var translate="no">NETWORK</var></code> with the name of the network to delete.</p></section> <section><h3 id="api_16" data-text=" API " tabindex="-1"> API </h3><p>Make a <code translate="no" dir="ltr">DELETE</code> request to the <a href="/sdk/gcloud/reference/compute/networks/delete"><code translate="no" dir="ltr">networks.delete</code> method</a>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded> DELETE https://compute.googleapis.com/compute/v1/projects/<var translate="no">PROJECT_ID</var>/global/networks/<var translate="no">NETWORK</var> </pre></devsite-code> <p>Replace the following:</p> <ul> <li><code translate="no" dir="ltr"><var translate="no">PROJECT_ID</var></code>: the ID of the project that contains the VPC network to delete.</li> <li><code translate="no" dir="ltr"><var translate="no">NETWORK</var></code>: the name of the VPC network to delete.</li> </ul></section> </div> <h2 id="monitoring_your_vpc_network" data-text="Monitor your VPC network" tabindex="-1">Monitor your VPC network</h2> <p>You can enable logging of network flows to and from VMs. See <a href="/vpc/docs/using-flow-logs">Using VPC Flow Logs</a> for instructions.</p> <p>You can enable logging for firewall rules to see which rules allowed or blocked which traffic. See <a href="/vpc/docs/using-firewall-rules-logging">Using Firewall Rules Logging</a> for instructions.</p> <h2 id="migrating_vms" data-text="Migrate VMs" tabindex="-1">Migrate VMs</h2> <p>You can migrate your virtual machine (VM) instances from one network to another within a given project. For instructions, see <a href="/compute/docs/instances/migrating-interfaces-between-networks">Migrating a VM between networks</a>.</p> <h2 id="troubleshooting" data-text="Troubleshooting" tabindex="-1">Troubleshooting</h2> <h3 id="constraint-flow-logs" data-text="Error: Constraint constraints/compute.requireVpcFlowLogs violated" tabindex="-1">Error: <code translate="no" dir="ltr">Constraint constraints/compute.requireVpcFlowLogs violated</code></h3> <p>This error occurs if both of these conditions apply:</p> <ul> <li><p>An organization policy constraint has been set that requires that VPC Flow Logs is configured.</p></li> <li><p>You create a subnet, or update the VPC Flow Logs configuration of an existing subnet, and the configuration does not meet the requirements of the policy.</p></li> </ul> <p>For more information about this constraint and its effects on subnet creation and updates, see <a href="/vpc/docs/org-policy-flow-logs">Organization policy constraints for VPC Flow Logs</a>.</p> <h3 id="resource-not-found" data-text="Resource not found error" tabindex="-1">Resource not found error</h3> <p>When deleting a VPC network, you might see a message that is similar to the following: <code translate="no" dir="ltr">The resource "aet-uscentral1-subnet--1-egrfw" was not found.</code></p> <p>For information about this error and its solution, see <a href="/vpc/docs/using-firewalls#resource-not-found">Resource not found error</a> in the VPC firewall rules documentation.</p> <h3 id="subnet-delete-gk3" data-text="Can't delete subnet due to existing gk3- resources" tabindex="-1">Can't delete subnet due to existing <code translate="no" dir="ltr">gk3-</code> resources</h3> <p>If you can't delete a subnet due to existing resources that are named <code translate="no" dir="ltr">gk3-</code>, even though you don't have any existing GKE clusters that are associated with that subnet, contact <a href="/contact">Google Cloud Support</a>. For more information, see <a href="/kubernetes-engine/docs/concepts/network-overview#psc-remaining-resources">Remaining resources from deleted GKE clusters with Private Service Connect</a>.</p> <p>Example error message:</p> <p><code translate="no" dir="ltr">The subnetwork resource 'projects/<var translate="no">PROJECT_ID</var>/regions/<var translate="no">REGION</var>/subnetworks/<var translate="no">SUBNET_NAME</var>' is already being used by 'projects/<var translate="no">PROJECT_ID</var>/regions/<var translate="no">REGION</var>/addresses/gk3-<var translate="no">ID</var>'</code></p> <h2 id="whats_next" data-text="What's next" tabindex="-1">What's next</h2> <ul> <li>For information about routes, see <a href="/vpc/docs/routes">Routes</a>.</li> <li>For information about firewall rules, see <a href="/vpc/docs/firewalls">Firewall rules</a>.</li> <li>For more details about VPC networking, see <a href="/vpc/docs/advanced-vpc">Advanced VPC concepts</a>.</li> </ul> <cloudx-free-trial-eligible-content> <slot slot="eligible"> <div> <h2 class="hide-from-toc" id="try-it-for-yourself_1" data-text=" Try it for yourself " tabindex="-1"> Try it for yourself </h2> <p> If you're new to Google Cloud, create an account to evaluate how VPC performs in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads. </p> <a href="https://console.cloud.google.com/freetrial" class="cloud-button cloud-button--primary" track-type="button" track-name=" Try VPC free " track-metadata-eventdetail="https://console.cloud.google.com/freetrial" track-metadata-modifier="primary" track-metadata-anchor_text=" Try VPC free " track-metadata-href="https://console.cloud.google.com/freetrial" referrerpolicy="no-referrer-when-downgrade" > Try VPC free</a> </div> </slot> <slot slot="ineligible"> </slot> </cloudx-free-trial-eligible-content> <devsite-hats-survey class="nocontent" hats-id="mwETRvWii0eU5NUYprb0Y9z5GVbc" listnr-id="83405"></devsite-hats-survey> </div> <devsite-thumb-rating position="footer"> </devsite-thumb-rating> <devsite-feedback position="footer" project-name="VPC" product-id="5028304" bucket="documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="footer" class="nocontent" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" > <button> Send feedback </button> </devsite-feedback> <div class="devsite-floating-action-buttons"> </div> </article> <devsite-content-footer class="nocontent"> <p>Except as otherwise noted, the content of this page is licensed under the <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 License</a>, and code samples are licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 License</a>. For details, see the <a href="https://developers.google.com/site-policies">Google Developers Site Policies</a>. Java is a registered trademark of Oracle and/or its affiliates.</p> <p>Last updated 2024-11-22 UTC.</p> </devsite-content-footer> <devsite-notification > </devsite-notification> <div class="devsite-content-data"> <template class="devsite-thumb-rating-feedback"> <devsite-feedback position="thumb-rating" project-name="VPC" product-id="5028304" bucket="documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="thumb-rating" class="nocontent" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" > <button> Need to tell us more? </button> </devsite-feedback> </template> <template class="devsite-content-data-template"> [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-22 UTC."],[],[]] </template> </div> </devsite-content> </main> <devsite-footer-promos class="devsite-footer"> </devsite-footer-promos> <devsite-footer-linkboxes class="devsite-footer"> <nav class="devsite-footer-linkboxes nocontent" aria-label="Footer links"> <ul class="devsite-footer-linkboxes-list"> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Why Google</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/why-google-cloud/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-child_headline="why google"track-metadata-module="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/why-google-cloud/"track-metadata-position="footer"track-name="choosing google cloud"> Choosing Google Cloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/trust-center/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-child_headline="why google"track-metadata-eventDetail="cloud.google.com/security/"track-metadata-module="footer"track-type="footer link"track-name="trust and security"track-metadata-position="footer"> Trust and security </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/modern-infrastructure/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-type="footer link"track-metadata-eventDetail="cloud.google.com/solutions/modern-infrastructure/"track-name="modern infrastructure cloud"track-metadata-child_headline="why google"track-metadata-module="footer"track-metadata-position="footer"> Modern Infrastructure Cloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/multicloud/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-eventDetail="cloud.google.com/multicloud/"track-type="footer link"track-name="multicloud"track-metadata-child_headline="why google"track-metadata-module="footer"track-metadata-position="footer"> Multicloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/infrastructure/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/infrastructure/"track-metadata-module="footer"track-type="footer link"track-metadata-child_headline="why google"track-name="global infrastructure"> Global infrastructure </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/customers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-metadata-module="footer"track-metadata-position="footer"track-metadata-child_headline="why google"track-name="customers and case studies"track-type="footer link"track-metadata-eventDetail="cloud.google.com/customers/"> Customers and case studies </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/analyst-reports/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-module="footer"track-metadata-position="footer"track-name="analyst reports"track-type="footer link"track-metadata-eventDetail="cloud.google.com/analyst-reports/"track-metadata-child_headline="why google"> Analyst reports </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/whitepapers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-type="footer link"track-name="whitepapers"track-metadata-child_headline="why google"track-metadata-module="footer"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/whitepapers/"> Whitepapers </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//cloud.google.com/blog/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-metadata-child_headline="engage"track-metadata-eventDetail="cloud.google.com/blog/"track-metadata-module="footer"track-metadata-position="footer"track-name="blog"track-type="footer link"> Blog </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Products and pricing</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/pricing/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-child_headline="products and pricing"track-metadata-eventDetail="cloud.google.com/pricing/"track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"track-name="google cloud pricing"> Google Cloud pricing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//workspace.google.com/pricing.html" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-eventDetail="workspace.google.com/pricing.html"track-name="google workspace pricing"target="_blank"track-type="footer link"track-metadata-child_headline="products and pricing"track-metadata-module="footer"track-metadata-position="footer"> Google Workspace pricing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/products/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-module="footer"track-metadata-position="footer"track-metadata-child_headline="products and pricing"track-name="see all products"track-type="footer link"track-metadata-eventDetail="cloud.google.com/products/"> See all products </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Solutions</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/solutions/infrastructure-modernization/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-position="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/solutions/infrastructure-modernization/"track-metadata-module="footer"track-metadata-child_headline="solutions"track-name="infrastructure modernization"> Infrastructure modernization </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/databases/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-module="footer"track-name="databases"track-metadata-child_headline="solutions"track-metadata-eventDetail="cloud.google.com/solutions/databases"track-metadata-position="footer"track-type="footer link"> Databases </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/application-modernization/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-name="application development"track-metadata-eventDetail="cloud.google.com/solutions/application-modernization/"track-metadata-child_headline="solutions"track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"> Application modernization </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/smart-analytics/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-child_headline="solutions"track-type="footer link"track-metadata-module="footer"track-name="smart analytics"track-metadata-eventDetail="cloud.google.com/solutions/smart-analytics/"track-metadata-position="footer"> Smart analytics </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/ai/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-type="footer link"track-metadata-eventDetail="cloud.google.com/solutions/ai/"track-metadata-module="footer"track-metadata-child_headline="solutions"track-metadata-position="footer"track-name="artificial intelligence"> Artificial Intelligence </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/security/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-name="security"track-metadata-eventDetail="cloud.google.com/solutions/security/"track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"track-metadata-child_headline="solutions"> Security </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://workspace.google.com/enterprise/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-eventDetail="workspace.google.com/enterprise/"track-type="footer link"track-metadata-module="footer"target="_blank"track-metadata-position="footer"track-metadata-child_headline="solutions"track-name="productivity and work transformation"> Productivity & work transformation </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/#industry-solutions" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-name="industry solutions"track-type="footer link"track-metadata-eventDetail="cloud.google.com/solutions/#industry-solutions"track-metadata-position="footer"track-metadata-child_headline="solutions"track-metadata-module="footer"> Industry solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/devops/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-name="devops solutions"track-metadata-eventDetail="cloud.google.com/solutions/devops/"track-metadata-child_headline="solutions"track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"> DevOps solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/#section-14" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/solutions/#section-14"track-type="footer link"track-metadata-child_headline="solutions"track-metadata-position="footer"track-name="small business solutions"> Small business solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" track-metadata-eventDetail="cloud.google.com/solutions/"track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"track-name="see all solutions"track-metadata-child_headline="solutions"> See all solutions </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Resources</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/affiliate-program/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-position="footer"track-metadata-child_headline="resources"track-metadata-eventDetail="cloud.google.com/affiliate-program/"track-type="footer link"track-metadata-module="footer"track-name="google cloud affiliate program"> Google Cloud Affiliate Program </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/docs/"track-type="footer link"track-name="google cloud documentation"track-metadata-module="footer"track-metadata-child_headline="resources"> Google Cloud documentation </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/get-started/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-name="google cloud quickstarts"track-metadata-position="footer"track-type="footer link"track-metadata-child_headline="resources"track-metadata-eventDetail="cloud.google.com/docs/get-started/"track-metadata-module="footer"> Google Cloud quickstarts </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/marketplace/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-child_headline="resources"track-metadata-position="footer"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/marketplace/"track-name="google cloud marketplace"track-type="footer link"> Google Cloud Marketplace </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/discover/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-name="learn about cloud computing"track-metadata-eventDetail="learn/"track-type="footer link"track-metadata-child_headline="resources"track-metadata-module="footer"track-metadata-position="footer"> Learn about cloud computing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/support-hub/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-metadata-eventDetail="cloud.google.com/support-hub/"track-metadata-position="footer"track-type="footer link"track-metadata-child_headline="resources"track-name="support"track-metadata-module="footer"> Support </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/samples" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-name="code samples"track-metadata-position="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/docs/samples"track-metadata-module="footer"track-metadata-child_headline="resources"> Code samples </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/architecture/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-metadata-position="footer"track-name="cloud architecture center"track-metadata-child_headline="resources"track-type="footer link"track-metadata-eventDetail="cloud.google.com/architecture/"track-metadata-module="footer"> Cloud Architecture Center </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/learn/training/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-metadata-module="footer"track-metadata-child_headline="resources"track-name="training"track-type="footer link"track-metadata-eventDetail="cloud.google.com/training/"track-metadata-position="footer"> Training </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/learn/certification/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-eventDetail="cloud.google.com/certification"track-name="certifications"track-metadata-position="footer"track-metadata-child_headline="resources"track-type="footer link"track-metadata-module="footer"> Certifications </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//developers.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" track-metadata-module="footer"track-metadata-child_headline="resources"track-type="footer link"track-metadata-position="footer"track-metadata-eventDetail="developers.google.com"target="_blank"track-name="google developers"> Google for Developers </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/startup/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 12)" track-metadata-position="footer"track-metadata-child_headline="resources"track-metadata-eventDetail="cloud.google.com/startup/"track-name="google cloud for startups"track-type="footer link"track-metadata-module="footer"> Google Cloud for Startups </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//status.cloud.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 13)" track-name="system status"track-metadata-child_headline="resources"track-metadata-module="footer"track-type="footer link"track-metadata-position="footer"track-metadata-eventDetail="status.cloud.google.com"target="_blank"> System status </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/release-notes" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 14)" track-metadata-module="footer"track-name="release notes"track-metadata-eventDetail="cloud.google.com/release-notes/"track-metadata-position="footer"track-metadata-child_headline="resources"track-type="footer link"> Release Notes </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Engage</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/contact/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-position="footer"track-metadata-child_headline="engage"track-type="footer link"track-name="contact sales"track-metadata-eventDetail="cloud.google.com/contact/"track-metadata-module="footer"> Contact sales </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//cloud.google.com/find-a-partner" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" target="_blank"track-metadata-eventDetail="cloud.google.com/find-a-partner"track-metadata-module="footer"track-metadata-child_headline="engage"track-type="footer link"track-name="find a partner"track-metadata-position="footer"> Find a Partner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/partners/become-a-partner/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-eventDetail="cloud.google.com/partners/become-a-partner/"track-metadata-child_headline="engage"track-metadata-position="footer"track-type="footer link"track-name="become a partner"track-metadata-module="footer"> Become a Partner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/events/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-position="footer"track-type="footer link"track-metadata-eventDetail="cloud.withgoogle.com/events"track-metadata-child_headline="engage"track-metadata-module="footer"track-name="events"> Events </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/podcasts/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-name="podcasts"track-metadata-eventDetail="cloud.google.com/podcasts/"track-metadata-position="footer"track-metadata-child_headline="engage"track-metadata-module="footer"track-type="footer link"target="_blank"rel="noopener"> Podcasts </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/developers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-type="footer link"track-metadata-position="footer"track-metadata-child_headline="engage"track-name="developer center"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/developers/"> Developer Center </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.googlecloudpresscorner.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" rel="noopener"track-metadata-eventDetail="www.googlecloudpresscorner.com"track-metadata-module="footer"track-name="press corner"track-type="footer link"target="_blank"track-metadata-child_headline="engage"track-metadata-position="footer"> Press Corner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/googlecloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-type="footer link"track-metadata-eventDetail="www.youtube.com/googlecloud"track-metadata-position="footer"rel="noopener"track-metadata-child_headline="engage"track-name="google cloud on youtube"target="_blank"track-metadata-module="footer"> Google Cloud on YouTube </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/googlecloudplatform" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-type="footer link"track-metadata-child_headline="engage"target="_blank"track-metadata-position="footer"track-metadata-eventDetail="www.youtube.com/googlecloudplatform"track-name="google cloud tech on youtube"track-metadata-module="footer"rel="noopener"> Google Cloud Tech on YouTube </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//x.com/googlecloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-module="footer"track-metadata-eventDetail="x.com/googlecloud"track-type="footer link"track-name="follow on x"target="_blank"rel="noopener"track-metadata-position="footer"track-metadata-child_headline="engage"> Follow on X </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//userresearch.google.com/?reserved=1&utm_source=website&Q_Language=en&utm_medium=own_srch&utm_campaign=CloudWebFooter&utm_term=0&utm_content=0&productTag=clou&campaignDate=jul19&pType=devel&referral_code=jk212693" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" target="_blank"track-type="footer link"track-metadata-eventDetail="userresearch.google.com/?reserved=1&utm_source=website&Q_Language=en&utm_medium=own_srch&utm_campaign=CloudWebFooter&utm_term=0&utm_content=0&productTag=clou&campaignDate=jul19&pType=devel&referral_code=jk212693"track-metadata-module="footer"track-name="join user research"track-metadata-position="footer"track-metadata-child_headline="engage"> Join User Research </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//careers.google.com/cloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 12)" track-metadata-eventDetail="careers.google.com/cloud"track-metadata-module="footer"track-type="footer link"track-metadata-position="footer"track-metadata-child_headline="engage"track-name="we are hiring join google cloud"target="_blank"> We're hiring. Join Google Cloud! </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.googlecloudcommunity.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 13)" track-metadata-module="footer"track-metadata-position="footer"track-name="google cloud community"rel="noopener"track-type="footer link"target="_blank"track-metadata-child_headline="engage"track-metadata-eventDetail="www.googlecloudcommunity.com"> Google Cloud Community </a> </li> </ul> </li> </ul> </nav> </devsite-footer-linkboxes> <devsite-footer-utility class="devsite-footer"> <div class="devsite-footer-utility nocontent"> <nav class="devsite-footer-utility-links" aria-label="Utility links"> <ul class="devsite-footer-utility-list"> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//about.google/" data-category="Site-Wide Custom Events" data-label="Footer About Google link" target="_blank" track-metadata-eventDetail="//about.google/" track-metadata-position="footer" track-metadata-module="utility footer" track-name="about google" track-type="footer link" > About Google </a> </li> <li class="devsite-footer-utility-item devsite-footer-privacy-link"> <a class="devsite-footer-utility-link gc-analytics-event" href="//policies.google.com/privacy" data-category="Site-Wide Custom Events" data-label="Footer Privacy link" track-metadata-position="footer" track-metadata-module="utility footer" track-metadata-eventDetail="//policies.google.com/privacy" track-name="privacy" track-type="footer link" target="_blank" > Privacy </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//www.google.com/intl/en/policies/terms/regional.html" data-category="Site-Wide Custom Events" data-label="Footer Site terms link" track-type="footer link" track-metadata-eventDetail="//www.google.com/intl/en/policies/terms/regional.html" track-name="site terms" track-metadata-module="utility footer" target="_blank" track-metadata-position="footer" > Site terms </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="/product-terms/" data-category="Site-Wide Custom Events" data-label="Footer Google Cloud terms link" track-type="footer link" track-metadata-position="footer" track-metadata-module="utility footer" track-metadata-eventDetail="/product-terms/" track-name="google cloud terms" > Google Cloud terms </a> </li> <li class="devsite-footer-utility-item glue-cookie-notification-bar-control"> <a class="devsite-footer-utility-link gc-analytics-event" href="#" data-category="Site-Wide Custom Events" data-label="Footer Manage cookies link" track-name="Manage cookies" track-metadata-position="footer" aria-hidden="true" track-metadata-eventDetail="#" track-metadata-module="utility footer" track-type="footer link" > Manage cookies </a> </li> <li class="devsite-footer-utility-item devsite-footer-carbon-button"> <a class="devsite-footer-utility-link gc-analytics-event" href="/sustainability" data-category="Site-Wide Custom Events" data-label="Footer Our third decade of climate action: join us link" track-metadata-eventDetail="/sustainability/" track-type="footer link" track-metadata-position="footer" track-metadata-module="utility footer" track-name="Our third decade of climate action: join us" > Our third decade of climate action: join us </a> </li> <li class="devsite-footer-utility-item devsite-footer-utility-button"> <span class="devsite-footer-utility-description">Sign up for the Google Cloud newsletter</span> <a class="devsite-footer-utility-link gc-analytics-event" href="/newsletter/" data-category="Site-Wide Custom Events" data-label="Footer Subscribe link" track-metadata-module="utility footer" track-name="subscribe" track-type="footer link" track-metadata-eventDetail="/newsletter/" track-metadata-position="footer" > Subscribe </a> </li> </ul> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> </nav> </div> </devsite-footer-utility> <devsite-panel></devsite-panel> </section></section> <devsite-sitemask></devsite-sitemask> <devsite-snackbar></devsite-snackbar> <devsite-tooltip ></devsite-tooltip> <devsite-heading-link></devsite-heading-link> <devsite-analytics> <script type="application/json" analytics>[]</script> <script type="application/json" tag-management>{"at": "True", "ga4": [], "ga4p": [], "gtm": [{"id": "GTM-5CVQBG", "purpose": 1}], "parameters": {"internalUser": "False", "language": {"machineTranslated": "False", "requested": "en", "served": "en"}, "pageType": "article", "projectName": "VPC", "signedIn": "False", "tenant": "cloud", "recommendations": {"sourcePage": "", "sourceType": 0, "sourceRank": 0, "sourceIdenticalDescriptions": 0, "sourceTitleWords": 0, "sourceDescriptionWords": 0, "experiment": ""}, "experiment": {"ids": ""}}}</script> </devsite-analytics> <devsite-badger></devsite-badger> <cloudx-user></cloudx-user> <cloudx-free-trial-eligible-store freeTrialEligible='true'></cloudx-free-trial-eligible-store> <cloudx-pricing-socket></cloudx-pricing-socket> <cloudx-experiments type="TestAACodivertedExperiment" path="/virtual/TestAACodivertedExperiment/configureExperiment" location="SG" variant="variant2" ></cloudx-experiments> <cloudx-experiment-ids userCountry="SG" devsiteExperimentIdList="[39300012, 39300023, 39300118, 39300195, 39300251, 39300317, 39300320, 39300327, 39300345, 39300354, 39300364, 39300373, 39300412, 39300422, 39300436, 39300471, 39300488, 39300496, 39300498]"> </cloudx-experiment-ids> <script nonce="Y2qSyomzRdz6lOLYyBkNWgHRGtqASp"> (function(d,e,v,s,i,t,E){d['GoogleDevelopersObject']=i; t=e.createElement(v);t.async=1;t.src=s;E=e.getElementsByTagName(v)[0]; E.parentNode.insertBefore(t,E);})(window, document, 'script', 'https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/js/app_loader.js', '[2,"en",null,"/js/devsite_app_module.js","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud","https://cloud-dot-devsite-v2-prod.appspot.com",null,null,["/_pwa/cloud/manifest.json","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/images/video-placeholder.svg","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/favicon.ico","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg","https://fonts.googleapis.com/css?family=Google+Sans:400,500,700|Google+Sans+Text:400,400italic,500,500italic,700,700italic|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"],1,null,[1,6,8,12,14,17,21,25,50,52,63,70,75,76,80,87,91,92,93,97,98,100,101,102,103,104,105,107,108,109,110,112,113,116,117,118,120,122,124,125,126,127,129,130,131,132,133,134,135,136,138,140,141,147,148,149,151,152,156,157,158,159,161,163,164,168,169,170,179,180,182,183,186,191,193,196],"AIzaSyAP-jjEJBzmIyKR4F-3XITp8yM9T1gEEI8","AIzaSyB6xiKGDR5O3Ak2okS4rLkauxGUG7XP0hg","cloud.google.com","AIzaSyAQk0fBONSGUqCNznf6Krs82Ap1-NV6J4o","AIzaSyCCxcqdrZ_7QMeLCRY20bh_SXdAYqy70KY",null,null,null,["DevPro__enable_developer_subscriptions","Search__scope_to_project_tenant","Cloud__enable_legacy_calculator_redirect","Cloud__enable_cloud_facet_chat","CloudShell__cloud_shell_button","Profiles__enable_dashboard_curated_recommendations","TpcFeatures__enable_mirror_tenant_redirects","Experiments__reqs_query_experiments","MiscFeatureFlags__developers_footer_image","Search__enable_suggestions_from_borg","MiscFeatureFlags__enable_firebase_utm","CloudShell__cloud_code_overflow_menu","Search__enable_ai_search_summaries_restricted","Profiles__enable_page_saving","Profiles__enable_release_notes_notifications","MiscFeatureFlags__enable_explain_this_code","MiscFeatureFlags__emergency_css","Profiles__enable_public_developer_profiles","Cloud__enable_cloudx_experiment_ids","Analytics__enable_clearcut_logging","TpcFeatures__enable_required_headers","Profiles__require_profile_eligibility_for_signin","Search__enable_dynamic_content_confidential_banner","Cloud__enable_cloud_shell","Profiles__enable_completecodelab_endpoint","MiscFeatureFlags__enable_project_variables","Search__enable_page_map","Profiles__enable_profile_collections","MiscFeatureFlags__enable_variable_operator","MiscFeatureFlags__developers_footer_dark_image","Search__enable_ai_eligibility_checks","Cloud__enable_cloudx_ping","Profiles__enable_recognition_badges","MiscFeatureFlags__enable_view_transitions","Cloud__enable_free_trial_server_call","Cloud__enable_cloud_dlp_service","DevPro__enable_cloud_innovators_plus","EngEduTelemetry__enable_engedu_telemetry","Search__enable_ai_search_summaries","Cloud__enable_cloud_shell_fte_user_flow","Profiles__enable_complete_playlist_endpoint","Concierge__enable_concierge_restricted","BookNav__enable_tenant_cache_key","Profiles__enable_awarding_url","Cloud__enable_llm_concierge_chat","Concierge__enable_pushui","Profiles__enable_developer_profiles_callout"],null,null,"AIzaSyBLEMok-5suZ67qRPzx0qUtbnLmyT_kCVE","https://developerscontentserving-pa.clients6.google.com","AIzaSyCM4QpTRSqP5qI4Dvjt4OAScIN8sOUlO-k","https://developerscontentsearch-pa.clients6.google.com",1,4,1,"https://developerprofiles-pa.clients6.google.com",[2,"cloud","Google Cloud","cloud.google.com",null,"cloud-dot-devsite-v2-prod.appspot.com",null,null,[1,1,null,null,null,null,null,null,null,null,null,[1],null,null,null,null,null,1,[1],[null,null,null,[1,20],"/terms/recommendations"],[1],null,[1],[1,null,1],[1,1,null,null,1,null,["/vertex-ai/"]]],null,[22,null,null,null,null,null,"/images/cloud-logo.svg","/images/favicons/onecloud/apple-icon.png",null,null,null,null,1,1,1,[6,5],[],null,null,[[],[],[],[],[],[],[],[]],null,1,null,null,null,null,[]],[],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[6,1,14,15,22,23,29,37],null,[[null,null,null,null,null,null,[1,[["docType","Choose a content type",[["ApiReference",null,null,null,null,null,null,null,null,"API reference"],["Sample",null,null,null,null,null,null,null,null,"Code sample"],["ReferenceArchitecture",null,null,null,null,null,null,null,null,"Reference architecture"],["Tutorial",null,null,null,null,null,null,null,null,"Tutorial"]]],["category","Choose a topic",[["AiAndMachineLearning",null,null,null,null,null,null,null,null,"Artificial intelligence and machine learning (AI/ML)"],["ApplicationDevelopment",null,null,null,null,null,null,null,null,"Application development"],["BigDataAndAnalytics",null,null,null,null,null,null,null,null,"Big data and analytics"],["Compute",null,null,null,null,null,null,null,null,"Compute"],["Containers",null,null,null,null,null,null,null,null,"Containers"],["Databases",null,null,null,null,null,null,null,null,"Databases"],["HybridCloud",null,null,null,null,null,null,null,null,"Hybrid and multicloud"],["LoggingAndMonitoring",null,null,null,null,null,null,null,null,"Logging and monitoring"],["Migrations",null,null,null,null,null,null,null,null,"Migrations"],["Networking",null,null,null,null,null,null,null,null,"Networking"],["SecurityAndCompliance",null,null,null,null,null,null,null,null,"Security and compliance"],["Serverless",null,null,null,null,null,null,null,null,"Serverless"],["Storage",null,null,null,null,null,null,null,null,"Storage"]]]]]],[1],null,1],[[null,null,null,null,null,["GTM-5CVQBG"],null,null,null,null,null,[["GTM-5CVQBG",2]],1],null,null,null,null,null,1],"mwETRvWii0eU5NUYprb0Y9z5GVbc",4,null,null,null,null,null,null,null,null,null,null,null,null,null,"cloud.devsite.google"],null,"pk_live_5170syrHvgGVmSx9sBrnWtA5luvk9BwnVcvIi7HizpwauFG96WedXsuXh790rtij9AmGllqPtMLfhe2RSwD6Pn38V00uBCydV4m"]') </script> <devsite-a11y-announce></devsite-a11y-announce> </body> </html>