You need to create 2 Linux instances in the public subnet to complete this lab. These machines will be target EC2 and attack EC2.
To learn how to create EC2 instances and a VPC with public subnets, you can refer to the following resources:
In this preparation step, we will configure a security solution for EC2 using GuardDuty. Specifically, we will create two EC2 instances: