deploy your web app to aws
TRANSCRIPT
Deploy Your Web App to AWS
Kongsi by hanafiah yahya
Options1.FTP2.Git Pull3.Git Hook
1.FTPKongsi On 5/27/2014 “SFTP to EC2 Instance”https://docs.google.com/presentation/d/1ikV2QiDX4WBNfJ0tWK0fjy34CHbuQ8BCiLM_oHuBhm4/edit#slide=id.p
once connected, copy/move your file to server directory
2. Git Pull1.SSH to you EC2 instance
ssh -i [email protected]
2.compute.amazonaws.com2.change user as root
sudo su -
2. Git Pull - continue3.change directory to web root
cd /var/www/linktrackr4.run git pull
git pull origin master
3. Git HookGithub has webhook. We can use this features to automate git pull process.