EC2 instance my quickstart of setting up web server
When setting up EC2 instance, these bad boys are really good for setting up http server by placing it in the user data sections.
sudo yum update -y
sudo yum install -y httpd
sudo systemctl start httpd
sudo systemctl enable httpd
sudo cat "<h1>hello there! </h1>" > /var/www/html/index.html
Comments