How to Setup auto deployment using CodeCommit, CodeDeployment and CodePipeline 2019

Published: 12 April 2019
on channel: Learn With Atiq
516
10

Commands to install a web server in EC2

sudo yum update -y
sudo yum install -y httpd24 php72 php72-mysqlnd php72-mbstring
sudo yum install -y php72-mcrypt php72-zip php72-intl php72-gd
sudo service httpd start
sudo chkconfig httpd on
sudo groupadd www
sudo usermod -a -G www ec2-user
sudo usermod -a -G www apache
sudo chown -R ec2-user /var/www
sudo chgrp -R www /var/www
sudo chmod 2775 /var/www
find /var/www -type d -exec sudo chmod 2775 {} +
find /var/www -type f -exec sudo chmod 0664 {} +
sudo chmod 0777 /var/lib/php/7.2/session
sudo service httpd restart
sudo yum install ruby
sudo yum install wget
cd /home/ec2-user
wget https://aws-codedeploy-eu-west-1.s3.a...
chmod +x ./install
sudo ./install auto
sudo service codedeploy-agent start

#appspec.yml file
version: 0.0
os: linux
files:
source: /
destination: /var/www/html/
permissions:
object: /var/www/html/
owner: ec2-user
group: www


On this page of the site you can watch the video online How to Setup auto deployment using CodeCommit, CodeDeployment and CodePipeline 2019 with a duration of hours minute second in good quality, which was uploaded by the user Learn With Atiq 12 April 2019, share the link with friends and acquaintances, this video has already been watched 516 times on youtube and it was liked by 10 viewers. Enjoy your viewing!