CodeDeploy Agent

CodeDeploy Agent

We will install CodeDeploy Agent

  1. Access to EC2

    • Select EC2 to which you want to deploy the application.
    • Select Connect

CodeDeploy Agent

  1. Then we will move to the connecting interface.

CodeDeploy Agent

  1. Execute the following commands to install CodeDeploy Agent
REGION=$(curl 169.254.169.254/latest/meta-data/placement/availability-zone/ | sed 's/[a-z]$//') &&

sudo yum update -y &&

sudo yum install -y python-pip &&

sudo yum install -y ruby &&

sudo yum install -y wget &&

cd /home/ec2-user

wget https://aws-codedeploy-$REGION.s3.amazonaws.com/latest/install &&

chmod +x ./install &&

sudo ./install auto &&

sudo yum remove -y wget &&

sudo service codedeploy-agent start

CodeDeploy Agent

  1. Complete installation of CodeDeploy Agent

CodeDeploy Agent