You need to control incoming and outgoing traffic to a Compute Engine instance. What do yo do?
Configure firewall rules.
Configure routes.
Configure VPC Network Peering.
Configure external IP addresses.