Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

network tags on VM instances and VPC

Are network tags mandatory to enable login to a VM ? if so we dont create any tag when using creating VM using default VPC and still it allows login . how

1 Answers

No, they’re not. You can create a Firewall Rule that points directly to the static private IP of your VM in the VPC and thus allowing terminal access (SSH/RDP) from your computer. Network Tags are not mandatory, at least for simple use case.

However, using Network Tags is a smart way to dynamically handling and maintaining access to your infrastructure, especially when you have a bunch of GCE instances created from templates. Instead of manually specifying instance’s address  (or its Subnet), you can use only a designated Network Tag to create a uniform firewall rule, which simplifies FW rule management a lot.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?