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 https://console.aws.amazon.com/iam/.
  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 AWS Definitive Guide to core AWS service offerings and implementing AWS in your own environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.