Amazon Linux 2 limits remote access by using SSH key pairs and by disabling remote root login. Additionally, Amazon Linux 2 reduces the number of non-critical packages which are installed on an instance, limiting exposure to potential security vulnerabilities. Security updates rated "critical" or "important" are automatically applied on the initial boot.