Create AWS Role
Last updated
Last updated
1. Open the AWS Management Console: .
2. Navigate to the IAM (Identity and Access Management) service.
1. In the IAM dashboard, click Roles in the left navigation pane.
2. Click Create Role.
3. Under Select trusted entity, choose AWS Account.
4. Enter the AWS Account ID:
• Select Another AWS account.
• Enter 851725229460 (the account ID).
5. Click Next to proceed.
1. On the Permissions page, select Create policy (if you don’t already have a policy for EC2 permissions).
2. Define the policy:
• Choose the JSON tab.
• Paste the following policy to allow listing, describing, starting, and stopping EC2 instances:
1. Go to the Roles section and select the role you just created.
2. Under the Trust relationships tab, ensure the trust policy looks like this: