728x90

AWS 액세스 방식은 3가지

1. 콘솔 (이메일 + 비밀번호 + @MFA)

2. CLI(Access Key)

3. SDK (Access Key)

관리 콘솔을 통해 엑세스 키 생성

유저는 자신의 엑세스 키를 관리

엑세스키와 비밀엑세스키

CLI (Command Line Interface)

모든 명령어가 aws로 실행

자동화 가능

CLI github.com/aws/aws-cli 참고 가능

SDK (Software Development Kit)

특정 언어 APIs

애플리케이션에 임베드

여러 언어 지원

IoT 지원

AWS CLI 설치

https://docs.aws.amazon.com/ko_kr/cli/latest/userguide/getting-started-install.html

[최신 버전의 AWS CLI설치 또는 업데이트 - AWS Command Line Interface

이전 버전에서 업데이트하는 경우 unzip 명령을 실행하면 기존 파일을 덮어쓸지 묻는 메시지가 표시됩니다. 스크립트 자동화와 같은 경우에 이러한 프롬프트를 건너뛰려면 unzip에 대한 -u 업데이

docs.aws.amazon.com](https://docs.aws.amazon.com/ko_kr/cli/latest/userguide/getting-started-install.html)

엑세스 키 만들기

콘솔 -> IAM -> USER -> 유저 클릭 -> security credentials -> Access Key

CLI 선택 확인 > 엑세스 키 생성

AWS CLI 구성

서울 리전 : ap-northeast-2

aws configure
AWS Access Key ID [None]: 
AWS Secret Access Key [None]: 
Default region name [None]: ap-northeast-2
Default output format [None]:

AWS user lists

aws iam list-users

{
    "Users": [
        {
            "Path": "/",
            "UserName": "TILAWS",
            "UserId": "",
            "Arn": "arn:aws:iam::533267005019:user/TILAWS",
            "CreateDate": "2024-05-14T06:29:53+00:00",
            "PasswordLastUsed": "2024-05-14T06:41:06+00:00"
        }
    ]
}
  • UserName : 유저 이름
  • UserId : 유저 Access ID
  • Arn : Amazon 리소스 이름
  • CreateDate : 생성일자
  • PasswordLastUsed : 마지막 비밀번호 사용 시기

CLOUD SHELL 사용가능 리전

https://docs.aws.amazon.com/cloudshell/latest/userguide/supported-aws-regions.html

 

Supported AWS Regions for AWS CloudShell - AWS CloudShell

Supported AWS Regions for AWS CloudShell This section covers the list of supported AWS Regions and Opt-in Regions for AWS CloudShell. For a list of AWS service endpoints and quotas for CloudShell, see the AWS CloudShell page in the Amazon Web Services Gene

docs.aws.amazon.com

 

728x90

'study > TIL' 카테고리의 다른 글

[TIL] 2024-05-21 AWS  (0) 2024.05.21
[TIL] 2024-05-17 AWS  (0) 2024.05.17
[TIL] 2024-05-16 AWS  (0) 2024.05.16
[TIL] 2024-05-14 AWS  (0) 2024.05.14
[TIL] 2024-05-13 AWS  (0) 2024.05.13

+ Recent posts