GCP Compute Enable OS Login
If you have trouble logging in (SSH) to your GCP instance, you may have to enable OS Login.
<pre lang="bash">
gcloud compute instances add-metadata server-name \
--metadata enable-oslogin=TRUE \
--zone us-central1-c \
--project project-id
When done, you can set it back to FALSE.