Unable to connect to instance

0

I created a new EC2 web instance.
I set the name tags, selected Amazon Linux, AmazonLinux 2023 AMI, specified 64 bit architecture, t2.micro as the instance type, allow HTTP traffic from the internet, and Launch Instance. The instance launches and is shown as running. However, when I take the IP address provides for the public instance and put HTTP:// in front of it I just get the error This site can't be reached. Have tried it in Chrome and Edge browser.
Apparently there is some step I'm missing that isn't in the directions.

feita há 4 meses255 visualizações
1 Resposta
0

Hello.

Have you installed and started a web server such as Apache on EC2?
If it is not installed or started, connect to EC2 via SSH and execute the following command.

sudo dnf install httpd -y
sudo systemctl start httpd
sudo systemctl enable httpd
profile picture
ESPECIALISTA
respondido há 4 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas