3. 1.FTP
Kongsi On 5/27/2014 “SFTP to EC2 Instance”
https://docs.google.com/presentation/d/1ikV2Qi
DX4WBNfJ0tWK0fjy34CHbuQ8BCiLM_oHuBh
m4/edit#slide=id.p
once connected, copy/move your file to server
directory
4. 2. Git Pull
1.SSH to you EC2 instance
ssh -i linktrackr_key.pem
ubuntu@ec2-54-188-6-85.us-west-
2.compute.amazonaws.com
1.change user as root
sudo su -
5. 2. Git Pull - continue
3.change directory to web root
cd /var/www/linktrackr
4.run git pull
git pull origin master
6. 3. Git Hook
Github has webhook. We can use this features
to automate git pull process.