Live data from Hacker News

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

alexolivier.me

51–60 of 397 posts

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

#51
Interesting. I've been looking looking at options too & opted for essentially the opposite: Get a big(ish) VPS and stack everything on top of each other with docker behind a nginx reverse proxy.

So far so good. Managed to host gitlab, prometheus, grafana and ghost working this weekend, which I'm pretty chuffed about.

Not as clean as OP's, but the intention was learning, so sacrifices on convenience are acceptable.

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

#52

started using this... pretty awesome vs the wall of yaml it replaces. Not suitable for all workloads (max 1cpu/2 gigs ram, 4 minute max pod startup time, can't do background work when not serving a request). But it replaces cert-manager, ingress-nginx, oauth2-proxy, k8s service, k8s deployment, k8s secret, k8s configmap, k8s hpa, k8s pdb, helm charts and cluster management.

Disclaimer: I work closely on Cloud Run as an SRE.

IF you want, you can still have it by use "Cloud Run for Anthos", and deploy your container to your GKE cluster with the same Knative API. This allows you to have more control on memory/CPU etc.

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

#53

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!

It basically does work like that, however the law is almost never that cut and dry. The situation you're describing would have the person benefiting from the money as being personally liable because that person presumably would be taking the cash advance for self-interest instead of taking the loan in the interest of the business.

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

#54

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!

more or less, yes. bankruptcy courts vary by location. the whole point of a 'limited liability corporation' is you not being personally liable.

BUT if you have 'malicious intent' -- meaning you build an llc on purpose to overrun costs and get free stuff, you CAN and WILL be sued and face penalties. cause that's just cut-and-dry fraud.

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

#55

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!

Yes. This is exactly what the “limited liability” in LLC means. You are not personally liable, only the business is.

There are nuances to this, obviously fraud is fraud, regardless of using a shell company to perpetrate it, and a new business is unlikely to get a credit limit large enough to be a worthwhile avenue for fraud.

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

#56

Can anyone shed light on how this compares with Netlify? (Pricing and tech wise). Netlify has basic DB/Identity/Lambda support so I’m guessing it could replace this entirely. I’m using it only to host static websites at the moment.

Netlify (without extra features) is simply static hosting. With Lambda, it does add server-side code.

Cloud Run is to run a fully custom server, as in an API. It can obviously do more than Netlify, however Netlify really excels at static + some server code, while Cloud Run is extremely flexible (server in any language, more resources, etc)

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

#57
post #52

started using this... pretty awesome vs the wall of yaml it replaces. Not suitable for all workloads (max 1cpu/2 gigs ram, 4 minute max pod startup time, can't do background work when not serving a request). But it replaces cert-manager, ingress-nginx, oauth2-proxy, k8s service, k8s deployment, k8s secret, k8s configmap, k8s hpa, k8s pdb, helm charts and cluster management.

Disclaimer: I work closely on Cloud Run as an SRE. IF you want, you can still have it by use "Cloud Run for Anthos", and deploy your container to your GKE cluster with the same Knative API. This allows you to have more control on memory/CPU etc.

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

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

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

[deleted]

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

#59
post #16

this is misleading, as cost curves are usually exponential for these types of managed services

Definitely something I look out for, but the advantage over something like Cloud Functions, which would be an alternative, is that a Cloud Run service handles multiple requests per instance so it isn't 1:1 with request rate.

Cloud Functions isn't 1:1 IIRC, once a Function is booted it keeps serving more requests once warm.

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

#60

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!

Banks often ask for personal guarantees from ltd owners for precisely this reason. I've just skimmed the T&Cs and I can't see any indemnity clauses, but that document's massive and I'm just some guy, so who knows.

(Incidentally, it's fairly common to structure a pair of ltds with the assets in one and the liabilities in another. If the whole thing crashes and burns, at least the IP doesn't go with it).

Post reply on HN