Static web server - toge510/aws GitHub Wiki

Screenshot 2023-11-10 at 16 52 52
  • VPC resource_map
  • 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.
  • Route53
    • host zone
    • record
    • endpoint: ALB
    • nslookup -type=NS toge510test.site
⚠️ **GitHub.com Fallback** ⚠️