Nginx – AWS: user data script for EC2 instance is not executing
I have a script for EC2 instance User Data. I verified after EC2 instance is READY #!/bin/bash yum update -y yum install nginx service nginx start echo '<h4> Welcome to AWS</h4>' >> /usr/share/nginx/html/index.html If I login into EC2 instance and…