Does Google Cloud Storage Bucket use Amazon S3?

ses

I did set up a Google Cloud Storage Bucket with index.html and test.html and what I see, when I go to my domain:

See: doc.s3.amazonaws.com/2006-03-01 in:

    <?xml version='1.0' encoding='UTF-8'?>
    <ListBucketResult xmlns='http://doc.s3.amazonaws.com/2006-03-01'> 
    <Name>my-domain.com</Name>
    <Prefix></Prefix>
    <Marker></Marker>
    <IsTruncated>false</IsTruncated>
    <Contents><Key>index.html</Key>
    <Generation>1555969892676799</Generation>
    <MetaGeneration>1</MetaGeneration>
    <LastModified>2019-04-22T21:51...</LastModified>
<ETag>"...."</ETag>
<Size>25</Size></Contents><Contents>
<Key>test.html</Key>

etc..

I do not have amazon account.

Brandon Yarbrough

Despite that string being present in the namespace, the response to that request is not coming from AWS.

Google Cloud Storage (GCS) has two APIs. One is JSON-based and looks like most of Google's APIs (called the JSON API), and the other is XML-based and is designed to be interoperable with some cloud storage tools and libraries that work with S3. The idea is that, if you already use such a tool, such as the Python boto library, using GCS can be accomplished by changing the URL and credentials. Clients parsing XML responses likely validate XML namespaces, and so they expect to see something like the string "http://doc.s3.amazonaws.com/2006-03-01" as part of the protocol.

You're sending a request to the XML API (either via storage.googleapis.com, BUCKET_NAME.storage.googleapis.com, or via a CNAME DNS redirect to Cloud Storage) , and so the resulting message tries to provide an interoperable response.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Google Cloud Storage with a service account in Java - 403 Caller does not have storage.objects.list access to bucket

Write to Google Cloud storage bucket as if it were a directory?

Exporting data from Google Cloud Storage to Amazon S3

Sync github repository with google cloud storage bucket

Mount Google Cloud Storage Bucket to Instance

Use CloudFlare to CDN a Google Cloud Storage Bucket

Configuring CORS on a Firebase Google Cloud Storage Bucket

Restore Bucket on Google Cloud Storage

Does Google Cloud Storage Bucket charges for Bandwidth ?

Google cloud storage does not let me remove bucket with huge data

Copy from Google Cloud Storage Bucket to S3 Bucket

How to use Django FileField with dynamic Amazon S3 bucket?

How can I use a Google Cloud Function to push a file from a Cloud Storage bucket into an instance?

Creating bucket in Google Cloud Storage in custom location

Google cloud storage: change bucket region

Google Cloud Run / Mounting Google Storage Bucket

How to use gsutil to download from google cloud storage to AWS instance or s3 bucket with a http link?

Google-Cloud-Storage | Artifactory does not delete objects in bucket

Why are S3 and Google Storage bucket names a global namespace?

Utilizing Google's Cloud CDN without a Google Storage Bucket

Copy Files from S3 bucket to Google Cloud Storage

Secure Google Cloud Storage bucket with credentials

Amazon S3 Bucket Policy & Google Docs View

AccessDeniedException: 403 does not have storage.buckets.get access to the Google Cloud Storage bucket

Run PHP in Google Cloud Storage Bucket

Is there a way to use a google cloud storage bucket file as a local file?

Is it possible to use file system instead of actual Storage bucket in the cloud for development purposes (Google Cloud Platform)

When we send data from an encrypted AWS S3 bucket to an encrypted Google Cloud Storage bucket, is that data encrypted in transit?

Does renaming an object in a google cloud storage bucket cause egress charges?