TRANSCRIPT
What are virtual machines?
- A virtual machine or VM lets you run an operating system with its own file system as if it was a regular computer.
- We use an open-source framework called Apache Guacamole to provide virtual machines over the internet to CyberCamp students.
- This way we can give students a computer with cybersecurity software pre-installed without touching their own hardware.
- We also have a Discord bot called GuacBot that provisions VMs and allows Discord users to request a VM through the chat interface.
Using GuacBot
- To use GuacBot you need to be viewing the bot-commands channel on the CyberCompetitions server on Discord.This will not work on your instructors server because we dont have GuacBot running on it.
- GuacBot reads your chat messages for commands and responds to them either in the channel or through direct message.
- All of GuacBots commands start with a percent sign .
- For a list of available GuacBot commands type help into the chat.
- For a list of available VM templates to choose from type list
- Before requesting a VM make sure you know which kind of VM you want.
Requesting a VM
- To request a VM type getvm template.
- You should receive a direct message from GuacBot with a link to your VM.
- When you click the link you will first be prompted for the usernamepassword you were given through GuacBot.
Copy and paste from Discord into the prompt.
- You will then be prompted to change your password.
- This isnt that important because VMs are meant to be disposable so set it to something easy to remember in case of a disconnect.
- Once logged in it can take a few seconds for the VM to finish booting.
- If Guacamole cant connect try refreshing a few times.
- When successful you should see the desktop of the VM you selected.
Extending a VM
- VMs run on a keep-alive timer.
Initially you are given a half-hour before your VM closes out.
- You can extend this time as much as you want so long as you give the extend command to GuacBot before your time runs out.
Terminating and Deleting a VM
- When you delete your VM all data on it is lost.
Dont leave anything on there that you want to keep!
- When you are done with your VM first shut it down from within the desktop interface.
- This will disconnect you from Guacamole.
- Then issue the stop command in Discord to delete your VM early.
Источник: rutube.ru