Issuing wget cannot fetch certbot-auto

I ran this command:

It produced this output:
Resolving (…, 2a04:4e42:1a::201
Connecting to (||:443… failed: Connection timed out.
Connecting to (|2a04:4e42:1a::201|:443… failed: Network is unreachable.

My web server is (include version):

The operating system my web server runs on is (include version):
Amazon Linux 2

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

How can I get cerbot-auto downloaded?

Does your networking work at all?

curl -I -m10
curl -I -m10

There seems to be no problem with the network connectivity and the Inbound Rules for the EC2 instance allow access from anywhere for both http and https.

Issuing curl -I -m10 returns the following:

HTTP/2 301

location :

content-type : text/html; charset=UTF-8

date : Tue, 01 Sep 2020 12:05:59 GMT

expires : Thu, 01 Oct 2020 12:05:59 GMT

cache-control : public, max-age=2592000

server : gws

content-length : 220

x-xss-protection : 0

x-frame-options : SAMEORIGIN

alt-svc : h3-29=":443"; ma=2592000,h3-27=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v=“46,43”

Something else I noticed is Amazon Linux 2 requires a different command to enable EPEL. However, upon issuing the command to enable it, which is recommended by AWS, I encounter the following error:

sudo yum install

Failed to set locale, defaulting to C

Loaded plugins: extras_suggestions, langpacks, priorities, update-motd

Cannot open: Skipping.

Error: Nothing to do

Researching more into this issue has revealed that the problem lies in the VPC of AWS and has probably nothing to do with Certbot.