Live data from Hacker News

Deploy your side-projects at scale for basically nothing – Google Cloud Run

alexolivier.me

381–390 of 397 posts

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#381

this has already been said, but due to the fact that this is google you have no idea when it's going to get killed and most things from google get killed. so i would suggest AWS. API Gateway + Lambda. It's basically free for side-projects and the setup + operating it is trivial. It also scales (and you're going to have to shell out real money) if you were to receive a lot of traffic.

Just the other day I wanted to buy a book, but Amazon no longer has it in stock... Yes, that makes about as much sense as people who can't get over their favourite RSS reader, 13 years on.

usually it's the publisher of the book that makes the decision. Amazon can actually (and does) print book on demand. Let that sink in for a second.

if it was just the RSS reader, nobody would bring this up. Reader, Inbox, Wave, Plus, NestAPI, the list goes on. Here: https://killedbygoogle.com/

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#382
post #350
post #200

Earlier quoted context omitted.

Absolutely don't do a chargeback. Try to settle it with the package carrier. Google's algorithm can flag a chargeback as suspicious, leading you to be locked out.

At least have all your account recovery lined up before you try a chargeback. It is taken as an extremely strong signal that the account has been compromised and is being used to fraud the rightful owner. Source: I work there. Also: I would exhaust all my escalation options before going the cc route. With any retailer.

Having thought about this some more, I really can't recommend doing a chargeback with any company you want to keep taking your money. Afaiu this doesn't cancel the contract, so you owe them the money unless you manage to void the contract, in which case they should send the money back anyways. Then, teaching all the fraud detection systems that your exact usage pattern leads to fraud seems unpleasant too. Just too many ways for this to backfire, even if the company doesn't play offended.

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#383
Is there an alternative with similar ease of use, i.e. you just pack the files, create a Dockerfile, and push it live?

(For same reasons as other comments, I don't want to use another Google service for this, risk of being locked out, etc.)

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#385
post #382
post #350

Earlier quoted context omitted.

At least have all your account recovery lined up before you try a chargeback. It is taken as an extremely strong signal that the account has been compromised and is being used to fraud the rightful owner. Source: I work there. Also: I would exhaust all my escalation options before going the cc route. With any retailer.

Having thought about this some more, I really can't recommend doing a chargeback with any company you want to keep taking your money. Afaiu this doesn't cancel the contract, so you owe them the money unless you manage to void the contract, in which case they should send the money back anyways. Then, teaching all the fraud detection systems that your exact usage pattern leads to fraud seems unpleasant too. Just too ma…

This is a response from a dystopian anti-consumer future that we seem to be living in because Google thinks customer service has no value.

> Afaiu this doesn't cancel the contract

There is no contract if Google didn't send the phone. The commenter doesn't owe them money for something they failed to send.

> Then, teaching all the fraud detection systems that your exact usage pattern leads to fraud seems unpleasant too.

Or (hear me out, this might sound insane): a fucking human could talk to the customer and flag it as "not fraud". This is how every other company does it.

The solution to getting screwed by an algorithm is not to give in to the algorithm. It's to talk to a human to override it.

The ultimate solution, I hope, is that the next iteration of the federal government is pro-consumer and enforces our UCC rights and/or breaks up Google.

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#386
post #150

This article fails to mention the issue of needing a database. It doesn't matter how seamlessly your application can scale if your data backend won't scale with it. They mention Cloud SQL, which is of course instance based and would run into scaling issues if your app got suddenly hammered. Not to mention, the cost isn't $0 if your app gets 0 traffic, you are going to have to pay to keep that running around the clock…

A colleague keeps reminding me that in the end, if you don't need ACID, you can just use S3 as a key-value database and never pay more than pennies a month (and you get infinite scaling). Just depends if you need a db just for a few minor use cases or the app fundamentally depends on it

See https://docs.aws.amazon.com/AmazonS3/latest/dev/optimizing-p... for more specific guidelines on S3 scaling. It used to be you had to be careful and use randomized prefixes... It looks like that might no longer be the case. Also note there is a limit (arguably pretty high) per prefix on request rates.

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#387
post #190

Earlier quoted context omitted.

If you can save $10/month by using PHP rather than Ruby (which seems optimistic) and value your time at $10/hour (which seems pessimistic) then writing PHP instead Ruby only has to take one hour per month more (or the equivalent in pain) to not be worth it.

I get what you’re saying and appreciate the perspective. I’m not convinced rails or perhaps Sinatra are really any nicer than say Laravel. But I personally am not a ruby fan. In this particular case the front end is very rich and the majority of the effort, and for the back end I just need a little bit of crud.

Sure, I'm not saying that you should use Rails over Lavarel, but rather that you shouldn't consider differences in costs of hosting much since other factors like difference in development time probably dwarf those.

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#388
post #338

For my next side project, I'd like to test https://render.com/ It seems like a cheaper alternative to Heroku. Any feedback on this?

Interesting. Seems good. I guess the Render free tier is basically competing with Netlify, with the added luxury that you can add paid dynamic services at any time...?

Correct.

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#389
post #324
post #271

For personal projects and client work I prefer a VPS with fixed pricing. Many have quoted Digital Ocean on this thread but you get much more for your money with a VPS from Hetzner.com. $11.75/month = 8Gb RAM, 2 CPUs, 80Gb SSD and 20Tb of traffic. That's 4 times the RAM, 2 times the CPU and 10 times the traffic compared with a $10 Digital Ocean VPS.

Does Hetzner.com have servers based in the US?

No, just Europe. See https://hetzner.com. No, I don't work for them or receive any commission :)

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#390
post #385
post #382

Earlier quoted context omitted.

Having thought about this some more, I really can't recommend doing a chargeback with any company you want to keep taking your money. Afaiu this doesn't cancel the contract, so you owe them the money unless you manage to void the contract, in which case they should send the money back anyways. Then, teaching all the fraud detection systems that your exact usage pattern leads to fraud seems unpleasant too. Just too ma…

This is a response from a dystopian anti-consumer future that we seem to be living in because Google thinks customer service has no value. > Afaiu this doesn't cancel the contract There is no contract if Google didn't send the phone. The commenter doesn't owe them money for something they failed to send. > Then, teaching all the fraud detection systems that your exact usage pattern leads to fraud seems unpleasant too…

> There is no contract if Google didn't send the phone. The commenter doesn't owe them money for something they failed to send.

Don't know about your jurisdiction, but in most countries I lived in the law works otherwise. The moment you checked out you have a contract. Seller not sending out the goods is failing their contractual obligations. But that failure does not cancel the contract, only allows you to execute the appropriate clauses of it (some of which usually lead to refund and cancellation). On the other hand, the delivery of goods doesn't usually prevent you from cancelling the contract (you usually have an obligation to return the goods in that case). The clauses injected by laws tend to make this very consumer friendly... But the ones I remember require you delivering a notice of cancellation and I'm not sure if failing payment counts as such (IANAL, I don't even know your jurisdiction, Yadda Yadda).

Post reply on HN