!/bin/bash
yum update -y
yum install -y httpd
service httpd start
You will have to update the security group to allow http traffic on port 80 – there is a default for it, and if you choose 0.0.0.0/0
!/bin/bash
yum update -y
yum install -y httpd
service httpd start
You will have to update the security group to allow http traffic on port 80 – there is a default for it, and if you choose 0.0.0.0/0