When attempting to use yum update from the instance we receive the error:

Loaded plugins: fastestmirror, security

Determining fastest mirrors

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

Walkthrough Steps

Running this command will update the repo to use HTTP rather than HTTPS:

sudo sed -i “s/mirrorlist=https/mirrorlist=http/” /etc/yum.repos.d/epel.repo

That’s it!