Automate GitLab + Terraform (state file, and more)

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

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

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

    Your not lazy, your efficient! Automation is the way forward in Cyber Security and Technology. Yes, you still need to do the manual in the interim so you are not losing out on that front. Excellent content and keep up the good work! 👍

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

      Haha, sounds much better this way ;) Thank you so much.

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

    Love these type of videos, I'd much prefer self hosting then anyone else due to cost over time

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

      Glad you enjoy them 🙏😊

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

    Will definitely be referencing this video when I FINALLY pick up the starter hardware to start a homelab. Setting up a private gitlab repository and managing infrastructure through terraform was exactly what I was planning. We use gitlab to manage our terraform state files at work, and are thrilled to not have to use terraform cloud, or worse, the manual S3 approach.
    I wouldn't mind seeing a terraform cloud video, just to see what it entails as far as ease of use and how the experience compares.

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

      Thanks for the feedback! :)

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

    No way . Just in time for my new homeland server . Thank you !

  • @Loapu
    @Loapu หลายเดือนก่อน +15

    Hast du vor, von Terraform zu OpenTofu zu migrieren? Ein Video über die jeweiligen Vor- und Nachteile wäre, glaube ich, interessant.🤔

    • @christianlempa
      @christianlempa  หลายเดือนก่อน +8

      Auf jeden Fall! Ist für Januar nächstes Jahr geplant 😊👍

  • @LiteLotus
    @LiteLotus หลายเดือนก่อน +3

    I would love to see how you do proxmox provisioning. i hate the telmate/proxmox provider because it feels so limiting as the values you provide arent the same ones you get out.

    • @OliverSchwarz-lz7rw
      @OliverSchwarz-lz7rw หลายเดือนก่อน +1

      I have the same issue, the existing providers seem to be quite underwhelming.

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

      Try bpg/proxmox I like it much more personally

  • @hardikdesai24
    @hardikdesai24 16 วันที่ผ่านมา

    awesome explanation, your expertise is top notch. A suggestion; please go slow while explaining.👍

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

    That makes sense idea, btw The content is better discussed more deeply on-premise k8s setup

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

    Very cool! I need to do this.

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

    this is it
    thanks christian

  • @johnvillalovos
    @johnvillalovos หลายเดือนก่อน +6

    Have you tried OpenTofu instead of Terraform? When Terraform stopped being open-source OpenTofu was created and is now part of the Linux Foundation.

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

      Not yet, but it's on my list for next year! :)

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

    Have you found a way to configure the icons of users/projects through terraform? I am currently following your video and saw that you had icons, or are they added manually?

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

      No, I've just done it manually

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

    Great video again Christian! Will you be replacing kestra with gitlab runners?

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

      Thank you! :) No, that's not planned, in fact I want to integrate GitLab into Kestra using Webhooks but that's a topic for a future video.

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

      @@christianlempa thanks for replying. Glad to hear because I have implemented Lester into my stack because of your videos on it and was wondering if you were moving away.

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

    Great video, I exiceted to try on my labs.
    I curious about wazuh, I have a device with Wazuh installed, will all activities be recorded, including logging into several VPNs?
    Thank You

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

      Awesome! Wazuh reports many events from the clients, I'm not sure though about VPNs...

  • @daro_
    @daro_ 5 วันที่ผ่านมา

    How much ram memory does GitLab consume on your side ?
    Compared to Forgejo (which is like 2 GB of ram?) it took 5-6 GB - that is after turning off several features.
    For small homelabbers this might be a lot.

    • @christianlempa
      @christianlempa  4 วันที่ผ่านมา +1

      It's somewhat around 5-6GB, which is insane :D But for smaller environments I'll have a solution. New video is already planned on Gitea.

    • @daro_
      @daro_ 4 วันที่ผ่านมา

      @@christianlempa Are you familiar with Forgejo? It is a fork of Gitea which was created after Gitea was taken by a profit company. I'm asking cause there's very little content about Forgejo to be honest.

    • @christianlempa
      @christianlempa  4 วันที่ผ่านมา +1

      @ I had a brief look but didn’t deploy it yet. Maybe I’ll add a small section in my Gitlab vs Gitea video about forgejo but I think it’s a bit too early to make a final conclusion, whether it’s better to use forgejo over gitea, we’ll see…

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

    What is the tool you are using to display diagrams on 17:59 ? Great video ! Thx

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

    Great exercise for building skills in this particular tool, but for this use-case overkill. It's also important to judge whats overkill in a work environment. There are more ways to Rome. Awesome tutorial and demo though.

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

      Thanks! I'm working on another video about Gitea, that will be a nice alternative to GitLab :)

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

    20:09 - in the past you've been using Terraform Cloud for this, but thought it would be much more amazing to use GitLab ?
    Actually 2 months ago in the comments under video about Semaphore UI, I've suggested you to use GitLab for storing tfstate. And you said you'll check it out.
    But apparently it's a whole new idea of yours :D What a coincidence.
    Another idea to borrow: setting up a GitLab instance through Terraform from scratch, but Terraform is executed on GitLab CI runners (self-hosted or cloud).
    Classical chicken-egg problem, similar to setting up ArgoCD on a cluster managed by ArgoCD.
    That's going to be fun one :p

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

      btw the video as always thoroughly explains the matter. Well

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

      Thank you so much for your idea! :) Sorry, I'm not good with tracking where I got inspiration from 😥

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

      @@christianlempa no worries, it's a GitLab feature, so at the end of the day it's their idea

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

    Are you no longer using GitHub? Or is it specifically for internal use?

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

      I'm planning to still use it for my public repos, so just for my internal stuff :)

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

    Schaut interessant aus, aber es ist mir einfach zu hoch. Wo anfangen ? stellt sich mir die Frage

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

      Am besten mit GitLab, du musst ja nicht die self-hosted variante nehmen, geht auch mit GitLab in der Cloud. Und dann am besten mal ein zwei Terraform tutorials von mir anschauen :)

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

    wazuh is good ive deployed it, but its very very manual.

    • @christianlempa
      @christianlempa  หลายเดือนก่อน +3

      It’s awesome, but we need more tutorials to make it actually useful ;)

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

    hmm now I want to switch from gitea lol

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

      damn 😂 btw gitea is nice too! But gitlab has some really cool features

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

    Gitea is superior :D

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

    Erster 😂