title: “What are the default usernames for Amazon EC2 Linux instances”
date: 2022-02-09T08:55:56
slug: what-are-the-default-usernames-for-amazon-ec2-linux-instances
For Amazon Linux 2 or the Amazon Linux AMI, the user name is ec2-user.
For a CentOS AMI, the user name is centos.
For a Debian AMI, the user name is admin.
For a Fedora AMI, the user name is ec2-user or fedora.
For a RHEL AMI, the user name is ec2-user or root.
For a SUSE AMI, the user name is ec2-user or root.
For an Ubuntu AMI, the user name is ubuntu.
