Google Cloud
Platform (GCP) Virtual Private Cloud (VPC) provides networking functionality to
Compute Engine virtual machine (VM)
instances, GKE containers and App Engine Flex. VPC provides global,
scalable, flexible networking for your cloud-based services.
Virtual Private Cloud Networking
VPC network
connect your GCP resources to each other and to the internet. You can segment
your networks, use firewall rules to restrict access to instances, and create
static routes to forward traffic to specific destinations.
You can
define your own VPC inside the project or Can Choose the default VPC.
Google Cloud VPC networks are global;
subnets are regional.
VPC Network
that you define have the Global Scope and they can have subnets in any GCP
region worldwide. Subnets can span the zones that makeup a region. This
architecture makes it easy for you to define your own network layout with
global scope. You can also have resources in different zones on the same subnet.
You can
dynamically increase the size of a subnet in a custom network by expanding the
range of IP addresses allocated to it. Doing that doesn’t affect already configured
VMs.
In this
example, your VPC has one network. So far, it has one subnet defined, in GCP’s
us-east1 region. Notice that it has two Compute Engine VMs attached to it. They’re
neighbors on the same subnet even though they are in different zones! You can
use this capability to build solutions that are resilient but still have simple
network layouts.
VPC Capabilities:
- You control the topology of your VPC network Use its route table to forward traffic within the network, even across subnets.
- Use its firewall to control what network traffic is allowed.
- Use Shared VPC to share a network, or individual subnets, with other GCP projects.
- Use VPC Peering to interconnect networks in GCP projects.
Comments
Post a Comment