How to do it...

Take for example Azure; create a free account, and you get $200 of credit to explore services for 30 days. Take a look at the virtual machines available, and you will see that creating a lab domain like the one used in this book can be done with a couple of clicks.

One of the biggest concerns with deploying vulnerable machines is to keep them contained and not expose them to the internet. For this, we can create a virtual network, which will create a logically isolated section in Microsoft Azure with this networking service. This way, we can use private IP addresses, define subnets, use our own DNS servers, and create complex network topologies using virtual appliances.

To learn more about how to create virtual networks, ...

Get Metasploit Penetration Testing Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.