You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the AWS Management Console, use the Services search bar to search for and open IAM.
Step 2: Begin Role Creation
In the IAM navigation pane, click on Roles.
Choose Create role.
Step 3: Select Trusted Entity
On the Select trusted entity page:
Trusted entity type: AWS service
Use case: EC2 (Allows EC2 to assume this role)
Click Next.
Step 4: Attach Permissions Policies
In the permissions filter box, type amazons3full:
Select AmazonS3FullAccess
Then type amazondynamodb:
Select AmazonDynamoDBFullAccess
Click Next.
Step 5: Name the Role and Create
On the Name, review, and create page:
Role name: S3DynamoDBFullAccessRole
Click Create role.
Important Note
⚠️Security Reminder
This example uses full-access policies (AmazonS3FullAccess and AmazonDynamoDBFullAccess) for demonstration and learning purposes.
In a production environment, avoid granting full access.
Once your S3 bucket and DynamoDB table are configured, refine this IAM role to follow the principle of least privilege.
You will learn more about permissions scoping in a later step.