Linux aws ec2 and Ubuntu t2.micro instances failed to update and install any software

0

I have launched today two Linux ec2 t2.micro instances and one Ubuntu t2.micro instances in us-west-2 region. All there did not either update the software or install java-11-openjdk. I have sent the complain to aws and they just gave me a like to the aws re:Post site. It was not my problem. I launched dozen of ec2 instances before and everything was OK. My home network was working fine. I was connected to the instances. The inbound and outbound security rules were set to accept HTTP traffic (TCP port 80 was open). I have attached a screenshot of the Ubuntu aws ec2, that failed to connect to archive.ubunty.com:80 and can not connet to security.ubuntu.com:80

1개 답변
0

Please make sure of below 2 things. First of all you need confirm if you have launched EC2 instances in public or private subnet ? If its in public subnet, verify route table associated with the subnet has route towards Internet Gateway. Destination Target 0.0.0.0/0 igw-id If it is in private subnet then make sure the route table associated with the subnet has route towards NAT Gateway.

profile picture
답변함 2년 전

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

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

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