Cloud Storage is a service for storing your objects in Google Cloud. An object is an immutable piece of data consisting of a file of any format. You store objects in containers called buckets. All buckets are associated with a project, and you can group your projects under an organization.
After you create a project, you can create Cloud Storage buckets, upload objects to your buckets, and download objects from your buckets. You can also grant permissions to make your data accessible to principals you specify, or – for certain use cases such as hosting a website – accessible to everyone on the public internet.
The Cloud Storage structure looks like this:
Cloud Storage provides fast, low-cost, highly durable storage for data accessed less than once a month. Perfect for reducing the cost of backups and archives while still retaining immediate access. Backup data in Cloud Storage can be used for more than just recovery because all storage classes have ms latency and are accessed through a single API.
Basic tools for Cloud Storage
Here are some basic ways you can interact with Cloud Storage:
Console: The Google Cloud Console provides a visual interface for you to manage your data in a browser.
BEFORE YOU BEGIN
Sign in to your Google Cloud account. If you’re new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
In the Google Cloud Console, on the project selector page, select or create a Google Cloud project.
Make sure that billing is enabled for your Cloud project. Learn how to confirm that billing is enabled for your project.
CREATE A BUCKET
Buckets are the basic containers that hold your data in Cloud Storage.
To create a bucket:
In the Google Cloud Console, go to the Cloud Storage Browser
page Click Create bucket to open the bucket creation form.
That’s it — you’ve just created a Cloud Storage bucket!
gsutil: gsutil is a command-line tool that allows you to interact with Cloud Storage through a terminal. If you use other Google Cloud services, you can download the Cloud SDK, which includes gsutil along with the gcloud tool for other services.
Client libraries: The Cloud Storage client libraries allow you to manage your data using one of your preferred languages, including C++, C#, Go, Java, Node.js, PHP, Python, and Ruby.
Rest APIs: manage your data using the JSON or XML API.