You need to create one Linux instance in the public subnet and one Windows instance in the private subnet in advance to perform this lab.
To learn how to create EC2 instances and VPCs with public/private subnets, you can refer to the following labs:
To use System Manager to manage Windows instances in particular and all your instances on AWS in general, you need to grant permissions for your instances to work with System Manager. In this preparation section, we will also create an IAM Role to allow the instances to work with System Manager.