yum fails on ecs ami

0

I have an instance on a public IP. This instance is running the latest ecs optimized AMI. The instance fails to run yum. It has the following error:

Loaded plugins: priorities, update-motd, upgrade-helper  
Could not retrieve mirrorlist http://repo.us-west-2.amazonaws.com/nightly/main/mirror.list error was  
14: HTTP Error 403 - Forbidden  

Even if I curl on my local computer at home:
curl -sL http://repo.us-west-2.amazonaws.com/nightly/main/mirror.list

From anywhere comes back as Forbidden. And yes, I can CURL https://www.google.com and ping 8.8.8.8 just fine on the instance itself. Just can't run yum to update and install packages.

All my ec2 linux ami's are failing to build

gefragt vor 5 Jahren353 Aufrufe
1 Antwort
0

We have identified an issue in ECS optimized AMI: amzn-ami-2018.03.20191014-amazon-ecs-optimized, where calls for yum update will fail. We have fixed this issue and released new AMIs. Please update to the latest ECS optimized AMI: amzn-ami-2018.03.20191016-amazon-ecs-optimized.

Sam-AWS
beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen