- 最新
- 最多得票
- 最多評論
Hello, Greetings of the day!! Thank you for contacting AWS.
I understand you are getting the following error while installing updates on your EC2 instance via user-data script a stack
"Error: Failed to download metadata for repo 'epel': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried",
However, the updates are getting installed successfully while connecting to the instance via SSH. You believe that this could be an issue with internet connectivity during the execution of user-data script.
As per the details mentioned in your query, it seems that this could occur due to either DNS resolution issue or lack of internet connectivity. However, to better address the issue, we require details that are non-public information. Thus, I request you to kindly open a support case with AWS using the following link https://console.aws.amazon.com/support/home#/case/create
Thank you and have a nice day!!
相關內容
- 已提問 7 個月前
- 已提問 7 個月前