Create an IAM Role for AWS Resource
- Navigate to IAM Dashboard & click on Role
Click on Create Role
- We are created this role for EC2 service, instancing it EC2 instance will provide access to talk programmatic to other services as per policy
Click on Next: Permission
- Select the permission you want to provide EC2 instance to access other service
In this scenario, we will access to S3 service
Search for S3 then select AmazonS3FullAccess policy
Click Next: Tags
- You can put up tags, click on Next: Review
- Give role a Name
Click on Create Role