This guide provides instructions for setting up unattended security upgrades on Amazon Linux 2 with optional Email notifications.
To send notifications by Email, an SMTP server is required; more details below this page.
For unattended upgraded, use yum-cron as recommended in https://stackoverflow.com/a/46248515/3041544
Configure yum-cron: /etc/yum/yum-cron.conf
.
Relevant yum-cron config options are: