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.

已提问 5 年前487 查看次数
1 回答
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

已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则