Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is Google using aws to host this.

If you look at: https://noto-website.storage.googleapis.com/

You will see the following: <?xml version='1.0' encoding='UTF-8'?> <ListBucketResult xmlns='http://doc.s3.amazonaws.com/2006-03-01'> <Name>noto-website</Name> <Prefix></Prefix> <Marker></Marker> <NextMarker>emoji/emoji_u1f468_200d_1f468_200d_1f466_200d_1f466.png</NextMarker> <IsTruncated>true</IsTruncated> <Contents> <Key>css/emoji-zsye-color.css</Key> <Generation>1464738619772000</Generation> <MetaGeneration>1</MetaGeneration> <LastModified>2016-05-31T23:50:19.729Z</LastModified> <ETag>"e3aaae52d88ced070044f59d1efe2009"</ETag> <Size>152</Size> <Owner/> </Contents>

http://i.imgur.com/yLiWUGq.png

Are they using Amazon S3?

Edit:

They just changed it. @1:00 pm so it no longer mentions aws.



Good question. I can explain. "storage.googleapis.com" is an endpoint for Google Cloud Storage's "XML" API. Google Cloud Storage (GCS) is a cloud blob storage service similar to Amazon S3.

This particular API, the "XML" API, is designed to be API-compatible with S3. The XML namespace, 'http://doc.s3.amazonaws.com/2006-03-01', is therefore the same. This allows third party tools like 'boto' and the like which work with S3 to work with GCS with only a switch in hostname.


Thanks for the answer. Do you know why they changed the scheme after the initial upload?


I have no idea. I'm not sure what you were looking at.

If you visit just "https://noto-website.storage.googleapis.com/", that's a request to list all of the objects in the bucket, so you'll see an XML document with that namespace and the results of a listing.

If you were trying to download a specific object from that bucket, you'd either see the resource itself, or you'd see an XML error result of some sort (404, 403, etc). So I assume that either you mistyped the object name once or else the object had been deleted for some reason.


If you do the DNS traces, it's easy to see: No. They're just implementing a S3 compatible API.

  ;; ANSWER SECTION:
  noto-website.storage.googleapis.com. 3174 IN CNAME storage.l.googleusercontent.com.
  storage.l.googleusercontent.com. 300 IN	A	172.217.5.112

  ;; ANSWER SECTION:
  112.5.217.172.in-addr.arpa. 86400 IN	PTR	sfo03s07-in-f16.1e100.net.
  112.5.217.172.in-addr.arpa. 86400 IN	PTR	sfo03s07-in-f16.1e100.net.


The host could be implementing an S3 compatible API.


Just schema




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: