1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello.
Are you using VPC endpoints to access S3?
If you are using a VPC endpoint, try configuring the VPC endpoint policy to allow connection to the S3 bucket that is the Amazon Linux 2 repository.
https://repost.aws/knowledge-center/ec2-troubleshoot-yum-errors-al1-al2
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 8 mois
I don't think i'm using endpoint to access S3, i don't remember configuring it, i'm using a network gateway.
By the way, it seems that you are accessing an S3 bucket in eu-west3, but does it match the region where EC2 is running? If they do not match, try changing the region listed in the file below to the region where EC2 is running.
This is already "amazonlinux-2-repos-eu-west-3.s3.dualstack" in "/etc/yum/vars/amazonlinux"