Created
August 5, 2021 10:16
-
-
Save mealCode/ad0d52ded1fc69eb1c623d082a9bd184 to your computer and use it in GitHub Desktop.
Continuous deployment from Github to AWS EC2 using AWS CodeDeploy | Installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
https://www.fastfwd.com/continuous-deployment-github-aws-ec2-using-aws-codedeploy/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment