7 ms·
Cloud Spanner now with a free trial
- bearjaws 4y agoNo software company goes from 0 to Cloud Spanner in 90 days... Any new company will continue to use Postgres. If GCP was smart they would make it free for life, then one in every 3000 customers would blow up and they could charge Oracle prices.
- tmpz22 4y agoI think Spanner has always been targeted largely at mid-enterprise and bigger companies. Its potentially a VERY sticky product that may be tremendously difficult to offboard from. Small concessions like this 90 day trial doesn't really change that. Especially with my understanding that a lot of GCP leadership is ex-Oracle, the whole vibe of Spanner seems to be a run at Oracle's marketshare.
- londons_explore 4y agoEven in a big company, products and projects start small. And when you are building a small product, you don't pick spanner. And when it grows, you don't bother migration unless what you're using currently can't scale.
- booi 4y ago> one in every 3000 customers would blow up and they could charge Oracle prices. don't give them any ideas..
- clhodapp 4y agoIt appears to be a (90 day) free trial rather than a (long-term) free tier.
- GabeWeiss_ 4y agoYup, correct. The title here isn't right. It's a free trial, not a free tier.
- Raziarazzi 4y agoya you are correct it is a free trial only for 90 days the title is misleading
- googledtest 4y agoThis is the next iteration to make Cloud Spanner more accessible for developers to start using a scalable relational database that values consistency AND availability. If anyone wants to try out Spanner without cost, this is a great option. There's also a pretty cool starting experience in terms of in-console tutorial to set up a sample app on Spanner. I'd love to get feedback on getting started with Spanner. Disclaimer: as my username suggest, I work at Google, quite closely with the Cloud Spanner team.
- pphysch 4y agoDoes the postgresql interface support jsonb?
- googledtest 4y agoNot currently, but it's definitely something the team has received feedback for.
- ivanvanderbyl 4y agoDoes it support Postgis or other extensions?
- GabeWeiss_ 4y agoNo extensions, no. Think of the interface more like a way for accessing Spanner features using Postgres, rather than using Postgres with a Spanner backend.
- choppaface 4y agoCan you please as your PR and PMs to change the wording here so it’s so so misleading that the offering is NOT a free tier but rather a trial? In general Ive had pretty ridiculous trouble with GCloud reps pushing their practices and mindesets on me, across several large contracts and companies. Your team dearly needs to work on basic communication. As Sundar has said publicly, Google as a whole needs to earn back user trust. As a corporate GCloud user (not my choice), you have obliterated it time and time again, and these sorts of fake free announcements really don’t help your case.
- spankalee 4y agoThis sounds different from other GCP free tiers that don't have a time limit. The post says Spanner is free for 90 days only. I wish Spanner had both a fully free tier and was fully managed like Firestore.
- GabeWeiss_ 4y agoYah, the title's not 100% right. :) There isn't a free TIER of Spanner. This is a 90 day free trial.
- deleted 4y ago[deleted]
- Jyaif 4y agoSo that hackers don't waste time looking at Spanner: The price starts at north of 300$ per month (https://cloud.google.com/spanner/pricing https://cloud.google.com/spanner/pricing) [edit] I'm apparently wrong. This is still a masterclass in how not to do a pricing page IMO.
- GabeWeiss_ 4y agoThis isn't true at all. Where are you getting your numbers from?
- googledtest 4y agoThat may have been true at one point, but now you can use Spanner closer to $60-70 a month factoring in storage (and even cheaper with committed use discounts) after upgrading from the free trial instance. https://cloud.google.com/blog/products/databases/use-spanner-at-low-cost-with-granular-instance-sizing https://cloud.google.com/blog/products/databases/use-spanner...
- teraflop 4y agoIf I'm reading that page right, the actual minimum cost (in us-west1) is $65.70/month, because a "node" is $657/month, but if you look elsewhere in the documentation, it says a single "instance" can be as small as 1/10 of a node. I have no idea why they chose to structure the pricing model this way, but it makes the entry-level cost look a lot worse than it really is.
- pxx 4y agoIt's a historical artifact of how you used to buy it. https://cloud.google.com/blog/products/databases/use-spanner-at-low-cost-with-granular-instance-sizing https://cloud.google.com/blog/products/databases/use-spanner...
- googledtest 4y agoIt might also be worth pointing out that 'node' does not reference underlying server. In a PG or similar architecture, node might be used to specify how many "nodes" are in a replicated setup for high availability purposes. In Spanner, "Node" is a measure of compute capacity (as is the finer-grain processing units) allowing you to scale up/down without impacting an application's workload. All instances get high availability regardless of number of nodes or processing units, and the specifics of this are handled by the configuration.
- endisneigh 4y agoSeems silly to not make it free forever for say, 1gb storage and certain amounts of reads and writes a month. If cost isn’t an issue my experience is that spanner is the best, problem is there’s no way to know this without paying a lot
- londons_explore 4y agoI think spanner itself isn't really good at scaling down to be very small and cheap, so Google isn't happy to offer small instances for totally-free. That's Google's mistake tho - if they had had a totally free option when they started, students would have built pet projects on it, and now they'd have a whole ecosystem of companies giving hundreds of millions of revenue for it. They should have offered a totally free version (at a loss), knowing that in the future they could do the engineering work to make it cheap for them to run. For example, stick 10,000 users into the same spanner database with some frontend to check no user can access rows owned by another. Then, when a user gets large and wants to pay for dedicated spanner, migrate them out of the shared instance.
- asim 4y agoTechnology behind spanner is incredible but unfortunately marketed horribly and positioned terribly. It was a solution built for large scale enterprise and no one else. It's not worth trying to sell this to developers. They're better off layering something else on top with a different brand and pricing model.
- danielmarkbruce 4y agoBad marketing, bad pricing, bad positioning. It's crazy. Amazing technology.
- bushbaba 4y agoits a solution built for google where they need to track ad budget burn down globally. Most enterprises dont have this problem, or the latency/performance/uptime requirements of google. Then you've got a google proprietary API for what should be similar to Aurora with PostgreSQL wire compatibility. Add in Google's history of deprecating and non-backwards compatible changes to SDKs. That makes you wonder, who exactly Spanner IS geared towards.
- danielmarkbruce 4y agoSpanner is used extensively in google for all sorts of things. Many companies have the uptime requirements, a decent number have the performance requirements, and it's all going in one direction. There are a lot of things Google need and then all of a sudden 10 years later lots of others need them too.
- asim 4y agoGoogle employees don't pay for spanner. This is the big difference. You might have quota but you don't actually pay any money for it. No one on the outside world wants to get ripped off for database usage.
- danielmarkbruce 4y agoSure, the pricing seems off.
- bcjordan 4y agoCan we update the title to say Free trial? The minimum tier is still $40/month (though that is a huge improvement and makes this a reasonable option for startups). Was really hoping for something that could scale to zero. Better than no change!
- choppaface 4y agoYeah this article is just pure spam. Google Cloud has always had a max $300 free trial and the change here is now you do Spanner woooptie wooo. The offering is not at all like AWS free tier.
- Havoc 4y agoGoogle has permanent free tier that is perpetual too. Stuff like the free VM is perpetually which to my knowledge has not equivalent aws freebie
- nrmitchi 4y agoThat doesn’t change the fact that the current title that Spanner has a “free tier” appears to be wrong.
- DangitBobby 4y agoSure, but GP made it sound like GCP doesn't have a free tier comparable to AWS which is simply false.
- GabeWeiss_ 4y agoYeah, we (Googler here) know, but it's not our post, so we can't edit it. :D Best we can do is hope people read the comments (weird thing to say on the internet).
- jhgg 4y agoYou can email hn@ycombinator.com and request a title change. I have seen this done before.
- marune 4y agoIs there something that explains the Pros/Cons of Spanner vs their new AlloyDB offering? Both have a PostgreSQL compatibility layer...
- teraflop 4y agoJust from a glance at the AlloyDB documentation, it seems to be fundamentally a similar design to PostgreSQL. That is, you have a single primary instance that holds the entire dataset and handles all write traffic, plus some number of additional replicas within the system for failover and read-only queries. Spanner has a very different implementation: your dataset is split into (possibly a large number of) shards, each of which is replicated across multiple regions. So you get better global availability and scalability, at the cost of more complicated performance characteristics when you have to do operations that involve multiple shards.
- mdasen 4y agoI think the difference is that AlloyDB is basically PostgreSQL where they've modified how it's storing things to offer better performance via better integration with Google's infrastructure - like what Amazon did with AuroraDB. That means that AlloyDB is compatible with all the stuff you're used to using with PostgreSQL. Spanner is a very different database. They've included a PostgreSQL query-language compatibility layer, but that isn't the same as being "100% compatible." You'll still be dealing with some Spanner concepts like not wanting to hot-spot your writes. Spanner does allow really scaling out and a truly distributed database while AlloyDB is an improvement via better integration with Google's infrastructure, but still mostly the same model. Aurora/Alloy do have advantages by decoupling the storage from the server instances including performance and resiliency, but Spanner is really creating a horizontally scalable, distributed database - with some trade-offs.
- rdxm 4y ago
- jayzalowitz 4y agoOr just use cockroachdb on free teir.
- acdha 4y agoAs an aside to any Google people here, not having error handling in your JavaScript is a bad idea - that blank page does not shout “you should trust your most sensitive data to us” even if I know those are separate teams. Echoing other people, limiting it to 90 days / 10GB is an odd choice – if you need Spanner, you’re likely to bump into both of those limitations, especially if you’re not already a GCP user. Databases are a critical service and it takes time to evaluate one.
- qeternity 4y ago> if you need Spanner, you’re likely to bump into both of those limitations That’s the point: if you need spanner, Google wants your money. This is intended as a way for people to play around with it free of charge, in the hopes that they will realize they need it.
- acdha 4y agoYes, I’m just wondering who this announcement matters to - if you’re a tiny startup where the cost savings is what tips you over the edge, are you likely to be using enough data for it to matter? If you’re at a big enterprise, you probably can’t properly evaluate quickly and will need more than 10GB but are almost certainly going to have enough budget that the free trial won’t factor in to your decision. There are some people in the middle but I’m curious how many there actually are with these restrictions.
- clhodapp 4y agoIf you are a developer at a large company, you might be able to mess around with this and decide that it's worthwhile to push for a proper evaluation with a larger dataset.
- acdha 4y agoI guess, but in my experience that either means you have enough budget to experiment anyway or are locked down to the point that you won’t be able to do anything which could cost money. What I wish they had was a cap: allow me to tell the accountants that I can guarantee that a developer’s training will not leave the free tier.
- jiggawatts 4y agoDoes it have a local version? One of the biggest issues I’ve had with anything similar is that they’re “cloud only” and hence “online only”.
- GabeWeiss_ 4y agoSpanner does have an emulator that you can use locally with the gcloud SDK: https://cloud.google.com/spanner/docs/emulator https://cloud.google.com/spanner/docs/emulator
- bze12 4y agoI wonder if they'll ever wrap this, or some other relational db, into firebase
- advisedwang 4y agoFirestore is built on spanner (source: https://youtu.be/3aHBkfBRFEU?t=714 https://youtu.be/3aHBkfBRFEU?t=714)
- bze12 4y agooh interesting. was more curious why there's no relational db option for firebase
- malkia 4y agoHmm... https://issuetracker.google.com/issues/203849138 https://issuetracker.google.com/issues/203849138
- choppaface 4y agoSame thing with BigQuery / Parquet: you can pay to load your data, and pay to have a giant BigQuery instance, but you can't get an equal with AWS Athena. For Spanner vs Postgres, you can indeed just query Protobuf in Postgres: https://github.com/mpartel/postgres-protobuf https://github.com/mpartel/postgres-protobuf
- cassac 4y agoDo they mean free like legacy workspace accounts were free until all of the sudden they weren’t? We won’t ever use a google product at my work because they burned me personally on that. Hope they like stepping over those dollars to pick up those pennies.
- jupp0r 4y agoI wish there was a true request per day free tier limit to play around with Spanner for small projects. Cloud Run and FiresStore are really awesome for hosting my hobby projects so far, at almost no cost.