Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Creating bucket with gsutil command line

Hey guys, 

While trying to create bucket i get this notification: CommandException: "mb" command does not support "file://" URLs. Did you mean to use a gs:// URL?

Can somebody suggest any solution?



1 Answers

The correct syntax should be:

gsutil mb gs://<globally-unique-bucket-name>

In other words, you need to explicitly prefix your bucket name with gs://.

Sign In
Welcome Back!

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

Get Started
Who’s going to be learning?