Google Cloud Storage provides a static storage facility for storing and accessing objects on the Google Cloud Platform. An object is any kind of data, whether it is a file, image, video, etc. This system is infinitely scalable and can handle any size of data you produce. Let’s understand the concept in detail.
All the data in Google Cloud Storage is stored in objects and these objects are collectively stored inside a container called a Bucket. Each bucket corresponds to a project, and you can group your projects into organizations. With Google Cloud Storage, you can create as many buckets as you want. There is no limit.
This is what the hierarchy of Google Cloud storage looks like:
Data inside the bucket is stored at a fixed geographic location which cannot be changed. However, you can move your data to a different bucket located at a different location. Therefore, choose a location that has a maximum number of active users to optimize for speed and latency.
Create your Bucket
To create a new bucket, choose a unique name as it cannot be changed later. After that, choose a location and select a storage class. A bucket belongs to a project under an organization.
Following are the steps to create a bucket:
- Select Cloud Storage Buckets from the Google Cloud console.
- Choose Create bucket from the menu.
- Enter your bucket information on the Create a bucket page. Click Continue to proceed to the next step.
- To Name your bucket, enter a relevant name.
- Choose a Location, it will be the permanent location of your bucket.
- Select a storage class for the bucket. By default, all objects uploaded to the bucket are assigned the default storage class.
- Select whether public access prevention is enforced in your bucket, and then choose the object access control model.
- Select a Data encryption method, configure Protection tools if desired, and choose how to protect object data.
- Click Create.
There you go! You have successfully created a Bucket.
In this article, you’ve learned about Google Cloud storage and how to create a Bucket inside it. A bucket contains objects associated with a project. These objects can be accessed via a number of methods within a Bucket, such as the ACL property. You can create multiple Buckets under the same project. Thus, having a large storage space for files and data.