Live data from Hacker News

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

alexolivier.me

91–100 of 397 posts

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

#92
As an illustrative of pricing:

If your deployment can run in 256MB of RAM w/ 1 vCPU, handles an average request in under 250ms, transfers 200kb or less per request on average, and you get 2 requests/minute on average to your site:

The cost is around $2/month USD, which I feel is a more likely scenario for a side project vs the “pennies a month” the OP claims.

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

#93
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 pretty complicated to do that on every services, imagine for any service they would have to call an API to get the $$ remaining , compute before scaling / creation if you have enough ect ...

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

#94

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.

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.

Works fine if you didn’t co-mingle personal usage of the business accounts.

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

#95
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 seems absolutely within amazon's technical ability to allow you to prepay for usage, and then evaluate your use on a per-hour basis.

I have a side project that uses AWS at the moment, and while stuff like serverless RDS instances are really cool, it scares me that somehow amazon is going to have a bug which empties my checking account. I've read as much of the documentation as I can find and have done everything I seem to be able to to prevent this from happening according to AWSs documentation, but it sill worries me.

In fact here is a banking feature I'd love to see: per merchant daily spending limits. I would love to be able to tell my bank that amazon is allowed access to up to $20/day or something of money until they get rate limited and I have to intervene.

Uh oh I better stop before I start advocating for the blockchain, haha

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

#96

Your liability is not capped anywhere. I better stick to 5$/mo DO for my side-projects.

It takes a lot of virality to go over $5/mo for a smaller-side project in Cloud Run. (essentially if you got the point where it would go over, the additional surplus traffic would be well worth it)

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

#97
post #89

Earlier quoted context omitted.

Thanks, although unfortunately I'm not in the price bracket for Anthos (starts at 120k/year or so I believe).

I believe there's no requirement if you just want to use Anthos on GKE (I could be wrong though, Anthos is relatively new). Alternatively, if what you really want is the ease to manage and deploy containers and automatically scale according to traffic, my understanding is you can always use the open source Knative project with your Kubenetes cluster. This provide you the exact same API supported by Cloud Run and make…

thanks, I hope you're right, GCP doesn't appear to be clear on this point, seems to be offering free trial up to May 2020 and then who know. I'm aware of the ability to set it up from open source which is a great fallback!

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

#99
post #39

If very few people visit a side-project, that's probably bad for Google search. Its crawler will be detecting slow response times and Google can penalize you in search results.

What a complimentary business strategy :)

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

#100
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.

Set budget alerts. And check what's going on if they start going off. Or think again if you really need 'infinitely scalable bla blah' for personal project on a small budget.

Real answer here.
Post reply on HN