Live data from Hacker News

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

alexolivier.me

341–350 of 397 posts

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

#341

Earlier quoted context omitted.

Here's a few: https://news.ycombinator.com/item?id=17115643 https://news.ycombinator.com/item?id=19124324 https://news.ycombinator.com/item?id=19432702 https://news.ycombinator.com/item?id=21247759

Google's main problem here is they can't tell their side of the story . If only they had some process where a customer could agree to have Google publicly explain why an account was banned, I think we'd see many more explanations along the lines of "This customer was using Google cloud to launch Ddos attacks" or "This customer sent bomb threats to the president".

How is that a problem? What's stopping them? Google can easily write blog posts or release post mortems or have the dozens of PMs that visit HN talk about it.

Considering these links are all about people with valid businesses and apps, I doubt your examples apply for violations.

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

#342

Do the kind of people who have tech jobs and have side projects really need it to cost nothing to run side projects? I don't understand this obsession with running projects for "nothing" and contorting software architecture to do so. $5/mo for a digital ocean droplet or $50/month for a a beefier VPS (or even dedicated hardware if you know where to look[0]) is not much compared to the normal monthly expenditure of peo…

Running side-projects at a loss prevents you from keeping a lot of them around, and might make it harder to decide to create a new one - "I want to do this cool project, but i already spend $X a month in hosting and I don't want to spend more".

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

#343
post #308
post #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.

This is the advice I give early stage startups... don’t waste cycles learning the AWS stack, and getting locked in. Just pay for a cheap VPS, and scale it vertically as you grow. By the time you outgrow vertical scaling you should have the revenue or funding to figure out your at scale architecture. You’d be surprised how much you can handle with a single beefy VPS or dedicated.

Yup. The other aspect that surprised me is how crazy the relative costs are.

I'm paying 7USD for a 16gig/4 core ryzen I snagged on a special. That's a good 10x off from what big cloud would give me.

...down side is it needs to be engineered for "provider may disappear overnight" so backup strategy needs to be on point.

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

#344

Earlier quoted context omitted.

> I'd much rather overpay $20-50/month I don't think the alternatives are nearly that expensive. Vultr, DigitalOcean and others have virtual private servers for only $5 per month. They're small instances but totally fine for side-projects. I run a cheap $5/month VPS and it was able to withstand my project making the HN front page without issues. I don't use Google cloud hosting for the same reasons as you, I don't wa…

+1 to just running something on a cheap Digital Ocean style box. In our modern cloud age, I think we've forgotten how much a single box can actually handle (and how few of us actually _need_ to "scale" from day one). Hacker News front page isn't really that much traffic in the grand scheme of things. My $5 DO instance handled it without a sweat. Hell, even "real" projects can still work under this approach. A $20/mo…

> I think we've forgotten how much a single box can actually handle

And also we think that "scale" can fix crap software. Pick/write decent web apps and you can worry far less about scale.

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

#345

Earlier quoted context omitted.

+1 to just running something on a cheap Digital Ocean style box. In our modern cloud age, I think we've forgotten how much a single box can actually handle (and how few of us actually _need_ to "scale" from day one). Hacker News front page isn't really that much traffic in the grand scheme of things. My $5 DO instance handled it without a sweat. Hell, even "real" projects can still work under this approach. A $20/mo…

A few years ago I set up a $5 DO droplet with the Dokku image they provide. Years later it's still running all of my side projects in production, even though I moved from the $5/mo plan to the $20/mo plan as my business grew and my needs increased. I have 15 containers connected to 10 Postgres instances running right now handling tens of thousands of views per month for $20/mo, AND I have Heroku-like convenience to d…

Dokku's great, but it doesn't support ARM. Anyone who wants that can try Piku, which is even smaller!

https://github.com/piku/piku

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

#346

Earlier quoted context omitted.

Here's a few: https://news.ycombinator.com/item?id=17115643 https://news.ycombinator.com/item?id=19124324 https://news.ycombinator.com/item?id=19432702 https://news.ycombinator.com/item?id=21247759

Google's main problem here is they can't tell their side of the story . If only they had some process where a customer could agree to have Google publicly explain why an account was banned, I think we'd see many more explanations along the lines of "This customer was using Google cloud to launch Ddos attacks" or "This customer sent bomb threats to the president".

> more explanations along the lines of

I am willing to bet there would be zero explanations along those lines.

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

#347

Earlier quoted context omitted.

Virtual cards with limits are an answer to this. Works very well.

Not really. You're still responsible for the bill even if your payment method is capped. They don't just forget about it. If you never pay then expect some aggressive account shutdown, bans across all connected user accounts, and calls from debt collections.

You are absolutely right; no idea (thinking hard what service I was thinking off now) why I typed that. I was thinking of something entirely else. No-one try this; bad advise; they will indeed come after you. Not

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

#348

Earlier quoted context omitted.

Is this not typical for...literally every use case? No one has an unlimited budget.

Depends - if your profits increase in line with your expenses, you might be raking in the ad revenue/views/sales/whatever because your product 'went viral' and you might prefer to keep it up. Or if the rise in costs is something you can mitigate on your end - such as a bad deployment - you might want time to respond yourself, rather than your site going offline. More generally, few site reliability engineers are look…

> few site reliability engineers are looking to add extra ways for the site to be taken offline.

Apart from the cases already mentioned in sibling comments, at some scale you start adding in outage switches in many cases. Basically quick ways to take parts of your service offline if something starts misbehaving.

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

#349

Earlier quoted context omitted.

Bug free is a not realistic but if you are a programmer and definitely if you are a tech founder you definitely should be willing to bet your financial future on writing reasonably low bug code. If you are a programmer, I kind of find the comment puzzling; maybe I am reading you wrong, but you seem to be saying that you are writing code for some company while being happy to commit it and not care if the company loses…

When you work for somebody else (or with somebody else) then you try to do as good of a job as possible, but the ultimate responsibility still lies elsewhere - might be your boss or could even be the group. There will be other people who interact with your code and might spot errors. There will be people who are trained, in some capacity, to figure out ways to mitigate against accidentally generating very large bills…

You are right, but at some level you are thinking 'you can do it' right? Otherwise you would be pretty miserable I would imagine. But I agree with the rest you wrote. You meant it slightly more nuanced than I read it!

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

#350
post #200
post #196

Earlier quoted context omitted.

I ordered a phone from Google that's been lost in delivery. I have Gmail/documents/photos/music... Should I do a charge-back? Sue them in small claims court? I should never have done business with them.

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.

Post reply on HN