Attach role
Attach roles
We will perform role assignment to EC2 instance.
-
Access to EC2
- Select EC2 which you use to deploy the application
- Select Actions
- Select Security
- Next we will choose Modify IAM role
- In Modify IAM role step
- Select CodeDeploy-EC2-Instance-Profile
- Select Update IAM role