1 Answers
The metadata functionality in GCE lets you use (almost) any key name and (almost) any key value. In that way, it’s kind of like a blank piece of paper.
But the reason you use the key name "lab-logs-bucket" and set the value in a particular ("gs://") format is because that’s what the startup script I wrote and gave you looks for. It asks the metadata service for the information (value) under that particular key name. If you used a different key, it would be like addressing your letter to "Dr. Banner" and expecting me (who is not Dr. Banner) to find and read it.
I hope this helps.
Mattias
Hi! The key should be lab-logs-bucket, as this is the key used by the startup script to get the name of the bucket from the metadata.
Yes, Jorge! Indeed!