Tento acessar a instancia pelo console da AWS e me restorna o seguinte erro: There was a problem setting up the instance connection An error occurred and we were unable to connect or stay connected to your instance. If this instance has just started up, wait a few minutes and try again.
Quando tento acessar pelo CMD retorna o este erro: PS C:\aws> ssh -i "aws-matheus.pem" ec2-user@ec2-18-230-108-171.sa-east-1.compute.amazonaws.com ssh: connect to host ec2-18-230-108-171.sa-east-1.compute.amazonaws.com port 22: Connection refused