Skip to content

Instantly share code, notes, and snippets.

@amanjuman
Last active February 16, 2023 19:51
Show Gist options
  • Save amanjuman/8bccd5ee15f23543e400942f0e18abc2 to your computer and use it in GitHub Desktop.
Save amanjuman/8bccd5ee15f23543e400942f0e18abc2 to your computer and use it in GitHub Desktop.
Install AWS Codedeploy Agent for Ubuntu 20.04
apt-get update
apt-get install -y ruby
wget https://aws-codedeploy-us-east-1.s3.amazonaws.com/releases/codedeploy-agent_1.0-1.1597_all.deb
mkdir codedeploy-agent_1.0-1.1597_ubuntu20
dpkg-deb -R codedeploy-agent_1.0-1.1597_all.deb codedeploy-agent_1.0-1.1597_ubuntu20
sed 's/2.0/2.7/' -i ./codedeploy-agent_1.0-1.1597_ubuntu20/DEBIAN/control
dpkg-deb -b codedeploy-agent_1.0-1.1597_ubuntu20
dpkg -i codedeploy-agent_1.0-1.1597_ubuntu20.deb
systemctl start codedeploy-agent
systemctl enable codedeploy-agent
@pranavmalaviya
Copy link

In case anyone comes across this like me, you can refer to AWS docs since they support Ubuntu 18.04 and 20.04 from Aug'20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment