I had followed the lab but logging is not happening, below are the steps that I followed:
1. Created Storage-bucket (gceinstancebucket)
2. Created F1-micro (instance-gce) which has the ‘Write-only’ access for Stackdriver Logging API, Stackdriver Monitoring API, Stackdriver Trace and others are untouched.
added custom metadata – key:lab-logs-bucket (which is mentioned in startup-script), Value:’gs"//gceinstancebucket/
After hitting the create button i can see the stress is happening but i don’t see anything on my storage-bucket and SD logs.
I’m accessing the GCP through the Playground button.
could someone please help me on this?
It was the storage scope issue. default it is Read only.
I set it to Read/Write and I was able to see the log file in bucket.