Prepare VPC and EC2

In this step, we will need to create a VPC. After creating the VPC, a public subnet will be automatically created. Next, we will create 2 Linux EC2 instances in the public subnet:

  • target EC2: The target machine that will be attacked and tested for security.
  • attack EC2: The attack machine that will simulate intrusion attempts on the target EC2.

The architecture overview after completing this step will look like this:

VPC

To learn how to create EC2 instances and VPC with public subnet, you can refer to the following lab resources:

Content