This is Object storage for companies of all sizes. It is used to store any amount of data and you can retrieve it any time you want
Buckets are the containers that hold your data in google cloud storage
To create a bucket in the console, go to Navigation> Cloud storage> Browser
Click create bucket
Enter a unique bucket name then click continue to complete other steps
Choose regional as location type and a preferred region for location.In this case i will choose us-central
For default storage class i will choose standard because frequently accessed data
There are four storage classes;
Standard: Best for frequently accessed data and short-term storage.
Nearline: Best for data accessed in less than a month.Backups
Coldline: Best for data accessed less than once a quarter.Best for disaster recovery
Archive: Best for data accessed once a year.Best for long-term digital preservations.
For access control, choose a uniform access control. Uniform control ensures uniform access to all objects in the bucket by using only bucket-level permissions while fine grained access is for specific access to individual objects using ACLs in addition to bucket level permissions.
Then I will create the bucket.
TO UPLOAD AN OBJECT INTO THE BUCKET
In the cloud storage browser, click on the name of the bucket you created.
In the objects tab, click on the upload files tab and upload any files you want to upload and afterwards you will see the file name and information about the file like the size and type.
DOWNLOADING OBJECTS FROM CLOUD STORAGE
To download the image from the bucket, click download;
SHARING OBJECTS CREATED IN THE BUCKET
To allow public access to the bucket and create publicly accessible URL for the image:
Click on the permissions tab to list files
Ensure the view is set to principals then click add: The add pane appears and in the box enter allUsers and in the select role dropdown, select Cloud storage>storage object viewer then save.
You will finally allow public access.
To verify,click on the objects tab to return to the list of objects and the public access column should read Public to internet. The copy URL is sharearable.
To remove public access from the bucket and stop sharing the image publicly:
Click on permissions
Find the entry that has allUsers listed in the principals column, Select the checkbox for that entry.Click remove and confirm
NOTE: After you remove public access to the image, you may be able to access the cached version of it for a longer period of time.
CREATING FOLDERS IN CLOUD STORAGE
On the objects tab, click on create folder.
Enter folder1 for Name and create
You can create a subfolder within a folder and upload a file to it by clicking on folder1 and create folder. Enter folder2 name and create then upload files into it.
DELETING THE STORAGE BUCKET IN CLOUD STORAGE
When you want to delete a bucket, you check the bucket you created and delete then confirm deletion.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article