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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南