deploy your web app to aws

6
Deploy Your Web App to AWS Kongsi by hanafiah yahya

Upload: gobala-krishnan

Post on 10-Jan-2017

233 views

Category:

Business


1 download

TRANSCRIPT

Page 1: Deploy your web app to aws

Deploy Your Web App to AWS

Kongsi by hanafiah yahya

Page 2: Deploy your web app to aws

Options1.FTP2.Git Pull3.Git Hook

Page 3: Deploy your web app to aws

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

Page 4: Deploy your web app to aws

2. Git Pull1.SSH to you EC2 instance

ssh -i [email protected]

2.compute.amazonaws.com2.change user as root

sudo su -

Page 5: Deploy your web app to aws

2. Git Pull - continue3.change directory to web root

cd /var/www/linktrackr4.run git pull

git pull origin master

Page 6: Deploy your web app to aws

3. Git HookGithub has webhook. We can use this features to automate git pull process.