Acessar a máquina
sudo chmod 400 [arquivo e diretório do seu PEM FILE].pem
ssh -i [arquivo e diretório do seu PEM FILE].pem ec2-user@[IP publico da sua maquina]
Preparar o servidor:
sudo yum install httpd
sudo touch /var/www/html/index.html
Página com hello world
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>