#!/bin/bash
yum update -y
yum install -y httpd
systemctl start httpd
systemctl enable httpd
echo "hello from $(hostname -f)" > /var/www/html/index.html
#https://aws.amazon.com/premiumsupport/knowledge-center/ec2-enable-epel/
sudo amazon-linux-extras install epel -y
sudo yum install -y tinyproxy
vim /etc/tinyproxy/tinyproxy.conf
#Allow
Log /tmp
Pid /tmp
sudo tinyproxy -d -c /etc/tinyproxy/tinyproxy.conf
https://dev.to/viralsangani/be-anonymous-create-your-own-proxy-server-with-aws-ec2-2k63