EC2 Instance suddenly cannot connect to Internet

0

Need help on my Instance. My instance suddenly cannot connect to the internet, but can do ping to google. If you ask how about the VPC or Network configuration, the VPC itself used in different EC2 instance and the instance can connect to the Internet.

The pic below is screen shot for apt update apt update failed

The pic below is screen shot for ping to google Enter image description here

Thank you.

1 Answer
0

Have you taken a look at this troubleshooting guide - https://aws.amazon.com/premiumsupport/knowledge-center/ec2-connect-internet-gateway/#:~:text=To%20troubleshoot%20why%20your%20Amazon,isn't%20blocking%20the%20access.

If it still does not work, you may have to enable VPC Flow logs in your VPC to determine the root cause - https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html

profile pictureAWS
EXPERT
answered a year ago
  • Hi, currently I have no issue with the VPC, SecurityGroup or Route, since the VPC is used in different EC2 instance and running without issue with the internet. And the firewall inside the server is currently disabled

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions