Installing and configuring the CodeDeploy agent

Before we begin with the actual launch of our EC2 instance with the CodeDeploy agent installed on it, we need to set up an EC2 instance profile as well as an instance role that will grant our EC2 instances the necessary permissions to interact with both CodeCommit as well as with CodeDeploy:

  1. To get started, first log in to the AWS Management Console and select the IAM service from the services Filter. Alternatively, you can launch the IAM dashboard by selecting URL
  2. From the IAM dashboard, select the Policies option from the navigation pane to bring up the IAM Policies page. Here, click on Create policy to get started.
  3. In the Create policy page, select the ...

Get AWS Administration ; The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.