Create IAM Roles

Create new IAM roles in advance to be used in subsequent steps:

CodeDeploy for ECS Role: Click "Create Role" again and select "CodeDeploy" as a principal service as shown below: dashboard Select "CodeDeploy - ECS" as use-case: dashboard

It will automatically select the required policy.

Give name and create the role: dashboard