😎Deploy Web Content to Lab

Check Default Web Display

Search for the ELB Domain address in the browser

ELB-LabASG-699876940.us-east-1.elb.amazonaws.com

Remote EC2 Instance

Select one of the EC2s that has been created by AutoScalling, then remote using command prompt

cd Downloads/
ssh -i labsuser.pem ubuntu@<ip-pub-ec2-webASG>

Clone Source Code Web from Github

Search for the HTML source code from GitHub with the keywords "static web" or "pure HTML

sudo rm /var/www/html/index.html
sudo git clone https://github.com/ryzwan29/portfolio.git /var/www/html/
sudo systemctl restart apache2.service

Check New Website Display

Last updated