GCP Console - Google Cloud Console - Google Storage

GCP Console

Google Cloud Platform (GCP) allows you to build, deploy, and scale applications, sites, and services on a similar foundation as Google.

Image Credit : GCP Console - Google Cloud Console - Google Storage

The console gives: Easy admittance to all your Google Cloud Platform projects. Admittance to the Google Cloud Shell. A customizable task dashboard, with an outline of Google Cloud assets, charging, and a filterable action posting.

How do I open the Google Cloud console?

Figure out how to get everything rolling with Cloud Storage using the Google Cloud Console.

Costs that you cause in Cloud Storage depend on the assets you use. This quickstart ordinarily uses under $0.01 USD worth of Cloud Storage assets.

Before you begin

  1. 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.
  2. In the Google Cloud Console, on the project selector page, select or create a Google Cloud project.

  1. Go to project selector

  2. Make sure that billing is enabled for your Cloud project. Learn how to check if billing is enabled on a project.

Create a bucket

Buckets are the basic containers that hold your data in Cloud Storage.

To create a bucket:

  1. In the Google Cloud Console, go to the Cloud Storage Browser page.

    Go to Browser

  2. Click Create bucket to open the bucket creation form.

  3. Enter your bucket information and click Continue to complete each step:

    • Enter a unique Name for your bucket.

    • Choose Region for Location type and us-east1 (South Carolina) for Location.

    • Choose Standard for default storage class.

    • Choose Uniform for Access control.

    • Choose None for Protection tools.

      4. Click Create.

That's it — you've just created a Cloud Storage bucket!

To upload the image above into your new bucket:

  1. Right-click on the image above and download it to your computer.

  2. In the Cloud Storage browser page, click the name of the bucket that you created.

  3. In the Objects tab, click Upload files.

  4. In the file dialog, go to the file that you downloaded and select it.

After the upload completes, you should see the file name and information about the file, such as its size and type.

Download the object

To download the image from your bucket, click Download file_download.

Share the object

To allow public access to the bucket and create a publicly accessible URL for the image:

  1. Click the Permissions tab above the list of files.

  2. Ensure the view is set to Principals. Click Add.

    The Add principals pane appears.

  3. In the New principals box, enter allUsers.

  4. In the Select a role drop-down, select Cloud Storage > Storage Object Viewer.

  5. Click Save.

  6. In the Are you sure you want to make this resource public? window, click Allow public access.

To verify, click the Objects tab to return to the list of objects. Your object's Public access column should read Public to internet. The Copy URL button provides a shareable URL similar to the following:

To remove public access from the bucket and stop sharing the image publicly:

  1. Click the Permissions tab above the list of objects.

  2. Find the entry that has allUsers listed in the Principals column. Select the checkbox for that entry.

  3. Click Remove.

  4. In the Delete allUsers window, click Confirm.

In the Objects tab, you should see that the image no longer has a Copy URL button associated with it.

Create folders

  1. In the Objects tab, click Create folder.

  2. Enter folder1 for Name and click Create.

You should see the folder in the bucket with an image of a folder icon to distinguish it from objects.

Create a subfolder and upload a file to it:

  1. Click folder1.

  2. Click Create folder.

  3. Enter folder2 for Name and click Create.

  4. Click folder2.

  5. Click Upload files.

  6. In the file dialog, navigate to the screenshot that you downloaded and select it.

After the upload completes, you should see the file name and information about the file, such as its size and type.

Delete the objects

  1. Click the arrow next to Bucket details to return to the buckets level.

  2. Select the bucket.

  3. Select the checkbox next to folder1.

  4. Click on the Delete button.

  5. In the window that opens, enter the folder name you want to delete.

  6. Click Delete to permanently delete the folder and all objects and subfolders in it.

Clean up

To avoid incurring charges to your Google Cloud account for the resources used on this page, follow these steps.

  1. Open the Cloud Storage browser in the Google Cloud Console.
    Open the Cloud Storage browser
  2. Select the checkbox next to the bucket that you created.
  3. Click Delete.
  4. In the window that opens, confirm you want to delete the bucket.
  5. Click Delete.

How to create a service account in the GCP console?

A service account as a JSON file is required to authenticate site to perform GCP resource discovery and monitoring. To create a service account, follow the steps below:

  1. Log in to your GCP console and click on the hamburger icon at the top left corner.
  2. Hover on IAM & Admin > click on Service Accounts.
  3. Click on + Create Service Account.
  4. Provide Service Account Details including the account NameID, and Description. Click Create.
  5. Provide the role Viewer for the project. Learn more on the other permissions required to enable Site24x7 GCP monitoring.
  6. Click on + Create Key.
  7. Select the Key Type as JSON and click Create
GCP Console - Google Cloud Console - Google Storage
Advertisement Continue Reading Below
Advertisement Continue Reading Below
Previous Post Next Post