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

質問済み 5年前349ビュー
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
回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン