I’ve run all the steps to ssh into the VM, but there’s nothing under metadata.google.internal/computeMetadata/v1/project/
The instance already has my public SSH key in ~/.ssh/authorized_keys, but the metadata doesn’t show up anything.
For those who would still want to see details about their project (especially the SSH key metadata part), they can issue the following commands in the Cloud Shell:
gcloud config set project MY-PROJECT-ID
gcloud compute project-info describe –format=json | jq -r ".commonInstanceMetadata"
Hope this helps.
Nevermind. In the scenario described in the question I was actually logged out of "myhappyvm" instance. I saw that I still have to be ssh-ed into the actual VM to view the metadata shown in the video. I thought that the metadata can be queried by the Cloud Shell too.