To properly manage resource access within an Amazon Web Services (AWS) environment, you must create and maintain AWS policies. AWS Identity and Access Management (IAM) provides an advanced framework for setting policies that determine who has access to specific resources and what actions they can take. If you are new and want to know how to create and manage AWS policies, then don’t worry In this blog, you will learn the process to creating and managing AWS policies, which is given below

Creating an AWS Policy

  1. First, log in to the AWS Management Console. Then go to the IAM service.
  2. In the IAM dashboard, there is an option called “Policies” in the menu on the left.
  3. Click the “Create Policy” button to start creating a new policy.
  4. You can either create it yourself or use the visual editor or AWS policy generator. For ease of use, let’s select the JSON tab to create the policy manually.
  5. Now Create your policy using the JSON editor.
  6. Review your policy to make sure it meets your needs, then click “Review Policy.”
  7. Name and describe your policy to show and identify its purpose later.
  8. Next, once you are satisfied with your defined policy, click “Create Policy” and finalize it.
AWS policy
AWS policy

Attaching Policies to IAM Entities

After you create an AWS policy, you must associate it with roles, groups, or IAM users to grant them the permissions specified in the policy. 

  1. Now decide where you want to attach the policy, and then proceed to the relevant section within the IAM dashboard.
  2. Select the user, group, or role you want to associate the policy with.
  3. Open the “Permissions” page for the entity you selected.
  4. Click the “Add Permissions” button and then select “Attach policies directly.”
  5. Find the policy you created, select it, and then click “Next: Review.”
  6. First, check the policy attachments and select “Add permissions,” then attach the policy to the IAM entity.

Managing Policies

AWS policy management involves a variety of responsibilities, including editing, versioning, and deleting policies.

Editing Policies

  1. First, log in to the AWS Management Console and select an IAM service.
  2. Select “Policies” from the left-side menu on the IAM dashboard.
  3. Now you have a list. Select the policy you want to change.
  4. Click on the policy name to edit it.
  5. Make appropriate modifications to the JSON document representing our policy.
  6. Now check your changes, click “Save Changes,” and update the policy.

Versioning Policies

  1. AWS IAM provides policy versioning, which allows you to track changes applied to policies over time.
  2. Select “Policies” from the left-side menu on the IAM dashboard.
  3. Select the policy for which you want the new version.
  4. To open a policy, click its name, then go to the “Policy Versions” page and select “Create New Version.”
  5. After reviewing the changes in the new version, click “Create Version” to finish it.
  6. You can make the updated version the default version of the policy.

Deleting Policies

  1. Log in to the AWS Management Console and choose the IAM service.
  2. Select “Policies” from the left-side menu on the IAM dashboard.
  3. Select the policy you want to delete.
  4. Click on the policy name and open it. Then, from the “Policy Versions” tab, select “Delete.”
  5. Confirm that you want to delete when asked.

Best Practices for Policy Management

  1. Consider least privilege to ensure that groups and individuals only have the permissions needed for their jobs.
  2. Make sure your policies are in line with your security needs by regularly reviewing and auditing them.
  3. To track modifications and maintain a record of policy modifications, use policy versioning.
  4. Before deploying policies in a production environment, test them in a non-production environment.
  5. To facilitate policy management and troubleshooting, record the purpose and scope of each policy.


Here we discussed how to create and manage AWS policies. I hope you have read it carefully and cleared up all your doubts. If you are planning to do AWS certification, then it is the best option in all aspects of your career. This will give you a great career opportunity. If you want to know more about AWS training certification or the AWS certification program, you can contact us, and we will assist you.