How I Automatically Deploy and Manage Proxmox VMs Using Terraform #20

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 34

  • @MaximeSeguin
    @MaximeSeguin 2 месяца назад +2

    Great introduction to Terraform with Proxmox, thanks!

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  2 месяца назад +1

      Thank you! I'm glad you found the introduction to Terraform with Proxmox helpful. If you have any questions or topics, you'd like me to cover in more detail, feel free to let me know!

  • @rob280
    @rob280 2 месяца назад +1

    Outstanding video, good information and very professional presentation. This is the first one of your video's I have seen, will definitely look for more.

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  2 месяца назад

      Thank you so much for the fantastic feedback! I'm glad you enjoyed the video and found the presentation professional. It's great to hear this is your first video of mine, and I'm excited to have you as part of the community. Be sure to check out more, and feel free to share any topics you'd like to see covered!

  • @freakinmonkey85
    @freakinmonkey85 Месяц назад

    How would you deploy services/code that runs inside a vm?

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  Месяц назад

      I’ll be showing you exactly how I will deploy services inside a VM in future video. Subscribe and stay tuned!

  • @RussellStreitenberger
    @RussellStreitenberger 2 месяца назад

    How do you define the hostname when deploying from a template? Wouldn't that require cloud-init?

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  2 месяца назад

      Great question! In this video, the focus is on Terraform using a QEMU VM, and the hostname and IP configuration are handled directly from the VM, outside the scope of this tutorial. I’m planning to create a new video that covers cloud-init, which would address these configurations in more detail. The goal here is to keep the setup simpler for terraform beginners, but I’ll definitely will cloud-init in the future to make this setup complete.

  • @traianstc
    @traianstc Месяц назад

    Hi, thanks for the video, it's great :) The problem is that I'm at the beginning of...everything :) So I have some problems...First I was struggling with some permission issue in visual code but that isn't my problem anymore.. I have this error "Error response from daemon: the working directory 'terraform' is invalid, it needs to be an absolute path" when I try to run this command "docker compose -f docker-compose.yml run --rm terraform init"
    Maybe my environment is not right...I don't know..I'm trying to install terraform in an ubuntu 22.04 with docker compose v2.29.1 and portainer installed...The folder is path is /data/compose/1/terraform... I have to start from scratch? Thanks in advance :)

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  Месяц назад

      Hi, thank you for watching and for your kind words! 😊 It looks like you're off to a good start, but running into some common issues for beginners. The error suggests that Docker Compose needs an absolute path for the working directory. You might need to double-check your docker-compose.yml file to ensure paths are defined correctly.
      Also, if you're just starting, I recommend watching my videos on Ubuntu Server and Advanced Proxmox setups-they cover the foundational steps that might help you get your environment properly set up. Feel free to reach out if you have more questions, and good luck with your Terraform journey! 🚀

  • @fossdom5568
    @fossdom5568 2 месяца назад +1

    Great stuff .
    Can you do 2FAuth self hosted

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  2 месяца назад +1

      Thank you so much! I'm glad you enjoyed the content. I actually have plans to cover self-hosted 2FAuth in a future video, so stay tuned for that. Let me know if there’s anything specific, you’d like me to address in that video!

  • @RussellStreitenberger
    @RussellStreitenberger 2 месяца назад

    Outstanding video. I'd like clarity on the creation of the clone your using. Can you provide a link? However, I know this wasn't the goal of the video.
    Video was great. I've shared the video with others!

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  2 месяца назад

      Thank you so much for the great feedback! I'm glad you enjoyed the video. Regarding the clone I'm using, I actually cover the creation of it in this video: ruclips.net/video/KymIW8Tzj_I/видео.html. While that wasn't the focus of this video, I hope that helps! I really appreciate you sharing the video with others - it means a lot. Stay tuned for more, and feel free to reach out if you have any more questions!

  • @BigFourHead
    @BigFourHead 2 месяца назад +1

    why are you using docker terraform and just not terraform on the host?

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  2 месяца назад +3

      Great question! The reason I'm using Docker with Terraform is to create a more isolated and reproducible environment. Docker allows me to manage dependencies more easily and ensure that the setup works consistently across different systems. Using Terraform directly on the host is also an option, but by containerizing it, I can avoid potential conflicts with the host system and make the process more portable.

    • @BigFourHead
      @BigFourHead 2 месяца назад

      would this method method be used in company production setup? as someone trying to learn terraform, trying to understand how real world setup are done.

    • @michalrybinski3233
      @michalrybinski3233 2 месяца назад

      @@BigFourHead Most real world set-ups I worked on use gitlab/github/whatever automation workflows for such things, or Terrafom Cloud workspaces to deploy terraform resources into Cloud or on-prem. Doing it pretty much manually as shown in this video is good for homelab but even then, I'd suggest setting up internal gitlab server and using its CI pipelines to deploy terraform code.

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  2 месяца назад +1

      Great question! In this video, the focus was on getting started with Terraform in a straightforward and accessible way. The setup is intentionally simplified to help beginners get hands-on experience.
      In real-world production setups, the approach can vary based on the organization’s requirements and infrastructure. Many companies indeed use CI/CD pipelines (via platforms like GitLab, GitHub Actions, or Jenkins) or tools like Terraform Cloud to automate deployments, as @michalrybinski3233 rightly pointed out.
      That said, I have plans for more detailed videos where I’ll simulate production-like environments in a homelab, incorporating tools and workflows commonly used in real-world setups. Stay tuned for those! Thanks for your interest, and I hope

    • @76739
      @76739 2 месяца назад

      thanks, great explanation !

  • @ahmedd.masoud6809
    @ahmedd.masoud6809 Месяц назад

    Great video bro,
    Thank you
    What softwares used to produce that amazing vid. 🙏 Please

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  Месяц назад

      Thanks! It’s a mix of some powerful tools, a dash of creativity, and a lot of trial and error. The secret sauce is just knowing where to click! 😅

    • @ahmedd.masoud6809
      @ahmedd.masoud6809 Месяц назад

      @Tech-TheLazyAutomator
      😒.

    • @ahmedd.masoud6809
      @ahmedd.masoud6809 Месяц назад

      @Tech-TheLazyAutomator thank you.
      I really loved it.

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  Месяц назад

      You're very welcome! I'm so glad you loved it! Thanks for watching and supporting the channel!

  • @philbos6232
    @philbos6232 2 месяца назад

    Great video! I haven’t checked you other videos yet, but is it your own voice?
    And what do you use to b-roll over the digital screenshot of Proxmox?
    What screenrecorder software do you use?

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  2 месяца назад +1

      Thank you for the kind words! 😊 I’m glad you enjoyed the video.
      The voice you hear is generated using text-to-speech, and the screenshots are taken directly from screen recordings. I’ve edited and arranged them in a way to make the content more engaging and visually appealing.
      Thanks again for watching, and I’d love to hear your thoughts if you check out more videos on the channel!

  • @bepstein111
    @bepstein111 Месяц назад

    It's crazy how many computer scientists don't realize/notice/care that this is an AI voice????

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  Месяц назад +2

      You're absolutely right-what really matters is the value of the content, not whether the voice is AI or natural. But I have to give you credit for realizing, noticing, and caring about it! It's always interesting how different people react to these things.

    • @emapaposo
      @emapaposo 3 дня назад

      @@Tech-TheLazyAutomator and something tells me your comments are also automated using AI haha - well done

    • @Tech-TheLazyAutomator
      @Tech-TheLazyAutomator  День назад +1

      Haha, I can see how it might seem that way! But I genuinely love replying to comments. I actually schedule time each week to chat with all of you. Even though I could automate it, I choose not to because I really appreciate everyone’s input. We’re all learning together! 😊