What your lab machine is for
Video 009 of 140 in Virtualization Foundations, in the unit “Setting up your lab machine”. 3:31, with English and Hindi audio.
Before you install anything, settle one question: what is the lab machine for, and what must it never be used for? The answer is short. The lab machine is for practice, never for real work. Every rule about the lab follows from that. This article explains the difference between a lab and production, shows how a single wrong window can cause real harm, and sets out the rule that prevents it.
What you will learn
- A lab machine is for practice. Nobody depends on it, and a rebuild is cheap.
- Production is a live system that real people and customers depend on every day.
- Before every command, check which machine you are on.
- When you are not sure whether a system is live, treat it as live, and ask first.
The difference between a lab machine and production
A lab machine is a computer that you set aside for practice. You can make mistakes on it, break it on purpose, and rebuild it from nothing. Nobody depends on it. If it stops working, you lose an afternoon, and nothing else.
Production is the opposite. It is a live system that real people depend on every day, such as a payroll system or a shop's website. When production breaks, people lose money, work or trust, and sometimes all three.
How one wrong window can cause real harm
Imagine a trainee who believes she is logged in to a test server. In fact, she is on a live file server. She types a restart command, and the server restarts. Staff cannot open their shared files until it comes back.
Nothing in the command was wrong. The mistake was about which machine she was on. A terminal window looks the same on every server, so the window name is the only clue.
Note: Look at the window or prompt name before you type, every time. A command that is safe on the lab machine can be harmful on a live system.
Where you practise, and what sits on which layer
- The host: your own computer, or a rented cloud machine. It runs everything else.
- The operating system on the host: Ubuntu 24.04.
- The virtual machines: practice computers that you create in software, living inside the host.
You can break the virtual machines freely. The host is different, because everything else runs on it, so you must look after it.
The rule: practise on the lab, never on production
Practise only on the lab machine, and never on production, even for a quick test. Every command you try should run on your lab machine. Before you run a command, check which machine you are on.
If you are not sure whether a system is live, treat it as live. Stop, and ask someone who knows the system. Keep the steps you used written down, so that a clean lab machine can always be built again the same way.
Terms
- Lab machine
- A computer you set aside for practice, where mistakes are expected and a rebuild is cheap.
- Production
- A live system that real people or customers depend on every day.
Check yourself
What is the main difference between a lab machine and a production system?
Nobody depends on a lab machine, so mistakes there cost only time. Real people depend on production, so mistakes there cost money, work or trust.
What should you check before you run any command?
Which machine you are on. The same command can be harmless on the lab machine and harmful on a live system.
What should you do when you are not sure whether a system is live?
Treat it as live, stop, and ask someone who knows the system before you run anything.
Previous: How this course is laid out. Next: Does your CPU support virtualization?.