Step 2: Create a service role for CodeDeploy - AWS CodeDeploy

Learn how to use the IAM console or the AWS CLI to create an IAM role that gives CodeDeploy permission to access to your instances.