문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
aws:cli [2021/03/29 15:10] kwon37xi |
aws:cli [2022/01/12 13:58] (현재) kwon37xi [Configure/Profile] |
||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| ====== AWS CLI ====== | ====== AWS CLI ====== | ||
| * [[: | * [[: | ||
| + | * [[aws: | ||
| + | * [[https:// | ||
| ===== 설치 ===== | ===== 설치 ===== | ||
| * [[https:// | * [[https:// | ||
| + | ===== Configure/ | ||
| + | * [[aws: | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * '' | ||
| + | * '' | ||
| + | < | ||
| + | [default] | ||
| + | aws_access_key_id=AKIAIOSFODNN7EXAMPLE | ||
| + | aws_secret_access_key=EXAMPLEKEY | ||
| + | |||
| + | [user1] | ||
| + | aws_access_key_id=AKIAI44QH8DHBEXAMPLE | ||
| + | aws_secret_access_key=EXAMPLEKEY | ||
| + | </ | ||
| + | * '' | ||
| + | < | ||
| + | [default] | ||
| + | region=ap-northeast-2 | ||
| + | output=json | ||
| + | |||
| + | # 주의 profile 이 앞에 붙음 | ||
| + | [profile user1] | ||
| + | region=ap-northeast-2 | ||
| + | output=text | ||
| + | </ | ||
| + | * '' | ||
| + | * 환경변수 '' | ||
| 줄 14: | 줄 44: | ||
| # Name tag만 출력 | # Name tag만 출력 | ||
| aws ec2 describe-instances --region ap-northeast-2 --filters Name=network-interface.addresses.private-ip-address, | aws ec2 describe-instances --region ap-northeast-2 --filters Name=network-interface.addresses.private-ip-address, | ||
| - | |||
| </ | </ | ||
| 줄 30: | 줄 59: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| + | |||