AWS CodeDeploy Tutorial – What is AWS CodeDeploy?

Avatar admin | February 23, 2021 4 Views 0 Likes 0 Ratings

4 Views 0 Ratings Rate it

In this tutorial we will show you how to deploy AWS Codedeploy.

Documentation:
https://docs.aws.amazon.com/codedeploy/latest/userguide/register-on-premises-instance-iam-user-arn.html

Install Code Deploy agent:
https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install-linux.html

sudo yum update -y
sudo yum install -y ruby
sudo yum install -y wget
cd /home/ec2-user
wget https://aws-codedeploy-us-east-1.s3.us-east-1.amazonaws.com/latest/install
chmod +x ./install
sudo ./install auto
sudo service codedeploy-agent status

Timestamps:
0:00​ Intro
0:18​ Topic agenda
1:15​ Start with brief steps
2:27​ Create IAM user CodeDeployUser-OnPrem
4:19​ Launch EC2 instance to simulate as on-premises server
5:43​ Add a configuration file to the on-premises instance
8:45​ Register the on-premises instance with CodeDeploy
9:28​ Install the CodeDeploy agent
10:45​ what happens when you do not TAG server? Deployment Failed.
14:27​ TAG on-premises instance in CodeDeploy
15:33​ Re-deploy and it’s successful this time


4 Views 0 Ratings Rate it

Written by admin