For Amazon Linux 2 or the Amazon Linux AMI, the username is ec2-user.
For a Centos AMI, the username is centos.
For a Debian AMI, the username is admin or root.
For a Fedora AMI, the username is ec2-user or fedora.
For an RHEL AMI, the username is ec2-user or root.
For a SUSE AMI, the username is ec2-user or root.
For an Ubuntu AMI, the