Vagrant History, Provider/Provisioner and the Vagrant File

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
2 hours 51 minutes
Difficulty
Beginner
CEU/CPE
3
Video Transcription
00:00
Hello. My name is Jasmine Jackson and our courses intro to vagrant. And this lecture is our introductory lecture on what is vagrant. Let's get started So the pre RECs For this course,
00:14
the student will need to know basic command line skills such as creating folders, listing directories, etcetera and basic virtualization skills such as opening, closing and starting a virtual machine.
00:30
So to give a bit of background on myself, my name is Jasmine Jackson. I have nine years of I t experience. Seven of those years have been information security. I have the following Certs g Sexy Watch GS sp Java
00:46
G Sick That certain is an introductory information security cert g wop is for Web application, penetration testing and G SSP Java is for secure programming in the Java programming language.
01:03
In my spare time, I like to go shopping as well as go to concerts and a fun fact about me. I own a raspberry pi and I love vintage video games. So if you look on the bottom right,
01:18
there's a gentleman holding a game controller
01:22
in the zone, and that's how I am when I'm playing my video games. I like the room to be dark as it creates a theater feel. I have surround sound, so it's great, and I'm just like this gentleman
01:36
directly in the zone when I'm playing my games
01:40
on the upper left picture is also me when I am doing bug bounty. So that is something that I am pursuing. And the upper left picture
01:56
shows how I am when I'm learning about bug bounties and information security
02:00
concepts.
02:02
If you want to contact me, you can reach out to me on Twitter at the fluffy double 07
02:08
So let's start with our course for our cores. Intro to vagrant. There are supplementary materials. I have created labs for each lecture of the course, as I feel like this course will be best by. Doing so is great to listen to the
02:29
lectures, but I also feel like for you, Ted
02:32
actively learned vagrant. You need to play with the software you need to create vagrant machines, etcetera. So I have created labs for each lecture
02:44
in our course, so I hope you like it. The target audience for this course is Dev ops, engineers, developers or anyone wanting to learn vagrant and the learning objectives for this video are
03:00
learning the history of vagrant programming programming, languages that support vagrant, the times provision, er and provider and how it relates to vagrant and the importance of a vagrant file.
03:13
So let's begin. Before we start with learning the history of vagrant. I want to go over briefly the structure of the course. So, as I showed in the supplementary materials, I have created labs for each lecture of the course. As I said before,
03:30
I believe that you, the student, will learn best by actually
03:35
playing around with the vagrant software
03:38
I have also, in addition to the labs, I have the lectures which we're doing now, and I also have demos
03:47
which are short videos, demoing specific topics that relates to the given lecture.
03:55
So the reason why I have structured the course this way is because I'm a kinesthetic learner, meaning I learned by doing so. I feel like
04:06
the best way for you. The students who learned is by actually doing as well and
04:14
playing with vagrant. I know there are many different types of ways for people to learn auditory with, you know, listening visual with the lecture, which we're doing now
04:28
and kinesthetic as I am where you learn. By doing so, I want to cover as many learning styles as I can in the chorus, because I want this course to be very beneficial to anyone that's taking it. So
04:43
I really hope that you enjoy this course. The labs, the demos, the lectures
04:48
and less learn the history of a grin. So Vagrant was first started in January 2010 as a personal project by Mitchell Hashimoto. The first stable version was Vagrant Want Otto, and that was released in March 2012.
05:04
Has She Corp is the company that supports full time development of vagrant now and in version one by one
05:14
Vagrant added
05:15
other virtualization software such as VM ware and Cave medium or kernel based virtual machines as well a server. Environments such as Amazon E C. Two,
05:27
now vagrant, is written and ruby, but it supports PHP Python, Java Sea sharp in Java script. So
05:36
if you want to learn Ruby, that's great. But you don't need to know it to actually use vagrant, because vagary it also supports other languages.
05:47
So provisions and providers
05:50
these terms vagrant use. So let me describe them so a provision is a tool that allows users to customise the configuration of their virtual environment.
06:04
An example of AH, provisions in our virtual box VM were in AWS.
06:12
A provider, on the other hand, is a service that allows vagrant to set up and create virtual environments. So an example of a provider are shell scripts shift and puppet, the vagrant foul.
06:28
So if there's nothing else that you learn in this course, and I hope that's not the case, but
06:35
if it is, I want you to know that the vagrant foul is the most important foul in vagrant, and I'm going to explain why
06:45
the vagrant foul is the configuration foul
06:48
that specifies to vagrant how you want your vagrant machine to be configured.
06:55
So we need to explain a few things
06:59
Looking on the right hand side. We have a sample vagrant file,
07:04
and if you notice online eight,
07:06
we have the line vagrant dot com figure the number to do config, so you may be wondering, OK, what does the number to stand for in this instance? Well, the number two specifies to vagrant to use of
07:24
updated version of a great vagrant, one down 1 to 2 Dato.
07:30
If you see in the vagrant file vagrant, I configure and the number one
07:36
that specifies to use an older version of a grill. Now, mind you, vagrant is backwards compatible. So if you use the number two, you can still execute vagrant one dato commands
07:54
on your vagrant machine because this backwards compatible.
07:58
Now you may be wondering, Well, can I combine the numbers such as 12 or to one? And unfortunately you cannot do that. You have to specify either one or two, and as you can see on lines for Through seven, which are common and out as they are green, it specifies
08:18
the number to invigorate. Dycom figure configures the
08:22
the configuration version, and it says we support older styles for backwards compatibility. Please don't change it unless you know what you're doing. So most times you would leave the configure number two, too. But if you know that you want to use an older version of a grit that you could change that to one.
08:43
But if you keep it to two, it is backwards compatible, so you can use
08:48
the updated vagrant commands as well as older vagrant commands. So now we have a quick quiz.
08:54
What are provisions? You? What are provisions? Use foreign vagrant A Creating virtual machines? Be creating scripts, See, allowing users to customise their virtual machines or D None of the above.
09:11
I would give you a couple of seconds and then I will come back with my answer.
09:16
Let's start now. And the answer is C
09:20
Provision allows for users to customise their virtual machines. So remember, provisions are
09:30
VM Ware
09:31
Virtual box in AWS. So the answer. So the answer is C so in summary in this video we discuss the history of vagrant provision in vagrant providers in vagrant. And we discussed the vague referral which again
09:50
is the most important foul
09:52
needed for vagrant as a specifies the configuration of your vagrant machine
09:58
and we have and of lecture, quiz. And the question is, what is the vagrant file used for A to figuring a vagrant machine? Be downloading virtual ization software? See downloading text editing software or D. None of the above.
10:18
I would give you a couple of seconds and then I will come with my answer. Let's start now
10:24
and the answer is Papa Bob,
10:31
a
10:31
I explained this during the video summary of
10:37
this lecture, but the vagrant file is used for configuring your vagrant machine.
10:43
So the answer is A
10:46
and our next lecture, I will show you how to download vagrant
10:52
our virtualization software. I'm using virtual box for this course, but you can use being where or any other virtualization software. And I also I'm using a Windows machines. So I have also downloaded the Commander Consul,
11:11
which is a council emulator that allows
11:15
when those users to execute limits commands. So I have downloaded that as well. But that's optional. You don't have to download it. I just downloaded it because I like using linens commands So I can't wait to see you in the next video. And I hope you have a good day bye.
Up Next