
Building and Automating Penetration Testing Labs in the Cloud
By :

The previous section primarily focused on setting up the attacker VM instance using pre-built scripts. This was necessary because we will utilize this VM instance (kali-00
) as a reference to create a golden image. This golden image will be used in the Terraform configuration file to automatically set up the attacker VM instance (vm-kali
).
Note
What will happen to the original VM instance (kali-00
) we created? After using it to create the golden image, it becomes generalized and cannot be started again. That said, once the golden image has been successfully created, we will delete the original VM instance (kali-00
).
This section is divided into the following subparts:
Without further ado, let’s begin!