Google Cloud Using the Console

Google

Using Console

 

chrome

Google Cloud Integration
Google Cloud Account profile picture Contact sales Cloud Storage Documentation Quickstart Using the Console This page shows you how to perform basic tasks in Cloud Storage using the Google Cloud Platform Console. Costs that you incur in Cloud Storage are based on the resources you use. This quickstart typically uses less than $0.01 USD worth of Cloud Storage resources. Before you begin Select or create a GCP project. GO TO THE MANAGE RESOURCES PAGE Assurez-vous que la facturation est activée pour votre projet. EN SAVOIR PLUS SUR L’ACTIVATION DE LA FACTURATION Create a bucket Buckets are the basic containers that hold your data in Cloud Storage. To create a bucket: Open the Cloud Storage browser in the Google Cloud Platform Console. OPEN THE CLOUD STORAGE BROWSER Click Create bucket. Enter a unique Name for your bucket. Do not include sensitive information in the bucket name, because the bucket namespace is global and publicly visible. See bucket naming requirements. Choose Regional for Storage class. Choose us-east1 for Location. Click Create. That’s it — you’ve just created a Cloud Storage bucket! Upload an object into the bucket Image of a kitten. To upload the image above into your new bucket: Right-click on the image above and download it to your computer. In the Cloud Storage browser, click on the name of the bucket that you created. Click the Upload files button in the Objects tab. In the file dialog, navigate 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 and display an object Try these ways of interacting with the objects from the Cloud Storage browser: Right-click the file and select the option to save it. Click on the file to view it in your browser. Share an object publicly To create a publicly accessible URL for the file: Click the drop-down menu associated with the file. The drop-down menu appears as three vertical dots to the far right. Select Edit permissions from the drop-down menu. In the overlay that appears, click the + Add item button. In the row that is added, do the following: In the Entity column, select User. in the Name column, enter allUsers. In the Access column, select Reader. Click Save. You should see that the file is publicly accessible and has a link icon. The link icon reveals a shareable URL that looks like: https://storage.googleapis.com//kitten.png To stop sharing the file publicly: Click the drop-down menu associated with the file. The drop-down menu appears as three vertical dots to the far right. Select Edit permissions from the drop-down menu. In the overlay that appears, click the X to the right of the allUsers entry. Click Save. You should see that the file no longer has a link icon associated with it. Note: After you remove public access to the object, you may be able to access a cached version of it for a period of time. Create folders Click Create folder. 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: Click folder1. Click Create folder. Enter folder2 for Name and click Create. Click folder2. Click Upload files. 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 objects Click the Buckets link to return to the Buckets level. Select the bucket. Select the checkbox next to folder1. Click on the Delete button. Click OK to permanently delete the folder and all objects and subfolders in it. Clean up To avoid incurring charges to your GCP account for the resources used in this quickstart: Open the Cloud Storage browser in the Google Cloud Platform Console. OPEN THE CLOUD STORAGE BROWSER Select the checkbox next to the bucket that you created. Click Delete. In the pop-up window that appears, click Delete to permanently delete the bucket and its contents. What’s next Work through the Cloud Storage Quickstart using the gsutil tool. Review the available guides for completing tasks in Cloud Storage. Learn about the storage classes that Cloud Storage offers. Learn about the pricing structure for Cloud Storage. Work through the tutorial How to Host a Static Website using Google Cloud Storage. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.