# Storage Bucket in GCP

In 
GCP
Published 2022-12-03

This tutorial explains what is and how we can create a Storage Bucket in GCP.

Google Cloud provides three main services for different types of storage:

  • Persistent Disks for block storage
  • Filestore for network file storage
  • Cloud Storage for object storage

Cloud Storage is a managed service for storing unstructured data. Store any amount of data and retrieve it as often as you like.

In Cloud Storage, different objects are grouped in "namespaces" called buckets. A bucket can hold multiple objects and single object is assigned to only one bucket.

Cloud Storage offers object versioning and fine-grain permissions (per object or bucket)

Here are the steps for creating a Cloud Storage Bucket using the Google Cloud Console.

From Google Cloud Console choose "Cloud Storage" -> "Buckets"

Click on "Create" icon:

You will see something like this:

Enter a name for our Bucket and some label associated with it. Click on "Continue".

Choose where to store your data. Click on "Continue".

Choose a storage class for your data. Click on "Continue".

Choose how to control access to objects. Click on "Continue".

Choose how to protect object data. Click on "Create".

Click on "Confirm".

At this point the bucket is created :

We can create a Google Cloud Bucket from CLI as well using the following command:

gcloud storage buckets create gs://BUCKET_NAME --project=PROJECT_ID --default-storage-class=STORAGE_CLASS --location=BUCKET_LOCATION --uniform-bucket-level-access