Clean up resources

We will proceed to delete the resources in the following order.

Delete IAM Policy RegionRestrict

  1. Sign out and log back in with an IAM user with admin privileges.

  2. Access the IAM service management console

    • Click Policies.
  3. In the search box, enter RegionRestrict.

    • Press Enter.
  4. Click to select the RegionRestrict policy.

    • Click Delete.

CostGovernance

  1. Enter RegionRestrict to confirm deleting the policy.
    • Click Delete.

CostGovernance

Delete IAM Policy EC2EBS_Restrict

  1. Click the X icon to clear the Filter.

  2. In the search box, enter EC2EBS_Restrict

    • Press Enter.
  3. Click to select the EC2EBS_Restrict policy

    • Click Delete.
  4. Enter EC2EBS_Restrict to confirm deleting the policy.

    • Click Delete.

Delete IAM Policy EC2_FamilyRestrict

  1. Click the X icon to clear the Filter.

  2. In the search box, enter EC2_FamilyRestrict

    • Press Enter.
  3. Click to select the EC2_FamilyRestrict policy

    • Click Delete.
  4. Enter EC2_FamilyRestrict to confirm deleting the policy.

    • Click Delete.

Delete IAM user testuser

  1. Click IAM Users.
    • Click to select testuser.
    • Click Delete user.

CostGovernance

  1. Enter confirm to confirm.
    • Click Delete users.

Delete IAM group CostTest

  1. Click IAM user groups.
    • Click to select the CostTest group.
    • Click Delete.

CostGovernance

  1. Enter CostTest to confirm.
    • Click Delete.