Re:New storage classes for Google Cloud Storage
by jon-wood on Thursday October 20, 2016 @10:40AM
(#12752609)
> you-will-spend-too-much-time-thinking-of-a-clever-bucket-name
FQDNs to the rescue, I very much doubt anyone but me is going to call a bucket backups.ninjagiraffes.co.uk (and if someone does so now, well, good trolling)
Re:New storage classes for Google Cloud Storage
by dekhn on Thursday October 20, 2016 @11:30AM
(#12753172)
https://cloud.google.com/storage/docs/domain-name-verificati...
if you own a domain, only people who pass domain ownership verification can make buckets with that domain suffix.
Combined with https://cloud.google.com/storage/docs/hosting-static-website it means you can easily host static websites by just populating appropriately named buckets with your domain suffix.
I think this is a very cool feature.
gsutil -m rsync -P -d -r -x "node_modules|tmp|..."-e ~/ gs://you-will-spend-too-much-time-thinking-of-a-clever-bucket-name
(although I should expand it a bit to better handle ignoring stuff by parsing .gitignore)