I don’t see command to create a new bucket in the script shared .. Am i missing something , please help
Hello! You are missing something, but it’s not in the script. 🙂 So I’m glad you’ve started by looking into the script, and I’m glad you’ve asked for help when you realized you were confused.
The provided startup script is not supposed to create the bucket–because in this setup, we want one single bucket that will receive files from all of the instances. If the startup script were to create the bucket, then we’d wind up with a new bucket for each new instance.
If you (or anyone reading this) are still struggling with this, then you might want to start watching a bit of the next lecture that walks through the data flow. Feel free to stop watching that lecture at any time, so you can continue to try to do as much of the challenge as you can on your own. But do eventually watch through the whole thing, too, so you really understand exactly what is happening in this system.
I hope this helps!
I agree. something is wrong with the startup script for the storage part. Its not able to reach the metadata url. Blowing up the variables.
You would need to create a bucket and the follow "Metadata should be set in the "lab-logs-bucket" attribute using the "gs://mybucketname/" format"