Notice: Trying to get property 'post_excerpt' of non-object in /home/n3svtp4r09fz/technet.vn/wp-content/themes/darknews/single.php on line 43
Lab Details:
- This lab walks you through the steps to Create IAM Policies
- Duration: 30 minutes
- AWS Region: US East (N. Virginia)
Tasks:
- Login to AWS Management Console.
- Create IAM Policy for EC2.
- Create IAM Policy for S3.
- Create IAM Policy for DynamoDB.
Architecture Diagram:
Steps:
Creating Policy for EC2
- Navigate to the
menu at the top, then click on IAM in the
section.
- In the left menu, select Policies.
- Click on
.
- Under Visual Editor, select choose a service.
- Type EC2 in the search box and select EC2.
- In the Actions, specify the actions allowed in EC2. For this service, We’ll choose List and Read.
- Click on Resources and choose All resources so that there is no need to specify the resource ARN.
- If you click on the JSON, you can see the policy we created.
- Click on
.
-
Review:
- Name : EC2Policy
- For Policy description, type a description for the new policy.
- In the Summary, you can see the Access level.
- Review the policy and then choose Create Policy.
- Name : EC2Policy
- After creating you will get a verification for the created Policy.
- In the filter policies, type your policy name and click on it.
- In the Summary, (under the JSON) you can see the policy you created.
Creating Policy for S3
- In the left menu, select Policies.
- Click on
.
- Under Visual Editor, select choose a service.
- Type S3 in the search box and select S3.
- In the Actions, specify the actions allowed in S3. For this service, we’ll choose List, Tagging and Write.
- Click on Resources and choose All resources so that there is no need to specify the resource ARN.
- If you click on the JSON, you can see the policy we created.
- Click on
.
-
Review:
- Name : S3Policy
- For Policy description, type a description for the new policy.
- In the Summary, you can see the Access level.
- Review the policy and then choose Create Policy.
- Name : S3Policy
- After creating you will get a verification for the created policy
- In the filter policies, type your policy name and click on it.
- In the Summary, (under the JSON) you can see the policy you created.
Creating Policy for DynamoDB
- In the left menu, select Policies.
- Click on
.
- Under Visual Editor, select choose a service.
- Type DynamoDB in the search box and select DynamoDB.
- In the Actions, specify the actions allowed in S3. For this service, we’ll choose List, Read, Tagging and Write.
- Click on Resources and choose All resources so that there is no need to specify the resource ARN.
- If you click on the JSON you can see the policy we created.
- Click on
.
-
Review:
- Name : DynamoDBPolicy
- For Policy description, type a description for the new policy.
- In the Summary, you can see the Access level.
- Review the policy and then choose Create Policy.
- Name : DynamoDBPolicy
- After creating you will get a verification for the created policy
- In the filter policies, type your policy name and click on it.
- In the Summary, (under the JSON) you can see the policy you created.
Completion and Conclusion
- You have successfully created an IAM Policy for EC2 Service.
- You have successfully created an IAM Policy for S3 Service.
- You have successfully created an IAM Policy for DynamoDB service.