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

已提问 4 年前336 查看次数
1 回答
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
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则