News for hackers. Stuff that matters.
Re:Ask HN: Is S3 down? by boulos on Tuesday February 28, 2017 @04:31PM (#13758088)
Disclosure: I work on Google Cloud.

Apologies if you find this to be in poor taste, but GCS directly supports the S3 XML API (including v4):

https://cloud.google.com/storage/docs/interoperability

and has easy to use multi-regional support at a fraction of the cost of what it would take on AWS. I directly point my NAS box at home to GCS instead of S3 (sadly having to modify the little PHP client code to point it to storage.googleapis.com), and it works like a charm. Resumable uploads work differently between us, but honestly since we let you do up to 5TB per object, I haven't needed to bother yet.

Again, Disclosure: I work on Google Cloud (and we've had our own outages!).

Re:Ask HN: Is S3 down? by NiekvdMaas on Wednesday March 01, 2017 @02:10AM (#13761894)
Apologies if this is too much off-topic, but I want to share an anecdote of some some serious problems we had with GCS and why I'd be careful to trust them with critical services:

Our production Cloud SQL started throwing errors that we could not write anything to the database. We have Gold support, so quickly created a ticket. While there was a quick reply, it took a total of 21+ hours of downtime to get the issue fixed. During the downtime, there is nothing you can do to speed this up - you're waiting helplessly. Because Cloud SQL is a hosted service, you can not connect to a shell or access any filesystem data directly - there is nothing you can do, other than wait for the Google engineers to resolve the problem.

When the Cloud SQL instance was up&running again, support confirmed that there is nothing you can do to prevent a filesystem crash, it "just happens". The workaround they offered is to have a failover set up, so it can take over in case of downtime. The worst part is that GCS refused to offer credit, as according to their SLA this is not considered downtime. The SLA [1] states: "with respect to Google Cloud SQL Second Generation: all connection requests to a Multi-zone Instance fail" - so as long as the SQL instance accepts incoming connections, there is no downtime. Your data can get lost, your database can be unusable, your whole system might be down: according to Google, this is no downtime.

TL;DR: make sure to check the SLA before moving critical stuff to GCS.

[1]: https://cloud.google.com/sql/sla

Re:Ask HN: Is S3 down? by fidget on Wednesday March 01, 2017 @03:46AM (#13762293)
The GCS being referred to by the GP is Google Cloud Storage, not Cloud Sequel. You really do need failover set up though. That's true for basically any MySQL installation, managed or not.
Re:Ask HN: Is S3 down? by adwf on Wednesday March 01, 2017 @07:26AM (#13763138)
That isn't just a Google issue though. You'd have had the exact same trouble with AWS/RDS if you're running with no replica. The lack of filesystem access is a security "feature" for both. If you have no HA setup then you have no recourse but to restore to a new server from backup, or wait for your cloud provider to fix it.
Re:Ask HN: Is S3 down? by avereveard on Wednesday March 01, 2017 @09:53AM (#13764052)
RDS has snapshot backups you can create an instance from iirc so you can self fix this kind of issues.

Sure you get downtime all the same but not the waiting for support to solve an instance crash part

Re:Ask HN: Is S3 down? by unclebucknasty on Wednesday March 01, 2017 @10:45AM (#13764581)
Yes, and RDS offers point in time recovery at that.

We've had to use it and can confirm that it works as advertised.

Re:Ask HN: Is S3 down? by lbill on Wednesday March 01, 2017 @04:22AM (#13762444)
Not using a failover is a bold choice (not stupid, just bold). A failover is like a good insurance policy: you pay for it, you hope that you'll never need it, but when shit happens you are very happy to have it!
Re:Ask HN: Is S3 down? by TekMol on Wednesday March 01, 2017 @02:30AM (#13762012)
21 hours sounds pretty long to me. What type of data was it and how long would you have waited until you continued with a backup of the data on a different machine?
Re:Ask HN: Is S3 down? by NiekvdMaas on Wednesday March 01, 2017 @03:52AM (#13762313)
We were definitely prepared to recover from a backup, but the support team told us: "the issue with the file system will likely persevere over a backup/restore". So this, in combination with the data loss you have when recovering from a backup, means we basically had no choice other than to wait till the issue was resolved.
Re:Ask HN: Is S3 down? by JPKab on Tuesday February 28, 2017 @04:40PM (#13758211)
I've used both Google Cloud and AWS, and as of a year or so ago, I'm a Google Cloud convert. (Before that, you guys didn't at all have your shit together when it came to customer support)

It's not in bad taste, despite other comments saying otherwise. We need to recognize that competition is good, and Amazon isn't the answer to everything.

Re:Ask HN: Is S3 down? by eknkc on Tuesday February 28, 2017 @05:58PM (#13759054)
We were on GCP for around a year, it was my decision I really wanted to love GCP and I initially did. But we recently switched to AWS.

I think there is little GCP does better than AWS. Pricing is better on paper, but performance per buck seems to be on par. Stability is a lot worse on GCP, and I don't just mean service outages like this one (which they had their fair share) but also individual issues like instances slowing down or network acting up randomly. Also lack of service offerings like no PostgreSQL, functions never leaving alpha, no hosted redis clusters etc... Support is also too expensive compared to AWS.

Management interfaces are better on GCP and sustained use discount is a big step up against AWS reservations. Otherwise, I think AWS works better.

Re:Ask HN: Is S3 down? by aardshark on Wednesday March 01, 2017 @11:34AM (#13765154)
I haven't used AWS, but my experience with AppEngine and by extension GCP is similar.

Just last week I got an email saying that they'd discovered an issue on Google Cloud Datastore where certain (strongly consistent!) queries could have been returning incorrect results for a week long period and that I should check my logs to see if anything important had been affected in my application.

That's not the sort of behaviour that inspires confidence in a service.

Re:Ask HN: Is S3 down? by fidget on Tuesday February 28, 2017 @06:20PM (#13759247)
Functions are going beta this week
Re:Ask HN: Is S3 down? by Moru on Tuesday February 28, 2017 @06:50PM (#13759475)
And discontinued next year?
Re:Ask HN: Is S3 down? by benley on Tuesday February 28, 2017 @07:00PM (#13759543)
The standard "lol google will kill it in 6 months anyway" troll doesn't really apply to Google Cloud services. They know better than to be fickle with infrastructure offerings.
Re:Ask HN: Is S3 down? by themihai on Tuesday February 28, 2017 @11:51PM (#13761241)
Are you sure? Have you used appengine or any of their cloud libraries? Just found out that some of the services I wrote 3 years ago don't work anymore due various breaking changes. It also very much applies to cloud services themselves! What happened to the email service(appengine powered)?I'm telling you: it no longer exists! Compare that with AWS SES which gets better and better. I could go on and on all day long. Google cloud is nice on paper but fails in practice. If you consider the lock-in it is not worth it on paper either
Re:Ask HN: Is S3 down? by davidjnelson on Wednesday March 01, 2017 @12:21AM (#13761397)
That happened to me and my sites were down for four months. I lost 15 years of seo, and $30/mo revenue... They just shut down the Python app engine sites with no notice. I'll never use google cloud.
Re:Ask HN: Is S3 down? by scrollaway on Wednesday March 01, 2017 @09:58AM (#13764115)
What? That sounds like nonsense. Some sources please.
Re:Ask HN: Is S3 down? by davidjnelson on Thursday March 09, 2017 @01:01AM (#13827333)
I wish it were. It was an enormous amount of effort to get my pagerank that high. I suppose I could post my google analytics before and after, but that's not really data I share with the public.
Re:Ask HN: Is S3 down? by scrollaway on Thursday March 09, 2017 @08:30AM (#13829071)
I'm not doubting your site was "down for four months". I'm doubting the part where you said "They just shut down the Python app engine sites with no notice".

Most notably, I know many people who run these types of sites and outside of GAE being mediocre, I've never heard them complain about anything like that.

Re:Ask HN: Is S3 down? by davidjnelson on Monday March 13, 2017 @12:25PM (#13859244)
This was the very first version of app engine that rolled out in 2008 or so. It showed some type of "incompatible version" notice in the admin ui when I noticed it, and when I tried to redeploy the sites using the command line deploy tool. I switched everything to s3.
Re:Ask HN: Is S3 down? by benley on Wednesday March 01, 2017 @01:57AM (#13761830)
How much advance notice did they give when they were shutting down that email service? I bet it was like eight months or more. Things change, you have to deal with it sometimes. Seems kinda normal.
Re:Ask HN: Is S3 down? by themihai on Wednesday March 01, 2017 @11:52PM (#13771514)
People don't like to rewrite infrastructure code just b/c the provider decided it's not worth it anymore. When you sign up you consider the whole ecosystem not individual services. The cloud platform is marketed as reliable and rock solid that you can trust. It may be the case with AWS but on Google you should expect experimental, cheap and a high risk to get broken or even deprecated all together. It behaves like a start-up with customers paying for experiments. It's OK for some use cases but you should be aware of that.
Re:Ask HN: Is S3 down? by Moru on Tuesday February 28, 2017 @07:05PM (#13759580)
No trolling, just tired of setting up things that just stop working and forcing me to work on a fix. I dont work for a big company with a dev team of 20 people, its just me and customer support. Im close to a burn out as it is, I dont need help with it.
Re:Ask HN: Is S3 down? by foxylad on Tuesday February 28, 2017 @08:02PM (#13759973)
I've used Appengine since 2009. Early on they deprecated the original master-slave datastore, but apart from that I've had zero refactoring around their services.

Other services are a different story - from my perspective Google are better at supporting legacy interfaces than most.

Re:Ask HN: Is S3 down? by iampims on Tuesday February 28, 2017 @10:28PM (#13760792)
They deprecated their alpha search api 2 years in iirc
Re:Ask HN: Is S3 down? by fidget on Tuesday February 28, 2017 @07:16PM (#13759669)
They have a minimum of 1 year deprecation policy in their terms of service.
Re:Ask HN: Is S3 down? by ChristianBach on Tuesday February 28, 2017 @07:29PM (#13759757)
I hear you, discontinuing products that you're dependent on is painful, but discontinuing services that you built your infrastructure around is an outright killer.
Re:Ask HN: Is S3 down? by beambot on Tuesday February 28, 2017 @08:05PM (#13759993)
Counterpoint from an email I received just last week (Feb 21st):

> We are writing to inform you that we are winding down sales and renewals of Google Site Search (GSS). Starting April 1st, 2017, new purchases and renewals of GSS will not be available.

Re:Ask HN: Is S3 down? by kyrra on Tuesday February 28, 2017 @08:24PM (#13760117)
GSS isn't under Cloud and doesn't have the same deprecation policy. Cloud explicitly states that it has a minimum 1-year turndown on any feature they disable.
Re:Ask HN: Is S3 down? by beambot on Tuesday February 28, 2017 @08:51PM (#13760239)
> They know better than to be fickle with infrastructure offerings

Site Search seems like an infra offering to me.

Re:Ask HN: Is S3 down? by inimino on Tuesday February 28, 2017 @09:15PM (#13760356)
Cloud is still competing with on premises solutions, right? One year is nothing, try ten or twenty.
Re:Ask HN: Is S3 down? by newjersey on Tuesday February 28, 2017 @11:32PM (#13761134)
> Cloud is still competing with on premises solutions, right? One year is nothing, try ten or twenty.

Not an expert by any means but I would put more weight to Google's ONE year promise over (to give an example) HPE's twenty years promise. I know it is a cheap shot because I am pretty sure HPE will be bought and sold at least once in the next twenty years.

Re:Ask HN: Is S3 down? by xchaotic on Wednesday March 01, 2017 @11:32AM (#13765145)
FWIW I am now dealing with a system that is supported by HPE for over 10 years now. Even if they get bought out, someone will inherit those support obligations. I am also in the camp of not trusting Google with anything.
Re:Ask HN: Is S3 down? by epalmer on Wednesday March 01, 2017 @10:56AM (#13764687)
GSS shutdown gives us a year also. I just migrated to GSS a year ago. And they decommissioned they big appliance Google Enterprise Serarch I think it was called.

We were users of the Google Mini Search appliance, went to a 3rd party in-house installed search solution that we did not like and then a year ago went to GSS. We are looking again for something suitable. The best part of the Google Site Search was search fidelity.

Re:Ask HN: Is S3 down? by allizad on Wednesday March 01, 2017 @05:01PM (#13768903)
Try open-source search solutions? :)
Re:Ask HN: Is S3 down? by ExactoKnight on Tuesday February 28, 2017 @10:48PM (#13760923)
They did it to their Google Analytics API. We spent four months building a dashboard off of it then Google fucking deprecated it. Thanks Google.
Re:Ask HN: Is S3 down? by anotherturn on Wednesday March 01, 2017 @12:50AM (#13761524)
Not entirely true. App engine depreciations happen all the time and they give about 1 years notice. Most recently the channel api, before that prospective search, backends, etc etc
Re:Ask HN: Is S3 down? by benley on Wednesday March 01, 2017 @01:58AM (#13761835)
"oh no I only have _an entire year_ to deal with an API deprecation what ever will I do?" :-P
Re:Ask HN: Is S3 down? by bartread on Wednesday March 01, 2017 @02:26AM (#13761987)
Well, if it's something you've built your entire offering around it could be a simple fix, or it could be months of work, and that will vary by project. Bear in mind that this is completely non-value-adding work that you didn't plan on just to bring your project back to a functioning state.

I.e., some douchebag who has no interest or stake in what you do has just dumped a potentially substantial amount of technical debt into your product backlog and, quite possibly, prioritised it all the way to the top.

As somebody else noted above: I don't need people creating more work from me. I can do that quite well enough on my own, thanks very much, and for side-projects this kind of chopping and changing is a pain in the ass.

By definition, with side-projects time is limited, so you absolutely have to focus on the most valuable activities to the exclusion of all else. For this reason, I only consider AWS and Azure for my projects: Google are just too fickle. Lucky you, if you have the time to deal with their nonsense.

(Btw, I'm not dissing Google on a technical level - they obviously do great, interesting work, and they're certainly one of the pioneers of PaaS. I just don't need the hassle of having to fix stuff because they keep killing APIs, projects, services.)

Re:Ask HN: Is S3 down? by anotherturn on Wednesday March 01, 2017 @03:46AM (#13762296)
Yes exactly. The app specifically affected by Channels API depreciation is a side project that serves a few thousand people. It marches along perfectly well, and I pay Google money for it each month - though the project itself makes no money. Now, I need to consider whether the shift from Channel API to Firebase (and the few days work it'll take to do) is worth the investment, or if I should just shut it down.
Re:Ask HN: Is S3 down? by imron on Tuesday February 28, 2017 @10:06PM (#13760632)
> doesn't really apply to Google Cloud services

It might not, but doing it so much for other services destroys trust across the entire brand.

Re:Ask HN: Is S3 down? by dstroot on Tuesday February 28, 2017 @10:13PM (#13760681)
I, for one, would love to see Redis and Postgres on GCP. That would be enough to get me to switch I think.
Re:Ask HN: Is S3 down? by doubleorseven on Wednesday March 01, 2017 @12:06AM (#13761327)
Wait for the NEXT event. Radis will be announced.
Re:Ask HN: Is S3 down? by espeed on Tuesday February 28, 2017 @05:25PM (#13758766)
Me too. We switched to Google Cloud years ago at its inception and have never looked back -- always viewed it as a competitive advantage due to its solid, more advanced infrastructure -- faster network, reliable disks, cleaner UI that's easier to manage. Just a cleaner operation all the way around.
Re:Ask HN: Is S3 down? by snackai on Tuesday February 28, 2017 @08:07PM (#13760004)
What indeed is bad taste is your choice of Google Cloud over AWS. No I really like GCP, use it at core of many apps, but if people really want a decentralized web we need to use more than one provider. Don't "convert". Use booth, redundancy ffs.
Re:Ask HN: Is S3 down? by kiallmacinnes on Wednesday March 01, 2017 @04:02AM (#13762358)
Pity I can't upvote more than once! :)

This whole idea of being angry at a vendor for deprecating something with 1yr notice is just ridiculous!

People need to realize they are choosing lock-in, and are choosing the risk of deprecation every time they decide to use a cloud service with no drop in competition/open source/etc.

Own your choices people, don't blame others...

Re:Ask HN: Is S3 down? by unclebucknasty on Wednesday March 01, 2017 @10:57AM (#13764695)
Sounds great on paper, but this is infrastructure level stuff with real world constraints.

The expectation of stability beyond a year is certainly not unreasonable when you're asking people to build their businesses/infrastructure on your platform.

And, building redundancy across providers can be impractical, owed to learning curve, cost duplication, higher outbound bandwidth costs, effort duplication, solution complexity, etc.

Re:Ask HN: Is S3 down? by adjkant on Wednesday March 01, 2017 @01:03AM (#13761595)
What's the point of decentralizing by putting 50% on one, 50% on the other, and no overlap of the groups? You used the word redundancy, but who is willing to actually do that true redundancy?
Re:Ask HN: Is S3 down? by advisedwang on Tuesday February 28, 2017 @06:34PM (#13759353)
I work in GCP support. I'm really curious: what do you feel changed that led to such improved support? I'd like to make sure we keep doing it.
Re:Ask HN: Is S3 down? by anotherturn on Wednesday March 01, 2017 @12:57AM (#13761567)
Chiming in as I noticed the change too. For a long time it was almost impossible to speak with a human - every query was directed to the extensive but often useless support pages. If a human did respond it often seemed like they weren't savvy enough to handle a microwave let alone solve infra issues.

Then, about a year or two ago - humans actually started responding to and fixing problems. A welcome change!

Re:Ask HN: Is S3 down? by advisedwang on Wednesday March 01, 2017 @06:36PM (#13769775)
Do you have one of the paid support packages, or is this your experience of our google groups/stack overflow etc?
Re:Ask HN: Is S3 down? by vacri on Tuesday February 28, 2017 @07:09PM (#13759617)
My experience of support with Google Apps for Business makes me very wary of using anything Google for critical business infra. Google products are nice, but as soon as you hit a problem or edge case, you're on your own in my experience.
Re:Ask HN: Is S3 down? by keithnoizu on Tuesday February 28, 2017 @08:07PM (#13760006)
This.

I used to work on the Azure Portal Team. As much negative things as I can say about Microsoft, they take making things just work for developers seriously, despite high prices and misc. service issues.

The since nixed compute container project I initially worked on really exemplified this.

I tend to use Colo or AWS when possible but I have a client that insisted on Google GCE and Endpoints.

I've spent so much time time digging through source code and working around broken dev tooling, and dealing with incorrect or out of date documentation thanks to that requirement.

In my personal opinion Google has a way to go in mature tooling. Silent failures, or worse failures that don't result in build failures are not acceptable. Requiring paid support contracts to resolve an issue in google infra is not acceptable. Incredibly poor support for local dev environments is not acceptable.

After dealing with this stuff, I find it unlikely that I will ever rely on their systems in the future. AWS/Colo or, with reservations, Azure all the way.

Re:Ask HN: Is S3 down? by spuiszis on Tuesday February 28, 2017 @07:27PM (#13759746)
Wish I could +1 this more. Any time I get some error, I spend hours sifting through old documentation and forum posts.
Re:Ask HN: Is S3 down? by DerpyNirvash on Tuesday February 28, 2017 @07:55PM (#13759925)
Why not just open a support ticket?
Re:Ask HN: Is S3 down? by foxylad on Tuesday February 28, 2017 @08:14PM (#13760051)
Exactly. Because they've usually only experienced support for Google's free services, people assume all Google support is minimal - but it isn't. We pay $150 a month for silver support, and in the extremely rare (several years apart) case we need help, we get it.
Re:Ask HN: Is S3 down? by vacri on Tuesday February 28, 2017 @08:34PM (#13760157)
Google Apps for Business is not free.
Re:Ask HN: Is S3 down? by foxylad on Wednesday March 01, 2017 @03:43AM (#13762281)
True, it costs $5 a month - nearly free. It comes down to the eternal truth that there is no such thing as a free lunch, and expecting a $100/hour support person to be at your beck and call for $5 a month isn't realistic.
Re:Ask HN: Is S3 down? by vacri on Tuesday February 28, 2017 @08:08PM (#13760019)
In my GApps support experience, it's slow and inexperienced.
Re:Ask HN: Is S3 down? by dbg31415 on Tuesday February 28, 2017 @07:12PM (#13759638)
Spot on.

And good luck getting accurate documentation.

Re:Ask HN: Is S3 down? by ehsankia on Tuesday February 28, 2017 @07:13PM (#13759643)
Honestly, if you're a big service that millions of people use, you should not put all your eggs in a single basket and should probably use a mix, in case one of the clouds goes down like in this case.
Re:Ask HN: Is S3 down? by Svenskunganka on Tuesday February 28, 2017 @07:41PM (#13759822)
One of the biggest reasons you go for a cloud is because you don't want to deal with reliability & scaling issues, and there's a premium price attached to that. I think most companies using S3 in this case believed they put their eggs in different baskets when they put their data in there.
Re:Ask HN: Is S3 down? by kiallmacinnes on Wednesday March 01, 2017 @04:12AM (#13762397)
I can't believe anyone would have thought a dependency on a single AWS region, or even single service provider, would count as having eggs in different baskets, at least, I really hope nobody could think that!

I suspect though that most people affected deemed the risks and costs of failure low enough to be acceptable, and for many people it still is - even with this outage. But that's a conscious decision, rather than plain ignorance.

Re:Ask HN: Is S3 down? by Salgat on Tuesday February 28, 2017 @07:16PM (#13759668)
That depends if you're willing to pay for the cost of hosting all your content twice and the development overhead of managing that. Twice the persistences means twice the chance of an issue occurring.
Re:Ask HN: Is S3 down? by nashadelic on Tuesday February 28, 2017 @09:56PM (#13760572)
That's where tech like kubernetes help in making your app/service portable. Or having common APIs like between s3 and google cloud storage.

Twice the persistence means always having at least one backup and thus the occurance of downtime reduces not up

Re:Ask HN: Is S3 down? by w8rbt on Tuesday February 28, 2017 @08:37PM (#13760168)
With containers, I think the devops overhead would be minimal.
Re:Ask HN: Is S3 down? by tejasmanohar on Tuesday February 28, 2017 @10:14PM (#13760691)
That's if _everything_ is in containers. Also, don't undermine how much of a difference the host machine configuration can make... Docker uses its kernel.
Re:Ask HN: Is S3 down? by hkmurakami on Tuesday February 28, 2017 @07:12PM (#13759641)
>(Before that, you guys didn't at all have your shit together when it came to customer support)

Sounds like it basically coincides with Diane Greene coming on board to run the show -- which is great news for all of us with increased competition on not just the technical front but also support (which is often the deal maker/breaker)

Re:Ask HN: Is S3 down? by 7ewis on Tuesday February 28, 2017 @07:24PM (#13759733)
Is Diane really that good?

I was at a talk last year, where she spoke, and as much as I love Google, it was one of the boat boring talks I've ever heard in my life. So monotone and uninteresting... and I'm probably one of the biggest Google fans out there.

Re:Ask HN: Is S3 down? by contingencies on Tuesday February 28, 2017 @07:29PM (#13759755)
I have no idea about the person in question, but stable and reliable infrastructure can be really boring. Unfortunately, it's also necessary.
Re:Ask HN: Is S3 down? by hkmurakami on Tuesday February 28, 2017 @08:24PM (#13760118)
I'm not familiar with her public speaking. But you want someone decidedly un-Google-like to run an enterprise software (non-engineering) operation.

Look at Safra Catz's public speaking (Oracle). Terrible public speaker, terrific operator [1].

[1] though we may easily disagree with their business practices.

Re:Ask HN: Is S3 down? by jamesblonde on Tuesday February 28, 2017 @08:55PM (#13760257)
I just wrote a piece reflecting on the s3 outage and the limitations of s3 metadata/replication:

https://medium.com/@jim_dowling/reflections-on-s3s-architect...

Re:Ask HN: Is S3 down? by jamesblonde on Wednesday March 01, 2017 @01:23AM (#13761684)
Re:Ask HN: Is S3 down? by themihai on Tuesday February 28, 2017 @11:44PM (#13761199)
GCP has always felt like a forever beta product. On top of that you get a lot of lockin so I would never recommend GCP for a long term project.
Re:Ask HN: Is S3 down? by twakefield on Tuesday February 28, 2017 @05:58PM (#13759055)
The brilliance of open sourcing Borg (aka Kubernetes) is evident in times like these. We[0] are seeing more and more SaaS companies abstract away their dependencies on AWS or any particular cloud provider with Kubernetes.

Managing stateful services is still difficult but we are starting to see paths forward [1] and the community's velocity is remarkable.

K8s seems to be the wolf in sheep's clothing that will break AWS' virtual monopoly on IaaS.

[0] We (gravitational.com) help companies go "multi-region" or on-prem using Kubernetes as a portable run-time.

[1] Some interesting projects from this comment (https://news.ycombinator.com/item?id=13738916)

* Postgres automation for Kubernetes deployments https://github.com/sorintlab/stolon

* Automation for operating the Etcd cluster:https://github.com/coreos/etcd-operator

* Kubernetes-native deployment of Ceph: https://rook.io/

Re:Ask HN: Is S3 down? by dankohn1 on Tuesday February 28, 2017 @06:36PM (#13759378)
Note that Kubernetes "builds upon 15 years of experience of running production workloads [on Borg] at Google" [0], but is different code than Borg.

In addition to Rook, Minio [1] is also working to build an S3 alternative on top of Kubernetes, and the CNCF Landscape is a good way of tracking projects in the space [2].

[0] https://kubernetes.io/ [1] https://www.minio.io/ [2] https://github.com/cncf/landscape

Disclosure: I'm the executive director of CNCF, which hosts Kubernetes, and co-author of the landscape.

Re:Ask HN: Is S3 down? by twakefield on Tuesday February 28, 2017 @07:04PM (#13759579)
Yes, I was admittedly over generalizing with my statement regarding open sourcing Borg.
Re:Ask HN: Is S3 down? by jsmthrowaway on Tuesday February 28, 2017 @08:20PM (#13760093)
Well, you're in the ballpark. I might be wrong, but I've heard they're not averse to the idea of open sourcing Borg and Omega (it wasn't that long ago that the Borg paper would have been nigh unthinkable, interestingly), but the litany of Google specific stuff that is baked in makes refactoring for public release a nonstarter. It's a huge codebase with lots of little tendrils to other internal infrastructure.

Anyway, one needs an on-ramp to containers on Google Cloud. And one can't open source the one that one has, which despite being nearly mature enough to own a driver's license, wouldn't really fulfill the precise need that Kubernetes fills without some frontend work. So one writes Kubernetes. An almost entirely different fundamental architecture, by the way, so it's interesting for those who've seen both to compare.

In other words, you're not entirely off the mark even with the generalization.

Re:Ask HN: Is S3 down? by justicezyx on Tuesday February 28, 2017 @11:58PM (#13761284)
K8s is a better borg! It leaps forward and build upon many years experience of operating the system.
Re:Ask HN: Is S3 down? by 013a on Tuesday February 28, 2017 @09:30PM (#13760442)
Is there any way built in to Kubernetes to go multi-AZ, multi-region, or even multi-cloud? Is federation the answer to this?

I remember reading somewhere in the K8s documentation that it is designed such that nodes in a single cluster should be as close as possible, like in the same AZ.

Re:Ask HN: Is S3 down? by qj_li on Wednesday March 01, 2017 @01:46AM (#13761782)
Re:Ask HN: Is S3 down? by blantonl on Tuesday February 28, 2017 @05:48PM (#13758973)
I have a component in my business that writes about 9 million objects a month to Amazon S3. But, to leverage efficiencies in dropping storage costs for those objects I created an identical archiving architecture on Google Cloud.

It took me about 15 minutes to spin up the instances on Google Cloud that archive these objects and upload them to Google Storage. While we didn't have access to any of our existing uploaded objects on S3 during the outage, I was able to mitigate not having the ability to store any future ongoing objects. (our workload is much more geared towards being very very write heavy for these objects)

It it turns out this cost leveraging architecture works quite well as a disaster recovery architecture.

Re:Ask HN: Is S3 down? by sachinag on Tuesday February 28, 2017 @04:41PM (#13758234)
Opportunistic, sure. But I did not know about the API interoperability. Given the prices, makes sense to store stuff in both places in case one goes down.
Re:Ask HN: Is S3 down? by khc on Tuesday February 28, 2017 @05:05PM (#13758558)
I am surprised more people don't know about it. I get questions like https://github.com/kahing/goofys/issues/158 every now and then and to be fair I don't think they market it well: https://cloud.google.com/storage/docs/migrating

Disclosure: I don't work for google but have an upcoming interview there.

Re:Ask HN: Is S3 down? by devmunchies on Tuesday February 28, 2017 @05:38PM (#13758897)
"Disclosure: I don't work for google but have an upcoming interview there."

Disclosure: I took a tour there one time and have used google.

EDIT: I realized that I was being mean, but why was that disclaimer relevant?

Re:Ask HN: Is S3 down? by Nexxxeh on Tuesday February 28, 2017 @06:56PM (#13759513)
A few possible reasons, the most obvious being grandparent is disclosing a possible source of bias.

Also it could look suspicious if grandparent gets the job and at some point in the future someone looks back at this comment.

If in doubt, disclose. Especially in the tech industry, that's what Gamergate was actually about.

Re:Ask HN: Is S3 down? by timv on Tuesday February 28, 2017 @05:56PM (#13759038)
> I realized that I was being mean, but why was that disclaimer relevant?

Because:

- transparency is always good

- adding a small disclosure to the bottom of a post is very low impact

- someone who is interviewing for a job at a company is likely to have a set of biases that influence what they say even if they think that they're being honest and objective.

Re:Ask HN: Is S3 down? by eric_h on Tuesday February 28, 2017 @05:53PM (#13759008)
I think it's a fair disclosure of potential bias.
Re:Ask HN: Is S3 down? by mbrookes on Tuesday February 28, 2017 @06:13PM (#13759182)
Frankly, if you don't know the difference between a disclosure and a disclaimer, you shouldn't be commenting.
Re:Ask HN: Is S3 down? by nodesocket on Tuesday February 28, 2017 @06:42PM (#13759424)
Not poor taste at all. Love GCP. I actually host two corporate static sites using Google Cloud Storage and it is fantastic. I just wish there was a bucket wide setting to adjust the cache-control setting. Currently it defaults to 1 hour, and if you want to change it, you have to use the API/CLI and provide a custom cache control value each upload. I'd love to see a default cache-control setting in the web UI applying to the entire bucket.

I also want to personally thank Solomon (@boulos) for hooking me up with a Google Cloud NEXT conference pass. He is awesome!

Re:Ask HN: Is S3 down? by dward on Tuesday February 28, 2017 @09:12PM (#13760339)
Out of curiosity, are you also using the cloud CDN?

https://cloud.google.com/compute/docs/load-balancing/http/us...

Re:Ask HN: Is S3 down? by nodesocket on Tuesday February 28, 2017 @09:16PM (#13760361)
I found Google Cloud CDN a little overly complicated to get setup since you need to use load balancers.

I use CloudFlare. They handle generating a SSL certificate, can have a CNAME at the APEX, full-site static caching, 301 http => https redirects, etc.

Re:Ask HN: Is S3 down? by 7ewis on Tuesday February 28, 2017 @07:27PM (#13759744)
How did you get the pass?

Been trying to get one for IO (can't attend NEXT unfortunately)

Re:Ask HN: Is S3 down? by i336_ on Tuesday February 28, 2017 @06:21PM (#13759263)
Hopefully you're still there even though S3 is back up. I have an interesting question I really, really hope you can answer. (Potential customer(s) here!!)

There are a large number of people out there looking intently at ACD's "unlimited for $60/yr" and wondering what that really means.

I recently found https://redd.it/5s7q04 which links to https://i.imgur.com/kiI4kmp.png (small screenshot) showing a user hit 1PB (!!) on ACD (1 month ago). If I understand correctly, the (throwaway) data in question was slowly being uploaded as a capacity test. This has surprised a lot of people, and I've been seriously considering ACD as a result.

On the way to finding the above thread I also just discovered https://redd.it/5vdvnp, which details how Amazon doesn't publish transfer thresholds, their "please stop doing what you're doing" support emails are frighteningly vague, and how a user became unable to download their uploaded data because they didn't know what speed/time ratios to use. This sort of thing has happened heaps of times.

I also know a small group of Internet archivists that feed data to Archive.org. If I understand correctly, they snap up disk deals wherever they can find them, besides using LTO4 tapes, the disks attached to VPS instances, and a few ACD and GDrive accounts for interstitial storage and crawl processing, which everyone is afraid to push too hard so they don't break. One person mentioned that someone they knew hit a brick wall after exactly 100TB uploaded - ACD simply would not let this person upload any more. (I wonder if their upload speed made them hit this limit.) The archive group also let me know that ACD was better at storing lots of data, while GDrive was better at smaller amounts of data being shared a lot.

So, I'm curious. Bandwidth and storage are certainly finite resources, I'll readily acknowledge that. GDrive is obviously going to have data-vs-time transfer thresholds and upper storage limits. However, GSuite's $10/month "unlimited storage" is a very interesting alternative to ACD (even at twice the cost) if some awareness of the transfer thresholds was available. I'm very curious what insight you can provide here!

The ability to create share links for any file is also pretty cool.

Re:Ask HN: Is S3 down? by ptrptr on Tuesday February 28, 2017 @04:46PM (#13758288)
Now that's what I call a shameless plug!
Re:Ask HN: Is S3 down? by scrollaway on Tuesday February 28, 2017 @05:19PM (#13758705)
We would definitely seriously consider switching to GCS more if your cloud functions were as powerful as AWS Lambda (trigger from an S3 event) and supported Python 3.6 with serious control over the environment.
Re:Ask HN: Is S3 down? by boulos on Tuesday February 28, 2017 @05:27PM (#13758787)
Is there something about the GCS trigger that doesn't work for you? I hear you on Python 3, but I'm also curious about "serious control over the environment". Can you be more specific?
Re:Ask HN: Is S3 down? by scrollaway on Tuesday February 28, 2017 @05:51PM (#13759000)
Here are our main issues with Lambda, from highest-to-lowest priority:

- It supports Python 2.7 only. We need Python 3.4+ support.

- We can't increase CPU allocation without increasing RAM allocation, making them far more expensive than we need.

- Using psycopg2 on it is a PITA due to their handling of system dependencies.

- The system is entirely proprietary, making it impossible to run it locally for testing.

- Cloudwatch sucks for finding errors in the functions and is atrociously expensive.

- API gateway is an extremely crufty system, and used not to let you pass around binary data (this has changed)

- We can't disable/change the retry-on-error policy.

We have a pretty hard tie-in to S3 and Redshift, but when GCF can do better on a majority of these points, we'll begin moving to it. But yes, Python 3 at a minimum would be a requirement.

Re:Ask HN: Is S3 down? by mypalmike on Tuesday February 28, 2017 @08:16PM (#13760069)
> The system is entirely proprietary, making it impossible to run it locally for testing.

I assume that you are referring to emulating the triggering of lambdas behind API gateway...? I've found a project that sets up a node environment to do this. Very handy for js/lambda development. A google search suggests similar options may exist for python.

Re:Ask HN: Is S3 down? by vikiomega9 on Tuesday February 28, 2017 @05:26PM (#13758782)
On a curious note, how do you guys use lambda?
Re:Ask HN: Is S3 down? by scrollaway on Tuesday February 28, 2017 @05:41PM (#13758922)
It's a little outdated now, but this post details our pipeline: https://hearthsim.info/blog/how-we-process-replays/
Re:Ask HN: Is S3 down? by RulerOf on Tuesday February 28, 2017 @11:28PM (#13761113)
As someone who's literally just starting to look at Lambda, thanks for that quick read.

I had a lot of "chicken and egg"-type questions about using it, and seeing that critical step of bootstrapping the whole thing via the API Gateway was really informative.

Re:Ask HN: Is S3 down? by simonebrunozzi on Tuesday February 28, 2017 @05:18PM (#13758698)
I keep telling people that in my view, Google Cloud is far superior to AWS from a technical standpoint. Most people don't believe me... Yet. I guess it will change soon.
Re:Ask HN: Is S3 down? by natbobc on Tuesday February 28, 2017 @05:53PM (#13759012)
Google Cloud is the Betamax of cloud... while it might be technically superior it's not the only factor to consider. :)
Re:Ask HN: Is S3 down? by boulos on Tuesday February 28, 2017 @06:11PM (#13759170)
Aww... that seems a little early to call ;).
Re:Ask HN: Is S3 down? by packetslave on Tuesday February 28, 2017 @07:01PM (#13759551)
you don't comment for 4 years and THAT'S the comment you choose to return with?
Re:Ask HN: Is S3 down? by natbobc on Wednesday March 01, 2017 @06:37AM (#13762968)
Yep, replace "compiling" with "S3 recovery" in the following XKCD - https://xkcd.com/303/
Re:Ask HN: Is S3 down? by joshontheweb on Tuesday February 28, 2017 @06:12PM (#13759176)
What other factors make it doomed for failure like betamax?
Re:Ask HN: Is S3 down? by natbobc on Wednesday March 01, 2017 @04:41AM (#13762534)
I wouldn't say that it's doomed to failure but I do think it has a lot of ground to cover to catch-up. Google has a lot of great technology like TensorFlow, Kubernetes, and Go that will keep them relevant.

In support of my flippant remark I see three indicators that hold parallels to Betamax with detail to follow. I qualify that it is largely informed by my own anecdotal experience. Specifically by objections and responses that I've received/observed while myself and peers have proposed or implemented cloud adoption at various companies.

Indicators

1. market share. 2. proprietary tech stack. 3. technical superiority syndrome.

Detail

1. Currently AWS has a major lead, then Azure, then Google. The implication is that market share translates to mindshare, which in turn yields blog articles, OSS libraries/tools, etc. This becomes a virtuous cycle.

For .NET shops that marketshare will tend to favour Azure on the premise that MS knows best.

2. Some of Google's technology stack has a learning curve that is unique to Google. Take GAE as an example and compare to AWS's nearest equivalent Beanstalk (or Heroku). Beanstalk requires few if any changes to an existing application whereas GAE requires that you do it the App Engine way. It might provide a number of benefits, but it's invasive. Containers are shifting the requirement, however not everyone is in a position or has the desire to start with containers on day 1.

Further Google Cloud's project oriented approach while not a bad organisation mechanism detracts from learning. If you assume the premise that exploration is part of learning it forces the user to hold two items in their head: their objective and Google Clouds imposed objective.

AWS on the other hand generally provides defaults that allow you to launch resources almost immediately after sign-up. Google's approach is better for long-term support, maintenance and organisation but the user needs to have the maturity to understand that benefit.

3. It may be technically superior but that statement in of itself is divisive and can shudder some away. It is not enough to simply be technically superior and from my observation the statements tend to originate from X/Googlers.

A number of people will latch onto feature set (for beta, number of films available was a factor). The absence of features will often discount a choice out of the gate (even if those features are irrelevant) as an example:

- regional coverage: AWS - 15 regions/~38 zones Azure - 36 regions/zones Google - 6 regions/18 zones

- partially/fully managed services: AWS is continually growing these, at a level that seems to outpace competitors.

- Outwardly Google appears to tackle the "hard problems" with technically superior solutions (e.g. TensorFlow, BigQuery) but often appears to neglect the "boring" problems a number of companies want as well (e.g. Cloud VDI's, SnowBall, etc).

- Some areas seem to be ossified due to tight coupling (e.g. servlet 3.0 and python support in GAE).

Summary

There is no silver bullet solution. Every provider will have an outage at some point and this could be a big reason that GCE won't be knocked out of the game. I also think Google is working really hard to build community and mindshare. I don't have a crystal ball so only time will tell what happens but technical superiority has rarely been the sole reason that drives adoption.

Re:Ask HN: Is S3 down? by joshontheweb on Wednesday March 01, 2017 @07:20PM (#13770147)
I appreciate you taking the time to explain. I'm in the process of making decisions on a new cloud storage provider so this is helpful.
Re:Ask HN: Is S3 down? by notyourwork on Tuesday February 28, 2017 @08:38PM (#13760173)
One service outage determines superiority? I prefer a lot more data than a single point.
Re:Ask HN: Is S3 down? by joshontheweb on Tuesday February 28, 2017 @06:10PM (#13759162)
I'm in the process of moving to GCS mostly based on how byzantine the AWS setup is. All kinds of crazy unintuitive configurations and permissions. In short, AWS makes me feel stupid.
Re:Ask HN: Is S3 down? by joshontheweb on Thursday March 02, 2017 @07:12PM (#13779636)
I should add that someone from the AWS team reached out to me in response to this comment asking for feedback on how they can improve their usability. So I give them credit for that.
Re:Ask HN: Is S3 down? by andmarios on Tuesday February 28, 2017 @06:34PM (#13759357)
As far as I understand the S3 API of Cloud Storage is meant as a temporary solution until a proper migration to Google's APIs.

The S3 keys it produces are tied to your developer account. This means that if someone gets the keys from your NAS, he will have access to all the Cloud Storage buckets you have access to (e.g your employer's).

I use Google Cloud but not Amazon. Once I wanted a S3 bucket to try with NextCloud (then OwnCloud). I was really frightened to produce a S3 key with my google developer account.

Re:Ask HN: Is S3 down? by BrandonY on Tuesday February 28, 2017 @07:13PM (#13759646)
The HMAC credential that you'd use with the S3-compatible GCS API, also called the "XML API", does need to be associated with a Google account, but it doesn't need to be the main account of the developer. It can be any Google user account. I suggest creating a separate account and granting it only the permissions it needs. It'd be nice if service accounts (aka robot accounts) could be given HMAC credentials, that's not supported. Service accounts can, however, sign URLs with RSA keys.

As another option, you can continue using the XML API and switch out only the auth piece to Google's OAuth system while changing nothing else.

There's a lot more detail available at: https://cloud.google.com/storage/docs/migrating

Disclaimer: I work on Google Cloud Storage.

Re:Ask HN: Is S3 down? by andmarios on Tuesday February 28, 2017 @07:44PM (#13759856)
Thanks for the advice. I think it would be even nicer if the HMAC credentials could be assigned to a specific bucket via an ACL.

I like GCS (and the gsutil tool) but occasionally a S3 style bucket is needed. For example you need a S3 bucket or a webdav server in order to send alerts with images from Grafana to Slack. A minor issue but nice to have if possible without having to deal with Amazon's control panel.

Re:Ask HN: Is S3 down? by dividuum on Tuesday February 28, 2017 @07:03PM (#13759571)
Is there any equivalent to the Bucket Policies that AWS provides (http://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucke...). Cloud Storage seems to be limited to relatively simple policies without conditionals. For a few AWS IAM keys I set up a policy that limits write/delete access to a range of IPs (among other things). Something like that doesn't seem possible with what Google offers. Or do I miss something?
Re:Ask HN: Is S3 down? by andmarios on Tuesday February 28, 2017 @07:28PM (#13759753)
I am not familiar with AWS bucket policies, but AFAIK there isn't a way to set IP based access to GCS buckets.

To be honest, I do find the GCS permissions a bit complex. You have IAM, you have ACLs and you have S3 keys. Everything is set in a different place and ACLs aren't fully represented on the developers console. S3 keys give full access to everything, IAM service accounts give access per project and ACLs are fine grained (per bucket/object). On the other hand, IIRC, IAM has a write only setting, while ACLs do not. So I can have an account that can write only to all the buckets of my project but not an ACL (not that useful).

Re:Ask HN: Is S3 down? by stef25 on Wednesday March 01, 2017 @10:17AM (#13764298)
> OwnCloud

Kicked the tires, not impressed at all. Notes went missing from the interface could only get them back after manually digging through folders via FTP.

Re:Ask HN: Is S3 down? by rynop on Tuesday February 28, 2017 @05:30PM (#13758818)
"fraction of the cost" - how do you figure? Or are you just saying from a cost-to-store perspective?

Your Egress prices are quite a bit more compared to CloudFront for sub 10TB (.12/GB vs .085/GB).

The track record of s3 outages vs time your up and sending Egress seems like S3 wins in cost. If all your worried about is cross region data storage, your probably a big player and have AWS enterprise agreement in place which offsets the cost of storage.

Re:Ask HN: Is S3 down? by boulos on Tuesday February 28, 2017 @05:35PM (#13758870)
Sorry, my comparison is our Multi Regional storage (2.6c/GB/month) versus S3 Standard plus Cross-Regional Replication. That's the right comparison (especially for outages like this one).

As to our network pricing, we have a drastically different backbone (we feel its superior, so we charge more). But as you mention CloudFront, the right comparison is probably Google Cloud CDN (https://cloud.google.com/cdn/) which has lower pricing than "raw egress".

Re:Ask HN: Is S3 down? by Spunkie on Tuesday February 28, 2017 @08:11PM (#13760034)
So this is more compute related but do you know if there are any plans on supporting the equivalent of the webpagetest.org(WPT) private instance AMI on your platform?

Not only is webpagetest.org a google product but it's also much better suited for the minute by minute billing cycle of google cloud compute. For any team not needing to run hundreds of tests an hour the cost difference between running a WPT private instance on EC2 versus on google cloud compute could easily be in the thousands of dollars.

Re:Ask HN: Is S3 down? by malloryerik on Tuesday February 28, 2017 @10:20PM (#13760745)
Would use Google but I just can't give up access to China. Sad because I also sympathize with Google's position on China.
Re:Ask HN: Is S3 down? by zoloateff on Tuesday February 28, 2017 @05:00PM (#13758496)
boulous not in bad taste at all - happy google convert and gcs user works very well for us ymmv
Re:Ask HN: Is S3 down? by zoloateff on Sunday March 12, 2017 @06:56PM (#13853726)
boulous is app engine datastore the preferred way to store data or cloud sql or something else, do you mind throwing some light on this thanks
Re:Ask HN: Is S3 down? by DenisM on Tuesday February 28, 2017 @07:21PM (#13759714)
If you made a .NET library that allows easily connecting to both AWC and GCS by only changing the endpoint I would certainly use that library instead of Amazon's own.

Just saying, it gets you a foot in the door.

Re:Ask HN: Is S3 down? by danielvf on Tuesday February 28, 2017 @04:42PM (#13758240)
I had no idea this was an option. Great to know!
Re:Ask HN: Is S3 down? by sandGorgon on Tuesday February 28, 2017 @10:33PM (#13760832)
i have had problems integrating apache spark using google storage. especially because s3 is directly supported in spark.

if you are api compatible with s3, could you make it easy /possible to work with google storage inside spark?

remember i may or may not run my spark on Dataproc.

Re:Ask HN: Is S3 down? by bluedonuts on Wednesday March 08, 2017 @08:23PM (#13825900)
You can use the Google cloud storage connector (https://cloud.google.com/hadoop/google-cloud-storage-connect...) which works with hadoop (and therefore spark).
Re:Ask HN: Is S3 down? by mbrumlow on Tuesday February 28, 2017 @05:11PM (#13758627)
What is your NAS box doing with S3/GCS ?
Re:Ask HN: Is S3 down? by boulos on Tuesday February 28, 2017 @05:14PM (#13758652)
Remote backup (Synology). I've asked them more than once to directly support GCS, or even just to accept my damn patch ;).
Re:Ask HN: Is S3 down? by gr2020 on Tuesday February 28, 2017 @06:00PM (#13759082)
Are you using Hyper Backup? That seems to support S3-compatible destinations, including GCS, at least in DSM 6.1 -

https://www.synology.com/en-us/knowledgebase/DSM/help/HyperB...

Re:Ask HN: Is S3 down? by gaul on Tuesday February 28, 2017 @10:18PM (#13760731)
S3 applications can use any object store if they use S3Proxy:

https://github.com/andrewgaul/s3proxy

Re:Ask HN: Is S3 down? by thejosh on Wednesday March 01, 2017 @06:39AM (#13762975)
How about giving a timeline of when Australia will be launching? I see you're hiring staff, and have a "sometime 2017" goal on the site, but how about a date estimate? :)
Re:Ask HN: Is S3 down? by philliphaydon on Tuesday February 28, 2017 @09:09PM (#13760319)
Does GCS support events yet?
Re:Ask HN: Is S3 down? by hyperpallium on Tuesday February 28, 2017 @10:15PM (#13760701)
As Relay's chief competitor in this region, we of Windsong have benefited modestly from the overflow; however, until now we thought it inappropriate to propose a coordinated response to the problem.
Re:Ask HN: Is S3 down? by espeed on Tuesday February 28, 2017 @05:11PM (#13758625)
What software are you using for your NAS box?
Re:Ask HN: Is S3 down? by pmarreck on Tuesday February 28, 2017 @08:44PM (#13760199)
Classy parley. I'll allow it.
Re:Ask HN: Is S3 down? by masterleep on Tuesday February 28, 2017 @04:39PM (#13758195)
Competition is great for consumers!