Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

New bucket Creation using gsutil commands

While creating new bucket using Command Line/cloud shell prompt ; we have specified the "name of bucket"..My query is what if the Bucket name already exists with the name we provided using command line..How it get notified on cloud shell?

Shivam Arora

I am unable to add name using CLI…everytime output comes as no label found. Also set cmd doesnt seems to be functioning as expected 🙁

2 Answers

That’s pretty simple: you will get an error saying that the bucket has already been existed 🙂

gcpcertification3112@cloudshell:~ ()$ gsutil mb -l northamerica-northeast1 g


Creating gs://storage-lab-cli/…

ServiceException: 409 Bucket storage-lab-cli already exists.

Sign In
Welcome Back!

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

Get Started
Who’s going to be learning?