본문 바로가기
ops/aws

[Aws] ec2 리눅스 인스턴스 생성시 기본 유저 feat ubuntu

by seohan1010 2024. 5. 22.

 

 

 

 

 

 

인스턴스 선택 ---> Actions 클릭 ---> Connect 클릭

 

 

 

 

알마리눅스 9 이미지로 생성한 인스턴스는 root 유저로 접속 가능

 

 

 

 

 

Amazon linux는 ec2-user 유저가 생성이 된다. 

 

 

 

 

우분투로 이미지로 생성한 인스턴스는 여전히 ubuntu 유저로 접속 가능

---> ubuntu는 ubuntu 그대로 이다.

 

 

 

 

다른 리눅스 이미지에서 생성되는 기본 유저의 내용은 아래의 글을 참고

 

 

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html

 

Troubleshoot connecting to your instance - Amazon Elastic Compute Cloud

The device name might appear differently on your instance. For example, devices mounted as /dev/sdf might show up as /dev/xvdf on the instance. Some versions of Red Hat (or its variants, such as CentOS) might even increment the trailing letter by 4 charact

docs.aws.amazon.com