Networking¶
Networking decides who can reach your instances and what they can reach. Everything here lives in the project's location: a network in Karachi never reaches one in Islamabad by itself.
-
Private address ranges for your instances, with DHCP, DNS and static ranges.
-
The project's private router, routes through an instance, and forwarding.
-
Outbound Internet access for routed networks, through one shared address.
-
Firewall rules: which traffic may reach an instance, and what it may send.
-
Addresses that make one instance or load balancer reachable from the Internet.
-
One address for several instances, with health checks and HTTPS.
-
A drawing of a project's networks and what is connected to each.
The path of a packet¶
| You want | You need |
|---|---|
| Instances to talk to each other | The same network, or two routed networks of the project, and security group rules that allow it |
| Instances to reach the Internet | A routed network and an Internet gateway in the project |
| The Internet to reach an instance | All of the above, a public IP on the instance, and a rule that allows the port |
| One address for several instances | A load balancer with a public IP, and rules that let it reach the instances |
| Traffic to an office or VPN range | A route through an instance that forwards for that range |
A new project made with Set up a network and Create an Internet gateway has a routed
network, default (10.0.0.0/24), and a gateway from the start.