Patching with no internet - Linux 2

0

Hello all.

I couldn't find solid information on the AWS site, but I am making an assumption I want clarified on please.

I am deploying some Linux 2 Instances and understand they can be patched using Patch Manager. It appears that the standard repos are amazon based and accessible regardless of whether the instance has access to internet. Is this correct, or does the instance need access to internet to download patches, like any other machine ?

Many thanks.

asked 3 years ago41 views
1 Answer
0

Hi
According to this link,
https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-how-it-works-linux-rules.html
The AWS Systems Patch Manager will use one of these equivalent commands to patch Amazon Linux 2 depending on the security option:

sudo yum update-minimal --sec-severity=critical,important --bugfix
sudo yum update --security --bugfix

These commands will require Internet access to patch your EC2 Instance.

Hope this helps,
-randy

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions