Automated virtual machine deployment with Vagrant

  Рет қаралды 52,476

Christian Lempa

Christian Lempa

Күн бұрын

In this tutorial, I will show you how to easily automate the deployment of a virtual machine with Vagrant running on Windows 10 with Hyper-V #Vagrant #Windows #HyperV
DOCS: github.com/christianlempa/vid...
Vagrant on Windows:
docs.microsoft.com/en-us/virt...
Follow me:
TWITTER: / christianlempa
INSTAGRAM: / christianlempa
DISCORD: / discord
GITHUB: github.com/christianlempa
PATREON: / christianlempa
MY EQUIPMENT: kit.co/christianlempa
Timestamps:
00:00 Introduction
01:02 What is Vagrant
02:48 How to install Vagrant
03:37 Provision our first virtual machine with Vagrant
12:12 Change provider-specific configurations
14:22 How to find more boxes for Vagrant
18:06 How to manage existing machines with Vagrant
----
All links with "*" are affiliate links.

Пікірлер: 66
@swapnilsinha7649
@swapnilsinha7649 3 жыл бұрын
Your videos are great. The quality of your work and the content feels like you are making these videos from ages. Your video helped me. Thanks!
@christianlempa
@christianlempa 3 жыл бұрын
Wow, thank you!
@JohnKitterman
@JohnKitterman 2 жыл бұрын
Solid video. Thanks for your time on it.
@JoshuaKersey
@JoshuaKersey 3 жыл бұрын
This was great. It covered what I needed in under a half hour. Thanks for being clear and succinct. I'll definitely be able to use Vagrant and HyperV in the way I need, and I don't think it's going to take me all week to figure it out.
@christianlempa
@christianlempa 3 жыл бұрын
Thank you, glad it helped you
@JoshuaKersey
@JoshuaKersey 3 жыл бұрын
@@christianlempa ok, using this tutorial I've been able to install an application and create my own box, however when I use that box I encounter various exception errors from gems. Can you do a tutorial video that shows how you create your own windows box with the hyperv provider, and then use it?
@TheSupergamo
@TheSupergamo 2 жыл бұрын
True, one clear explaining video saves lots of time (hours/days/weeks) with trial/error from reading.
@christiaansteenkamp5617
@christiaansteenkamp5617 Жыл бұрын
Rock solid video. This sent me down a rabbit hole and try to use it with libvirt. Thanks
@alexlerner8327
@alexlerner8327 3 жыл бұрын
dude, love your education. You have a knack for explaining things in a normal logical straight forward manner. Thank you so much. If you ever decide to do a udemy course on any subject, I will buy it
@christianlempa
@christianlempa 3 жыл бұрын
Thank you so much 🥰
@TheCCBoi
@TheCCBoi 3 жыл бұрын
Amazing tutorial - love the channel!
@christianlempa
@christianlempa 3 жыл бұрын
Thanks bro
@herbert9039
@herbert9039 7 ай бұрын
Thanks very cool showcase :)
@alitajvidi5610
@alitajvidi5610 2 жыл бұрын
Thanks for sharing!
@christianlempa
@christianlempa 2 жыл бұрын
Np! :)
@Shubhamhirau
@Shubhamhirau 2 жыл бұрын
You are Great !!
@michaeldina1103
@michaeldina1103 3 жыл бұрын
Your channel is pretty cool dude!
@christianlempa
@christianlempa 3 жыл бұрын
Hey, thanks!
@david2358
@david2358 Жыл бұрын
Awesome video, thank you, subscribed !!
@christianlempa
@christianlempa Жыл бұрын
Thank you and welcome! :)
@shaidsk2578
@shaidsk2578 2 жыл бұрын
Thank you sir. Vagrant have very less resources in youtube. Thank you so much sir to help 😊❤️#
@christianlempa
@christianlempa 2 жыл бұрын
Thank you mate 😊
@silasschmidt7852
@silasschmidt7852 3 жыл бұрын
Klasse Einführung! Mal wieder ein tolles Video, leicht erklärt und verständlich. Mach doch bitte noch ein Video zu Ansibile und eine kombi aus Vagrant und Ansible :P
@christianlempa
@christianlempa 3 жыл бұрын
Gute Idee, das werde ich auf jeden Fall! 😉
@koraypinarci9686
@koraypinarci9686 3 жыл бұрын
Auf Ansible warte ich auch schon. Das wäre echt super! Docker mit Ansible wäre auch sehr nice!
@khalidelgazzar
@khalidelgazzar 3 жыл бұрын
Great video, thx
@christianlempa
@christianlempa 3 жыл бұрын
Thank you 😊
@caiotony2037
@caiotony2037 Жыл бұрын
es war ein gut Video. Viel dank
@christianlempa
@christianlempa Жыл бұрын
Sehr gerne!
@TheVinss95
@TheVinss95 2 жыл бұрын
thanks man you rocks !
@christianlempa
@christianlempa 2 жыл бұрын
Thanks, you too 😉
@synthmania7275
@synthmania7275 3 жыл бұрын
Dankeschön mein Freund! You got yourself a subscriber
@christianlempa
@christianlempa 3 жыл бұрын
Ich danke dir! :)
@akyumurkov
@akyumurkov 2 жыл бұрын
Damn useful stuff!
@christianlempa
@christianlempa 2 жыл бұрын
Thank you 😊
@massiccreation2981
@massiccreation2981 3 жыл бұрын
Nice Video
@christianlempa
@christianlempa 3 жыл бұрын
Thanks
@bharathamaamallan5373
@bharathamaamallan5373 7 ай бұрын
👍
@jaskiewicztomasz
@jaskiewicztomasz 3 жыл бұрын
Could you make a video explaining container & virtualization solutions like: Docker, LXC, LXD, Vagrant, KVM, VirtualBox, etc. a how they can (or cannot) be used together? That would be great!
@christianlempa
@christianlempa 3 жыл бұрын
Maybe this video is interesting for you: kzbin.info/www/bejne/iHLEhmCHarGBb9U :)
@Sdirimohamedsalah
@Sdirimohamedsalah 5 ай бұрын
How start only machines present in current vagrant file ? When type vagrant up it starts all machines event those in other working directory.
@khalidelgazzar
@khalidelgazzar 3 жыл бұрын
Great video, thank you. Would have been a bit better without music. Thanks again
@christianlempa
@christianlempa 3 жыл бұрын
Thanks bro 😌
@vandanachavana7151
@vandanachavana7151 Жыл бұрын
Good info Chris, have you ever tried vmware provider with vagrant on WSL?
@christianlempa
@christianlempa Жыл бұрын
No :(
@simonlock9718
@simonlock9718 3 жыл бұрын
Great video. is it possible to create hyperv vms running on windows 10 from vagrant running on a different networked Linux box? Not from WSL?
@christianlempa
@christianlempa 3 жыл бұрын
Thanks, no I think thats not possible, because vagrant somehow needs to communicate with the hypervisor
@AlexRonai
@AlexRonai Жыл бұрын
Hello I have a question concerning 'vagrant box update', I noticed that instead of really changing the version of the box I use (generic/ubuntu2004 (vmware_desktop, 4.1.0)) it create a new one. And when I vagrant up it does it on the outdated version and tells me to destroy the 4.1.0 version. But won't doing that delete all my datas from the box? I don't really want to reinstall every thing so I want to be sure before doing the destroy. Also since the update created a box with the same name but ending with 4.1.2 (now there's even the 4.1.4 version), will the destroy command automatically pick the most outdated version?
@user-mfsc-2024
@user-mfsc-2024 Жыл бұрын
Im using vagrant with virtualbox on windows 10. Should I have to uninstall virtualbox to use win10 hyperv ?
@Prestige5er
@Prestige5er Жыл бұрын
When ever I change memory or cpus in the vagrantfile and do a vagrant reload, the machine comes up with the old number of cores and memory. What am I doing wrong? running on windows 10.
@JuanaMeloUnicEducation
@JuanaMeloUnicEducation 3 жыл бұрын
I assume to use this with proxmox it will be required create a custom provider , right? I also would appreciate if you create some more videos on vagrant maybe exploring docker. :)
@christianlempa
@christianlempa 3 жыл бұрын
Thank you! Vagrant with Docker is an awesome suggestion, I will look into that :)
@dmitrikonnov922
@dmitrikonnov922 Жыл бұрын
Dini churz guidlines si eifach mega.
@ytothef92
@ytothef92 3 жыл бұрын
how do you permanently delete boxes, because the remove command does not remove it from the machine
@christianlempa
@christianlempa 3 жыл бұрын
You can delete them with the "vagrant box remove", this should delete them. You can check with "vagrant box list" which are installed currently.
@freyclante1766
@freyclante1766 Жыл бұрын
@Christian Lempa I have setup Hyper-V on Windows 10, But my Company VPN is not working with the network Bridge setup as described here. Do you know how to solve this? Or better yet could you make a tutorial on the subject? I've search StackOverflow, StackExchange with no luck. I've tried to change the Adapter Metrics to see if the priority somehow was the issue as I've expirienced with the WSL2 before. Also no luck. I get a connection when I disconnect from the Company VPN, but then I'm back where I started. Any suggestions are welcome. :-)
@christianlempa
@christianlempa Жыл бұрын
Well, that depends on what's your network setup, you should come to our Discord and ask, maybe we're able to help :)
@casperghst42
@casperghst42 Жыл бұрын
Sadly the support for kvm is very basic (no support for resizing of the disk image and the default is 150GB). Otherwise a very cool tool.
@christianlempa
@christianlempa Жыл бұрын
I think the best support you get for vmware
@NetScalerTrainer
@NetScalerTrainer 5 ай бұрын
Templates???
@surisurendrababu
@surisurendrababu 3 жыл бұрын
cloud you sugegst me any Opensource VDI
@christianlempa
@christianlempa 3 жыл бұрын
I don't use it myself unfortunately. So I can't make a good recommendation on VDIs sorry
@Glatze603
@Glatze603 2 жыл бұрын
Take a look at kasmweb
@elmassiraelmassira
@elmassiraelmassira Жыл бұрын
development not deployment
@sveu3pm
@sveu3pm Ай бұрын
whats the point of having vm without shared folder? to look at it?
@Gilgwathir
@Gilgwathir 11 ай бұрын
Why isn't "up" a TLD yet? The domain "vagrant.up" would have been such a nice vanity domain.
Simple automation for all your Linux servers with Ansible
26:00
Christian Lempa
Рет қаралды 64 М.
Howto Provision Vagrant Virtual Machines with Ansible
32:36
theurbanpenguin
Рет қаралды 12 М.
Não pode Comprar Tudo 5
00:29
DUDU e CAROL
Рет қаралды 77 МЛН
白天使和小丑帮助黑天使。#天使 #超人不会飞 #超人夫妇
00:42
Godzilla Attacks Brawl Stars!!!
00:39
Brawl Stars
Рет қаралды 6 МЛН
How To PROPERLY Install Windows 11 on KVM (2024)
31:01
SysGuides
Рет қаралды 9 М.
Vagrant Crash Course
46:30
Traversy Media
Рет қаралды 188 М.
Vagrant vs Docker: Which Is Right for You? (Could Be Both)
9:02
It’s time for a new HomeLab Dashboard // Homepage
23:55
Christian Lempa
Рет қаралды 64 М.
Основы Vagrant | Что Такое Vagrant И Зачем Он Нужен
18:00
PyLounge - программирование на Python и всё о IT
Рет қаралды 13 М.
QEMU/KVM for absolute beginners
17:50
Veronica Explains
Рет қаралды 488 М.
This web UI for Ansible is so damn useful!
20:07
Christian Lempa
Рет қаралды 436 М.
Stop using Virtualbox, Here's how to use QEMU instead
6:38
Chris Titus Tech
Рет қаралды 980 М.
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 972 М.
Não pode Comprar Tudo 5
00:29
DUDU e CAROL
Рет қаралды 77 МЛН