Access public data from cloud storage without any authentication using google account

0 votes
I need to access public data from cloud storage without any authentication or using google account. How do I do this?
Nov 12, 2019 in GCP by anonymous
• 6,260 points
1,737 views

1 answer to this question.

0 votes

Accessing public data with gsutil or a Cloud Storage API link does not require authentication. These methods are suited for general-purpose links to publicly shared data.

  1. If you don't have gsutil, install gsutil.

  2. Get the name of the bucket containing the public data.

  3. If the bucket is public (and not just some of the data within it), you can list some or all of the data (objects) contained in the bucket by using the ls command.

    For example, the Google public bucket gcp-public-data-landsat contains the Landsat public dataset. You can list files with the prefix LC08/PRE/063/046/LC80630462016 with the command:

    gsutil ls -r gs://gcp-public-data-landsat/LC08/PRE/063/046/LC80630462016*
  4. Get specific public objects contained in the bucket by using the cp command.

    For example, the following command downloads a file from the bucket gcp-public-data-landsat to your local directory:

    gsutil cp gs://gcp-public-data-landsat/LC08/PRE/063/046/LC80630462016136LGN00/LC80630462016136LGN00_B11.TIF .
answered Nov 12, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer

Writing data to google cloud storage using python

Using the Python library for Google Cloud ...READ MORE

answered Nov 8, 2022 in GCP by Ashwini
• 5,430 points
1,078 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

GCP Error: 403: Access Denied

Check that your credentials are correct. For ...READ MORE

answered Oct 9, 2019 in GCP by Sirajul
• 59,230 points
3,628 views
0 votes
1 answer

Permissions issue with Google Cloud Storage Bucket.

You can regain access to the object by assigning an applicable role, like roles/storage.objectAdmin, to ...READ MORE

answered Oct 10, 2019 in GCP by Sirajul
• 59,230 points
4,565 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP