Suspending a Vagrant Box

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 in this lesson, we will learn how to suspend a vagrant machine.
00:09
Let's get started.
00:12
Are learning objectives for this video are
00:15
learning the definition of suspending a vagrant machine and pros and cons of doing so.
00:22
Let's start
00:24
so suspending a vagrant machine, What does that mean? Well, when you suspend a vagrant machine, it saves the current state of that machine and stops it.
00:34
So a good analogy of this is when you put your windows computer on hibernate or sleep
00:42
you. When you do this, you're saving the current state and the machine will stop and
00:50
go to sleep. So for suspending a vagrant machine, we will use the command vagrants suspend. And when we want to resume or restart the mission in, we will enter the command vagrant up.
01:04
So a pro of suspending a machine of a great machine is that
01:10
it allows for a fast reboot, so meaning that when you suspend a machine and you bring the machine back up, the machine will start in 5 to 10 seconds.
01:23
A con of suspending a vaguer machine is that it will consume a lot of disk space.
01:30
So if you have a computer with very little disk space, you probably don't want to suspend your machine. You will probably want to halt your machine or shut down your vagrant machine. But we will talk about that in our next lecture.
01:47
So let's continue.
01:49
So
01:49
we have a quick
01:53
learning quist.
01:53
True or false? Suspending a vagrant machine saves the state of that machine. Is that true? Or is that false? I will give you a couple of seconds and then I will give you my answer. Let's start down.
02:07
And the answer is but Papa bar
02:12
True.
02:13
So remember, when you suspend a vagrant machine, the state of the machine is safe. So this is true? Yes, well, you suspend a vagrant machine, the state of the machine is saved
02:27
so and submarine
02:29
and this video we learned the definition of suspending a vagrant machine and we also learned of pros and cons of doing so.
02:38
So now we have end of the lecture quiz and the question, true or false, was suspending a vagrant machine. The machine would not consume a lot of just disk space. Excuse me, Is that true or is that false? I will give you a couple of seconds and then I will come back with my answer.
02:58
Let's start now.
03:00
And the answer is the bar
03:04
false remembered that this is a con
03:08
of suspending a vagrant machine because we suspend a favorite machine. It does take a lot of this disk space. The machine consumes a lot of disk space where you suspend a vagrant machine. So this is false.
03:24
So remember, this is again a con of suspending a vagrant machine. Is that yes, it will consume
03:30
a lot of disk space. And as I said before, if you have a computer that does not have a lot of disk space, you will probably want to halt or shut down your vagrant machine. And we will discuss that in our next lecture. So I hope that you have
03:49
I enjoyed our lecture on suspending a vagrant machine. I hope you have learned
03:53
what suspending a vagrant machine means the definition as well as the commands to do so. Remember, vagaries suspend to suspend a vagrant up to reboot,
04:06
and in our next video, I will show you a demo of how to actually suspend our Mobutu trustee 64 machine. So I can't wait to see you in that video. Have a good day. Bye.
Up Next