Attach role

Attach roles

We will perform role assignment to EC2 instance.

  1. Access to EC2

    • Select EC2 which you use to deploy the application
    • Select Actions
    • Select Security

Attach IAM role

  1. Next we will choose Modify IAM role

Attach IAM role

  1. In Modify IAM role step
  • Select CodeDeploy-EC2-Instance-Profile

Attach IAM role

  1. Select Update IAM role

Attach IAM role