Static web server - toge510/aws GitHub Wiki

- VPC
- Security Group ???????
- Key-Pair
- EC2
- ssh ec2-user@< DNS name >
- install nginx
sudo amazon-linux-extras install nginx1 -y sudo systemctl enable --now nginx
- Target Group
- target type: instance
- select target instance
- instance port: 80
- ELB
- check with editing
/usr/share/nginx/html/index.html
file.
- check with editing
- Route53
- host zone
- record
- endpoint: ALB
nslookup -type=NS toge510test.site