Default username for EC2 Instances

The default user name is determined by the AMI that was specified when we launch the instances. These are the commonly used AMIs along with the default user names.

Image Name User Name
Amazon Linux2/ Amazon Linux AMIec2-user
Ubuntu AMIubuntu
Centos AMIcentos
Debian AMIadmin
root
Fedora AMIec2-user
fedora
SUSE AMIec2-user
root
Othersec2-user
root
None of the Abovecheck with the AMI provider

Leave a Reply

Your email address will not be published. Required fields are marked *