By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Unable to install services on my instance.

0

What am I doing wrong?

I could have swore I am doing it right.

[ec2-user@localhost ~]$ sudo yum install -y telnet-server

Amazon Linux 2023 repository 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'amazonlinux':

2 Answers
0

Hi, you can face such an error when your instance is private and the subnet of your instance is a public network. instance --> private(no public IP enabled) subnet --> public Solution: Make it the same, either privately or publicly.

answered 6 months ago
-1

Hi,

This seems to be a DNS error: your EC2 instance cannot access DNS servers to the resolve the name in questions to IP addresses.

2 possible main causes:

  • security group(s) or network ACLs barring access to DNS service (UDP 53)
  • internet access to reach the DNS servers not possible: so, either a routing table, a NAT (+ Internet) gateway missing in your VPC.

Please, check those elements!

Best,

Didier

profile pictureAWS
EXPERT
answered a year ago
  • I am not a network wizard. I have no idea how to check this or fix it.

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