Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Log not showing up in bucket right away.

When doing the lab with the smallest instance, it took a while for the bucket to get the log from the instance. The reason is because the script does other things like install updates and the "stress" utility before actually copying the log file to the bucket. I had to wait about 10 minutes before the log showed up.

1 Answers

This command helps to monitor the output of the startup script after ssh-ing into CE instance:

sudo journalctl -u google-startup-scripts.service

jimbooth

This is a very helpful command. Thank you.

Sign In
Welcome Back!

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

Get Started
Who’s going to be learning?