Iam User 생성 : IAM > User
1. IAM 대시보드 이동
2. IAM 사용자 생성
3. 현재 계정에서 로그아웃하고 방금 생성한 사용자로 로그인 진행
4. 로그아웃을 다시 한 후 원래 유저로 다시 로그인
5. 생성했던 유저에 권한 추가
6. Testuser 권한 추가
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:*",
"s3-object-lambda:*"
],
"Resource": "*"
}
]
}
7. 로그아웃 후 Testuser로 재로그인
CLI 접근을 위한 Access key id, Secret access key 생성
1. 원래 계정으로 AWS 로그인
2. 윈도 cmd창에서 AWS CLI 접근
C:\Users\USER>aws configure
AWS Access Key ID []: 액세스키 값 입력
AWS Secret Access Key []: 비밀 액세스 키 값 입력
Default region name []: 계정 리전 입력
Default output format []: 파일 형식 입력 (ex.json)
C:\Users\USER>aws s3 ls
2024-01-08 22:11:52 testtestbucket0815
3. 다른 옵션 및 명령어 확인
aws — AWS CLI 2.15.8 Command Reference
Synopsis aws [options] [parameters] Use aws command help for information on a specific command. Use aws help topics to view a list of available help topics. The synopsis for each command shows its parameters and their usage. Optional parameters are shown i
awscli.amazonaws.com
AWS EC2 인스턴스 생성 및 연결 (SSH, PUTTY) (1) | 2024.01.08 |
---|---|
AWS 사용 접근 (0) | 2024.01.08 |
아주 간단한 AWS EC2 생성하기 (0) | 2024.01.08 |