hardgcloud

Retrieve the serial port output from a Compute Engine instance for boot-time debugging

command

gcloud compute instances get-serial-port-output INSTANCE_NAME --zone=ZONE

also accepted

gcloud compute instances get-serial-port-outputgcloud beta compute instances get-serial-port-output

Command breakdown

Part of the Google Cloud CLI (gcloud) — Alpha & Beta category.

gcloudcomputeinstancesget-serial-port-outputINSTANCE_NAME--zone=ZONE
FlagPurpose
--zoneSet to: ZONE

Test your recall — not just your reading.

Practice with interactive quiz →