Leveraging Terraform to automatically set up the lab environment
In this chapter, we will have a network environment in AWS that mimics the peered network setup we prepared in Chapter 4, Setting Up Isolated Penetration Testing Lab Environments on GCP, and Chapter 5, Setting Up Isolated Penetration Testing Lab Environments on Azure. It is important to note that while the chapter titles are very similar, the design of the lab environments in these chapters has significant differences.
Like the previous chapters, we will use Terraform to set up the lab environment using various types of resources and components in our AWS account. We must familiarize ourselves with the key AWS concepts and services before proceeding with the hands-on portion of this chapter. Once we have a solid understanding of the relevant AWS concepts and services, it will be much easier to interpret and tweak the Terraform configuration code. In case you are not yet familiar with the concepts, services, and resource...