Category: github

You’ll need an AWS account that can do the following This role will allow EC2 to communicates with CodeDeploy This role will allow CodeDeploy to communicates with EC2, Now we have CodeDeployInstanceRole and CodeDeployServiceRole.

This script will run on ApplicationStart that we have declare above in appspec.yml this will start reload our pm2 process automatically.

You can create multiple development stage or have multiple pipeline that suit your work or even multiple instance for different stage.

Related Articles