How to create a cloud storage bucket in GCP?

0 votes
I am using a Linux VM instance of compute engine. How do I create a cloud storage bucket?
Oct 23 in GCP by anonymous
• 3,920 points
18 views

1 answer to this question.

0 votes

Buckets are the basic containers that hold your data in Cloud Storage. Here's how you can create a bucket using gsutil commands

To create a bucket:

  1. Open a terminal window.

  2. Use the gsutil mb command and a unique name to create a bucket:

    gsutil mb -l us-east1 gs://my-awesome-bucket/

    This uses a bucket named "my-awesome-bucket." You must choose your own, globally-unique, bucket name

  3. You've just created a bucket where you can store your stuff!

  4. If successful, the command returns:

    Creating gs://my-awesome-bucket/...
    
answered Oct 23 by Sirajul
• 37,930 points
uploading an object into the cloud storage bucket.

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

How to create a file on GCP storage?

In case you are using Cloud storage ...READ MORE

answered Nov 5 in GCP by Sirajul
• 37,930 points
15 views
0 votes
1 answer

GCP Error: 403: Access Denied

Check that your credentials are correct. For ...READ MORE

answered Oct 9 in GCP by Sirajul
• 37,930 points
23 views
0 votes
1 answer

Permissions issue with Google Cloud Storage Bucket.

You can regain access to the object by assigning an applicable role, like roles/storage.objectAdmin, to ...READ MORE

answered Oct 10 in GCP by Sirajul
• 37,930 points
49 views
0 votes
1 answer