
On the CostTest group page.
In the Filter by Type box, click Customer managed.

Customer managed are IAM Policies that we create and manage ourselves.
Click on the Filter box, enter the policy name we created in the previous step ( EC2_FamilyRestrict ).
Click the checkbox next to the EC2_FamilyRestrict policy.



We need to remove the RegionRestrict policy because this policy provides full permissions on the EC2 service.
In the next step, we will log in with the user testuser to check if we can create an EC2 server with a family other than T3.