This is a user-data script used to automate httpd installation on Amazon EC2 instance This script works best on Amazon Linux2 AMI