Clean up resources
We will take the following steps to delete the resources we created in this exercise.
Delete EC2 instance
- Access the EC2 service administration interface
- Click Instances.
- Click both Windows EC2 Instance.
- Click Instance state.
- Click Terminate instance, then click Terminate to confirm.
Delete IAM Role
- Access the IAM service administration interface
- Click Roles.
- In the search box, enter Windows-Lab-SSM-Role.
- Click to select Windows-Lab-SSM-Role.
- Click Delete, then enter the role name Windows-Lab-SSM-Role and click Delete to delete the role.
Remove VPC
- Access to the VPC service administration interface
- Click Your VPCs.
- Click to select windows-lab-ssm-vpc.
- Click Actions.
- Click Delete VPC.
- In the confirm box, enter delete to confirm, click Delete to delete windows-lab-ssm-vpc and related resources.