Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Zef Hemel
@zef@hachyderm.io  ·  activity timestamp 2 weeks ago

Spent a lot of time deploying a #kubernetes cluster on Hetzner cloud (based on https://github.com/hcloud-k8s/terraform-hcloud-kubernetes) over the last week or two. I’m finally getting comfortable with it and actually really love it. But boy, are there a lot of moving parts working toward a full stack. But I’m at good place now: a 3 node cluster, LB in front with a bunch of volumes attached. Running cost: about $20/month altogether. Try that in YOUR cloud.

What’s there: databases (postgres with daily backups, redis, clickhouse), observability (Prometheus, Loki attached to Grafana) certificate manager and nginx-ingress to front it all. The cluster is currently running 3 @silverbulletmd sites (silverbullet.md, v1.silverbullet.md, play.silverbullet.md) that I can trivially scale and @plausible
for analytics for all these sites (and a few others).

Cool stuff!

GitHub

GitHub - hcloud-k8s/terraform-hcloud-kubernetes: Terraform Module to Deploy a Highly Available, Production-Ready Talos Kubernetes Cluster on Hetzner Cloud

Terraform Module to Deploy a Highly Available, Production-Ready Talos Kubernetes Cluster on Hetzner Cloud - hcloud-k8s/terraform-hcloud-kubernetes
  • Copy link
  • Flag this post
  • Block
Lloyd Weehuizen
@lloydw@mastodon.gamedev.place replied  ·  activity timestamp 2 weeks ago

@zef @silverbulletmd @plausible wow, $20 for a 3 node cluster is amazing. What size are your nodes?

  • Copy link
  • Flag this comment
  • Block
Zef Hemel
@zef@hachyderm.io replied  ·  activity timestamp 2 weeks ago

@lloydw "cost optimized" 4gb RAM, 2 VCPU each: https://www.hetzner.com/cloud/

Flexible Cloud Hosting Services und VPS Server

Hetzner Cloud Hosting Services ✓ VPS Server und Block Storage ✓ günstige Preise ✓ in Deutschland, Finland, USA und Singapur
  • Copy link
  • Flag this comment
  • Block
Zef Hemel
@zef@hachyderm.io replied  ·  activity timestamp 2 weeks ago

@lloydw +1 LB node, which costs about the same

  • Copy link
  • Flag this comment
  • Block
Dennis Hoppe
@dhoppe@chaos.social replied  ·  activity timestamp 2 weeks ago

@zef I need more time to look at your code, but is Packer really necessary? Hetzer provides several images for Talos that can be used via rescue mode.

Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
  • Copy link
  • Flag this comment
  • Block
Zef Hemel
@zef@hachyderm.io replied  ·  activity timestamp 2 weeks ago

@dhoppe not my code. But this is fully automated with terraform no recue mode required.

  • Copy link
  • Flag this comment
  • Block
Zef Hemel
@zef@hachyderm.io replied  ·  activity timestamp 2 weeks ago

Goal of doing this is learning and hands on experience, but also get the infrastructure ready to launch some hosted #SilverBullet related services hopefully soon.

  • Copy link
  • Flag this comment
  • Block
Zef Hemel
@zef@hachyderm.io replied  ·  activity timestamp 2 weeks ago

Also my goal is to do this with as little cloud vendor specific infrastructure so that it’s potentially portable. I think with all of big tech (running all significant clouds) getting more and more problematic this a good approach.

That said #Hetzner is absurdly affordable and EU based.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login