Instance Profile
Attach IAM Instance Profile to EC2 runners
Prerequisites
Here's a checklist of things to have setup on AWS when getting started:
✅ AWS IAM Instance Profile
Create an IAM instance profile and role attached to the instance profile. Here's how:
✅ Warpbuild Integration IAM role name
Fetch the IAM role name from the WarpBuild connection page for the runner. WarpBuild Connections
WarpBuild Role Name Format: warpbuild-<UUID>
Setup Permissions
Execute the below command to grant the iam.PassRole
permission to the warpbuild-<UUID>
role.
To verify the policy is attached, run the below command:
Attach IAM roles to the runners
Use the Instance Profile ARN while configuring the stack for all the runners in stack. You can also override this at the Custom Runner configuration.
Last updated on