EC2 ubuntu instance not getting any updates or installing packages

0

Idk if i messed up smth on the routing tables or such but whatever i ask it just shows unable to fetch and cant install anything

1개 답변
1
수락된 답변

Sounds like you are able to log onto the node via SSH, but any efforts to get packages fail. Most of the time this is due to egress traffic not being able to get to the public internet.

You are on the right path to check routing, but often when this happens to me I leverage network reachability analyzer. Its super easy to use, and I find it's been an awesome tool to leverage where in the past you had to do many manual checks to perform the same.

Give it a try here. https://docs.aws.amazon.com/vpc/latest/reachability/getting-started.html

Let me know if you have any issues with this, or if it helps you then please accept my answer after you've tried it out - it would be much appreciated! Good luck :)

profile picture
D G
답변함 일 년 전
  • which path sources should i add, which ones are crucial to get analyzed, is there a certain one that will permanently resolve the issue? or do i try them all?

  • omg it worked, my outbound was the issue did the reachability and missed that there was no 0.0.0.0 on the rules, just added it and its working like charm, thankyou so much!

  • Give a peek to not just having 0.0.0.0 out... try seeking 80/443 to ANY... and even better leverage a Nat Gw to keep your private resources "more" private :) Glad you got it to work... cheers!

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

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

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

관련 콘텐츠