Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

metadata and labels

why would you use labels over metadata? In the MIG lab, i could have very well used function:learning and madeby:template as metadata.

1 Answers

Hello Kushagra,

Labels are mostly to "categorize/organize" your resources. I have seen these mostly used to help audit Resource usage, categorize traffic. This is also helpful when you are trying to analyze spend for resources that are labelled.

Metadata for the most part can be thought of configuration that can be used by apps running within the instance. I think of these as Environment variables. You can set instance metadata and then your applications deployed can query it (using the metadata server) and use it in the programs. 

Hope this will get you started in the right direction. Best of luck

Sign In
Welcome Back!

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

Get Started
Who’s going to be learning?