Live data from Hacker News

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

alexolivier.me

61–70 of 397 posts

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

#61

What’s the advantage of GCR over AWS Fargate/ECS? I’ve been running an app on ECS for a couple months now and have been pretty happy with the ease of set-up, load-balancing, auto-scaling etc, though there are still kinks I’m figuring out (SSHing into containers to perform database management, for example, or deploying updated tasks without downtime). Is the main selling point of GCR just its price? I haven’t found EC…

I don't think you can scale up and scale down Fargate based on Http requests

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

#62

Earlier quoted context omitted.

It's cheap insurance to create an LLC to protect yourself from extreme situations for this kind of thing. Worst case the LLC goes defunct, but you won't be personally liable. https://www.nolo.com/legal-encyclopedia/limited-liability-pr... EDIT: This comment is based on the assumption that the parent was trying to start a side business. I'm certainly not advocating fraud.

wut? are you suggesting that if there's a cost overrun you just shutdown the LLC? that sounds like a loop that couldn't possibly be true? when you sign TOS you agree to be responsible for service fees. if being an LLC indemnifies against these sorts of charges it would also indemnify you against other legitimate fees? take out a business credit card and cash advance and then close the LLC? free money!

Which is exactly why banks require 2+ years of business history, collateral, or a personal guarantee. They will also review your financials when you apply for additional credit facilities.

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

#63
post #17

The thing I really want out of these services is the ability to set a payment cap. It’s probably never going to be an issue, but I have anxiety, and I can’t sleep easily knowing that if I fuck up, if someone sinister abuses my application or whatever I may be stuck with a giant bill.

That's not a bug... that's a 'feature'. Interestingly, AWS will not cut you off for non-payment (we had an issue with finance and were 250k in the red by the time we got the first 'Is there any issues over there?' email)

And even as an employee, if you tell them over and over again that customers keep asking for that feature, they disagree with you over and over again.

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

#64
post #17

The thing I really want out of these services is the ability to set a payment cap. It’s probably never going to be an issue, but I have anxiety, and I can’t sleep easily knowing that if I fuck up, if someone sinister abuses my application or whatever I may be stuck with a giant bill.

It's cheap insurance to create an LLC to protect yourself from extreme situations for this kind of thing. Worst case the LLC goes defunct, but you won't be personally liable. https://www.nolo.com/legal-encyclopedia/limited-liability-pr... EDIT: This comment is based on the assumption that the parent was trying to start a side business. I'm certainly not advocating fraud.

Good luck telling the judge your single person LLC with no investors shouldn't be pierced to pay debts incurred by its only owner and only employee.

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

#65

Of course, the downside to doing anything with a Google product is that it could be deprecated next year...

Disclaimer: I work on Cloud Run as an SRE.

Google Cloud has an official deprecation policy. If a product is labeled GA, Google Cloud guarantees that the service will continue running for at least 12 months since the announcement of deprecation.

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

#66

I've been using Cloud Run for my GPT-2 text generation apps ( https://github.com/minimaxir/gpt-2-cloud-run ) in order to survive random burst, and also for small Twitter bots ( https://github.com/minimaxir/twitter-cloud-run/tree/master/h... ) which can be invoked via Cloud Scheduler to utilize the efficiency benefits. It has been successful in those tasks. The only complaint I have with Cloud Run now (after many usab…

How much do you end up paying on average for a tweet-sized generated text?

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

#69

Deploy you side-projects at more than the scale they'll ever need at home on your hardware for actual nothing.

This will also cost actually nothing 99% of the time. Coud Run has a 2 million request / month free tier.

And I don't have to worry about accidentally unplugging my server or downtime for OS upgrades.

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

#70

I've been using Cloud Run for my GPT-2 text generation apps ( https://github.com/minimaxir/gpt-2-cloud-run ) in order to survive random burst, and also for small Twitter bots ( https://github.com/minimaxir/twitter-cloud-run/tree/master/h... ) which can be invoked via Cloud Scheduler to utilize the efficiency benefits. It has been successful in those tasks. The only complaint I have with Cloud Run now (after many usab…

I'm currently serving an api that uses a 500mb resnet v2 model. The bootup takes to long, so now I have a single instance that can't handle any peaks and costs too much. Doesn't your model take to long to spin up before being able to serve a request ?
Post reply on HN