Bitbucket & CodeDeploy P1

Set up AWS CodeDeploy & IAM

First create the IAM access policy and role to be used for access to EC2 by CodeDeploy. I’m sure I’ve implemented overkill here but I just needed to get this running first.

Create the policy CLZBITBP

Create the role CLZBITBR


Create an EC2 linux instance and assign it the role CLZBITBR


In the AWS console select AWS CodeDeploy, check and save the region you are using as this will have to be used by bitbucket.

Select “Create Application”

Select “Create deployment group”