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

demandé il y a 5 ans349 vues
1 réponse
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
répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions