MEDIUM
Source
CloudSploit
ID
ec2-instance-key-based-login

EC2 Instance Key Based Login

Ensures EC2 instances have associated keys for password-less SSH login

AWS allows EC2 instances to be launched with a specified PEM key for SSH login which should be used instead of user and password login.

Ensure each EC2 instance has an associated SSH key and disable password login.