Unable to access Internet from an EC2 instance

0

Hello,
My instance ID is: i-0e5a2c191d4ff1b02
This instance is in a public subnet in a custom VPC. The subnet is associated to the route table that has the route to Internet via Internet Gateway.
DNS resolution is working.

I am able to logon to the instance via SSH.

However, from the instance, outoging connections to the Internet is not working.

ping google.com
PING google.com (172.217.164.174) 56(84) bytes of data.
^C
--- google.com ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 6999ms

Can't connect to Yum repositories.

What could be the issue?

질문됨 5년 전239회 조회
2개 답변
0

I reviewed the networking configuration after having a cup of coffee.
Recently, I had accidentally removed the outgoing connections in the attached security groups. I undid the change and all is well.

답변함 5년 전
0

Hi sudheergavika,

I am glad that you have been able to solve the issue. Please let us know if you need any further help.

Regards,
awstomas

AWS
답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠