News for hackers. Stuff that matters.
Re:Stack on a Budget – A collection of services with free tiers by the_duke on Monday May 03, 2021 @03:11AM (#27022420)
Free is great, and you can get a decent mileage out of cobbling together a few services.

But I'd personally be way too stressed and annoyed by worrying about the often very restrictive free tier limits. You can very easily blow through the network egress, for example.

For things I want to be cheap I've started hosting a lot of things on Hetzner Cloud [1].

Even their cheapest instance (1vCPU/2GB RAM/20TB traffic) at 2.5 Euro/month can run a k3s Kubernetes cluster with Traefik ingress, loki logging, their own CSI driver, cert-manager, Grafana and a 2 or 3 light weight Go/Rust services. With their Terraform provider I can easily scale up the cluster in less than a minute.

And since it's Kubernetes I can also always move things to GC or AWS if required.

That's incredibly cheap, and you don't have to worry about limits or free tier periods ending, etc. It's a long-term solution.

I'm sure there are some other similar providers out there.

edit: to be clear, I also have clients with sizable production workloads on the same infrastructure, it's not just for tiny toy deployments. Above is just an example how far you can go for almost no money.

[1] https://www.hetzner.com/cloud

Re:Stack on a Budget – A collection of services with free tiers by BiteCode_dev on Monday May 03, 2021 @06:53AM (#27023527)
I didn't know Hetzner Cloud, an first thought, "wow, it's even cheaper than OVH, which is already a bargain" (https://www.ovhcloud.com/fr/vps/).

But then I realized you are limited in bandwithd to 20 TB, while OVH provides, for barely more €, unmetered traffic. It's huge because you never have to worry about a random spike day, a bot doing something stupid, an attack, or a use case switch (ex: video streaming).

Re:Stack on a Budget – A collection of services with free tiers by q3k on Monday May 03, 2021 @09:36AM (#27024900)
OVH might give you 'unmetered' traffic, but their connectivity _sucks_. Hetzner's 20TB/mo is equivalent to a constant measly ~60Mbps, but at least you'll reliably get this rate to most of the Internet, and very often will be able to saturate your link speed for peak usage.

There have been times where I wasn't able to get more than a handful Mbps from an OVH box in RBX to any network I've tried (multiple eyeball networks, Google Cloud, AS204880...). I also know multiple people who had to quickly migrate out of OVH because they suddenly got DSL-tier performance to their critical customers, and there was nothing they could do about it.

So it might be theoretically unmetered, but technically... I'd be surprised if you'd be reliably able to push more than 20TB in a month to outside OVH's AS, or even datacenter. You get what you pay for, and while network connectivity is not nearly as expensive as what large cloud providers would like you to believe, it's not free.

A true unmetered, non-oversubscribed, globally reaching Gbps link would run you something close to $200/mo in T1 transit commitment costs alone, and that's if you buy in bulk and already have good settlement-free peering with large networks to supplement that T1 transit.

Re:Stack on a Budget – A collection of services with free tiers by gruez on Monday May 03, 2021 @11:47AM (#27026574)
>But then I realized you are limited in bandwithd to 20 TB

How are you using 20TB/month? Are you running a tor relay or something?

Re:Stack on a Budget – A collection of services with free tiers by BiteCode_dev on Monday May 03, 2021 @05:26PM (#27030893)
Streaming, webrtc, chat, file storage and upload, torrenting, file conversion, proxying, web crawling, backups, sync...

There is more to the web than crud.

Re:Stack on a Budget – A collection of services with free tiers by IA21 on Tuesday May 04, 2021 @12:04PM (#27039069)
> There is more to the web than crud.

not really. 90% of people using the cheapest vps are going to host wordpress or crud apps on there, not their video streaming startup that competes with youtube.

Re:Stack on a Budget – A collection of services with free tiers by anoncake on Wednesday May 05, 2021 @01:07AM (#27046406)
10% is significantly higher than 0.
Re:Stack on a Budget – A collection of services with free tiers by rollcat on Monday May 03, 2021 @02:48PM (#27029094)
Video.
Re:Stack on a Budget – A collection of services with free tiers by nielsole on Tuesday May 04, 2021 @04:49AM (#27035371)
20TB is not the limit but what is included in the VPS costs. Afterwards it's 1€ (plus VAT) / TB
Re:Stack on a Budget – A collection of services with free tiers by hardwaresofton on Monday May 03, 2021 @04:12AM (#27022707)
You think cloud is good wait till you use the dedicated servers :). I was sold on Hetzner after running into their robot marketplace (on HN I think) years ago. Fantastic provider if you can live with a little bit of latency depending on where you are.

With what Hetzner prices at I'm always on the look out for a US competitor but there doesn't seem to be one yet -- best prices consistently come from OVH most of the time or LeaseWeb.

Re:Stack on a Budget – A collection of services with free tiers by trinovantes on Monday May 03, 2021 @06:30AM (#27023404)
How's the latency from NA to their German datacenters? Their offerings seem much better than my current Digital Ocean setup at the $10 bracket

(as a side note, is there an NA-equivalent of Hetzner?)

Re:Stack on a Budget – A collection of services with free tiers by krageon on Monday May 03, 2021 @06:37AM (#27023452)
Generally latency the other way is 100-120ms if both sides are close to an exchange. If you live way out in the boonies those numbers to straight out the window.
Re:Stack on a Budget – A collection of services with free tiers by bogle on Monday May 03, 2021 @03:59AM (#27022655)
That's a lot of moving parts. To give me an idea of what's left over, how lightweight are we talking when you say, "2 or 3 light weight Go services"?
Re:Stack on a Budget – A collection of services with free tiers by the_duke on Monday May 03, 2021 @04:12AM (#27022706)
Sure, and that's only recommended if you know your way around Kubernetes. I just wanted to illustrate that it's possible to host a k8s cluster with some workloads for 2.5€ per month.

You can always skip the Kubernetes overhead and use plain VMs.

Obviously you can't expect too much from a single vCPU at that price, but as an example, I had the above setup plus miniflux (feed reader), Postgres, Maddy (mail server) and Nginx for a few static sites, all on the cheapest instance. It was mostly fine, apart from occasioal stutters.

Re:Stack on a Budget – A collection of services with free tiers by papito on Monday May 03, 2021 @07:53AM (#27023914)
The amount of time and the opportunity cost involved in "knowing your way around Kubernetes", might as well just pay for Slack.
Re:Stack on a Budget – A collection of services with free tiers by fluential on Wednesday May 05, 2021 @12:03AM (#27046046)
Hetzner small cloud instances mentioned are insanely performant. They don’t seem to limit small instances like other cloud providers do. So you can do around 160MiB / s of disk writes and 1gbit network, for $2.5/month.
Re:Stack on a Budget – A collection of services with free tiers by mhd on Monday May 03, 2021 @07:33AM (#27023781)
That's quite early to go Kubernetes cluster. (I'm reminded of the old "does it run Beowulf" meme)
Re:Stack on a Budget – A collection of services with free tiers by dfox on Monday May 03, 2021 @11:07AM (#27026043)
That depends. Nowadyas installing k8s is easy enough that it is probably the most strightforward way of getting automated deployments that is reasonably reliable. The only issue is that the control plane is somewhat heavy weight, which can be issue for these small cheap VM instances (and I suspect that the reason why they are cheap is that they are intentionally sized such as not to make sense for production k8s deployment).
Re:Stack on a Budget – A collection of services with free tiers by mhd on Monday May 03, 2021 @12:08PM (#27026832)
I think it boils down to what people deem "reasonably reliable" for such starting situations or whether that's a requirement in the first place. Related to whether it's better/required to structure your software as set of services or a monolith.

Of course, if you're already doing a devops or particularly mean full stack regular job where this is your daily bread, you might as well use the knowledge.

Re:Stack on a Budget – A collection of services with free tiers by watermelon0 on Monday May 03, 2021 @02:44PM (#27029048)
Installation is easy, but maintenance/upkeep is non-trivial. Kubernetes ecosystem is complex by itself, without having to run non-managed control plane.

They have K8s cloud controller manager to manage load balancers and private networking, and driver for attaching persistent volumes. Also, instances go up to 32 vCPU/128 GB of memory, so they are more than enough to run most loads, including the control plane.

Re:Stack on a Budget – A collection of services with free tiers by jean-malo on Monday May 03, 2021 @04:11AM (#27022704)
Hetzner is great! I have a k3s cluster running there and can't complain, my experience has been very smooth.
Re:Stack on a Budget – A collection of services with free tiers by CodesInChaos on Monday May 03, 2021 @05:01AM (#27022940)
Hetzner's dedicated server offerings are great. But their cloud offering seems rather limited.

For that I'd rather look into scaleway (starting at 15 EUR/month for DEV1-M), who offer services like managed kubernetes or S3 compatible object storage. What I like about their pricing is that it's very predictable. For example traffic is free (but bandwidth is limited) and object storage is only billed by size, not by API calls.

(disclaimer: I didn't use scaleway yet, so I don't know if it works reliably in practice)

Re:Stack on a Budget – A collection of services with free tiers by jamil7 on Tuesday May 04, 2021 @02:07AM (#27034511)
Used them for a few years and recently started switching everything over to hetzner. Scaleway’s products are fine but their support sucks and was either unresponsive or offering little to no help.
Re:Stack on a Budget – A collection of services with free tiers by CodesInChaos on Wednesday May 05, 2021 @05:25AM (#27047855)
The biggest downside of hetzner is the lack of managed containers. Which means I'm responsible for securing and maintaining the whole server, instead of just my applications.
Re:Stack on a Budget – A collection of services with free tiers by Angius on Wednesday May 05, 2021 @01:05PM (#27052570)
I was considering Hetzner as well, but, as opposed to OVH, they don't have managed Postgres database in their offer. I could just run both the backend and the db on the same VPS, or split them into two, sure, but then managing it falls onto me.
Re:Stack on a Budget – A collection of services with free tiers by darumderum on Monday May 03, 2021 @03:44AM (#27022597)
+1 for hetzner
Re:Stack on a Budget – A collection of services with free tiers by sdevonoes on Monday May 03, 2021 @04:22AM (#27022750)
In terms of usability (their UI/UX, integration with Terraform, etc.), features and support, would you recommend Hetzner Cloud over Digital Ocean? I'm really interested, but, for instance, I don't see Hetzner offers VPCs, right?
Re:Stack on a Budget – A collection of services with free tiers by j45 on Monday May 03, 2021 @09:53AM (#27025085)
I would be weary of DigitalOcean.

DigitalOcean unlike other providers does not allow you to easily download your disk images or backups of your own servers.

It has been a feature requested many times and support simply lets you (eventually) know that it’s not going to happen.

That means you cannot have backups stored in more than one location, and more regularly, it’s a veiled form of lock in to make it unable for you to move.

Other vendors simply let you download your disk image, snapshot or backup at anytime.

DO has a good interface, but so do others. Proxmox or ESXi can be run pretty easily on a piece of equipment too.

OVH and Hetzner are strong options, and I have heard good experiences with Linode, who’s pricing is on part with DO.

Re:Stack on a Budget – A collection of services with free tiers by onlyrealcuzzo on Monday May 03, 2021 @02:15PM (#27028686)
Can't you just:

1. mount /mnt/archive <block_storage>

2. dd if=/dev/<your_sda_partition> of=/mnt/archive/<my_image> bs=64K conv=noerror,sync

3. Download your image from your block.

?

Re:Stack on a Budget – A collection of services with free tiers by j45 on Tuesday May 04, 2021 @01:38AM (#27034381)
Sure. The point is it’s not one click to download like other vendors.

It’s an active and intentional hurdle, it could just link to the file of the snapshot and allow you to DL.

Re:Stack on a Budget – A collection of services with free tiers by the_duke on Monday May 03, 2021 @04:45AM (#27022855)
The UI is very responsive and well done. The TF provider has been excellent and bug free, in my experience.

DO has a few features that Hetzner lacks: S3 equivalent, managed Kubernetes and managed databases. So you need to have enough tolerance for managing all of that yourself. (they do have storage volumes, so you can get there with self hosted Minio etc, but it's obviously more work)

Support is pretty good, but quite a bit more responsive if you have larger deployments.

Re:Stack on a Budget – A collection of services with free tiers by e_proxus on Monday May 03, 2021 @02:24PM (#27028811)
I tried to use DO Spaces (their S3 equivalent) to store 13 Kb of Pulumi state data, it took 5 minutes to save. Switched to AWS S3, it took less than a second.

It seems to be seriously rate limited to the point of being unusable.

Re:Stack on a Budget – A collection of services with free tiers by anaganisk on Tuesday May 04, 2021 @07:33AM (#27036441)
I dont want to judge but, are you really over engineering all that stuff to run on a 1 core 1GB ram machine? Is it really necessary?
Re:Stack on a Budget – A collection of services with free tiers by yunohn on Monday May 03, 2021 @04:19AM (#27022740)
Do you have an estimate of how much traffic/load this can serve? Your description doesn’t make it sound like these are for public services.
Re:Stack on a Budget – A collection of services with free tiers by zuzun on Monday May 03, 2021 @04:47AM (#27022869)
Yesterday there was a blog post by someone receiving HN traffic on a cheap Hetzner instance:

https://blog.royalsloth.eu/posts/how-much-traffic-comes-from...

Re:Stack on a Budget – A collection of services with free tiers by yunohn on Monday May 03, 2021 @05:22AM (#27023066)
Thanks for this, it answers my question partially - the author talks about Hugo-based static sites. As for OP, I’d be curious to know how services with more dynamic workloads fare. However, reading another comment of theirs, it confirms my suspicion that it was for their personal services, not public.
Re:Stack on a Budget – A collection of services with free tiers by the_duke on Monday May 03, 2021 @09:10AM (#27024578)
I edited my I initial comment to mention this, but I also know companies with sizeable production deployments.

It's definitely viable for businesses if you need to save money.

Although I primarily recommend it for secondary workloads.

As a business you will probably be better off having S3/GCS and managed Kubernetes, managed databases etc. Better guarantees and less risk. And everyone is familiar with the big clouds, so less training for new hires.