Hetzner Cloud Load Balancer with Let's Encrypt

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น • 18

  • @tiri2.
    @tiri2. 22 วันที่ผ่านมา

    Bitte mehr Videos zu Hetzner. Finde sowas sehr Interessant und ich lasse lieber andere Geld ausgeben, als mir das selber an zu schauen xD

    • @Manuel_Schoebel
      @Manuel_Schoebel  22 วันที่ผ่านมา

      Ja werde ich machen. Ich habe eine kubernetes Cluster da kaufen und viel potentiellen content zu dem Thema 🙏 Zeit ist wie immer der limitierende Faktor 😅

  • @11hamma
    @11hamma หลายเดือนก่อน

    shush on the sever 💪

  • @AndriusLau
    @AndriusLau 9 หลายเดือนก่อน +2

    Very nice. I think one of the interesting topics currently - is the full CI/CD process of NextJs to Hetzner. Lot's posts and videos on how expensive the Vercel is, so if you make a video on the full process of how to deploy a Nextjs to Hetzner, it will be useful for a lot of people ;)

    • @Manuel_Schoebel
      @Manuel_Schoebel  9 หลายเดือนก่อน +2

      I am actually involved in a project where we will selfhost next.js. So I'd likely be able to make a video about it without too much effort 🙏. The only not so straight forward thing is to implement the caching "interface". Though that seems easy as well. Basically just add a redis and some little code.
      Thanks for the idea 🙌

  • @ihenners_
    @ihenners_ 9 หลายเดือนก่อน

    Look forward to that next video. Exactly what I was looking for. Thanks. Earned a sub.

  • @ashlad1576
    @ashlad1576 หลายเดือนก่อน

    Hi, thx for the informative video ! This might be a stupid question, but at 1:47 why are you creating a record for a subdomain instead of the domain itself ?

    • @Manuel_Schoebel
      @Manuel_Schoebel  22 วันที่ผ่านมา

      Lets encrypt will verify txt records under this subdomain in order to verify the domain owner ship. With that certificates can be created.
      Setting up the NS to hetzner bacially means that hetzner can configure this and create the txt records when needed. This way hetzner can handle this for us.

  • @marksto6581
    @marksto6581 5 หลายเดือนก่อน +1

    Hi Manuel and thx for the flick! Probably, a bit stupid question, but why do you have Nginx installed on the 'testing-1' server? Isn't the Load Balancer sitting in the front enough? Or was it just for demonstration purposes (and you could have installed anything but Nginx)?

    • @Manuel_Schoebel
      @Manuel_Schoebel  5 หลายเดือนก่อน

      Yes exactly, it could have been anything like a nodejs process for example 👍

  • @helloworld7796
    @helloworld7796 4 หลายเดือนก่อน

    Hey! Awesome content. How about if you want to use Cloudflare in front of the LB? Is everything still the same? Also did anyone ever do load testing on the cheapest instance with just plain html/nginx service running on https?

    • @Manuel_Schoebel
      @Manuel_Schoebel  4 หลายเดือนก่อน

      If you use cloudflare you could let cloudflare handle the ssl termination and not use letsencrypt on the hetzner LB. One thing to watch out for is the indefinite redirects from http to https between cloudflare hetzner

  • @Erfaninvokers
    @Erfaninvokers หลายเดือนก่อน

    Thanks
    The Cloud-Init link you have provided in the Description is giving 404 not found error.
    Can you please fix it?

  • @oschork
    @oschork 4 หลายเดือนก่อน

    Congratulations on the video Manuel. Is the Hetzner load balancer the same as AWS Elastic Load Balancing?
    If we are talking about e-commerce, is it possible to configure a rule so that when reaching 40% CPU usage it increases the server's performance?

    • @Manuel_Schoebel
      @Manuel_Schoebel  4 หลายเดือนก่อน

      It serves the same purpose, though hetzner load balancer is a bit less feature rich. It can do load balancing but also ssl termination (handling httpS with lets encrypt).
      If you want autoscaling on hetzner, the way to go would to host a K8s or k3s cluster behind the hetzner load balancer.
      And then intergrate the hcloud-cloud-controller-manager into the cluster.
      I am planning to set this up. Though it might take a while until I find the time to do so and make a video 🙈😅

    • @oschork
      @oschork 4 หลายเดือนก่อน

      @@Manuel_Schoebel Perfect Manuel and how would the database work with load balancing?
      Because when it comes to a Woocommerce store, orders can happen in the same second or in fractions of a second.
      i.e. the database needs to be the same on both machines

    • @Manuel_Schoebel
      @Manuel_Schoebel  4 หลายเดือนก่อน

      @@oschork you would setup a private network. Inside the private network you have one database (or a database cluster).
      But the db cluster is not managed by k3s. And there is no loadbalancer infront of it. All woocommerce instances connect to the same db(or cluster) directly inside the private network.
      The loadbalancer only routes public internet traffic between the woocommerce servers.
      So basically:
      Loadbalancer
      -> Woocommerce1
      -> Woocommerce2
      -> Database
      Depending on the traffic spikes you expect the database should normally be able to handle a lot. Reads should be cached by woocommerce anyways.
      But as always „it depends“ 😅
      To clarify: the database is another server that only hosts the database. There is no database on the woocommerce servers.