728x90
CLI Accesskey를 받은 후
# aws cli 세팅
aws configure
# aws 목록
aws ec2 describe-instances
# aws 인스턴스 목록
aws ec2 describe-instances --query 'Reservations[*].Instances[*].[InstanceId, State.Name, Tags[?Key==`Name`].Value | [0], PublicIpAddress, PrivateIpAddress, InstanceType, KeyName, Platform,InstanceType]' --output table
# aws 이름 찾기 findstr
aws ec2 describe-instances --query 'Reservations[*].Instances[*].[InstanceId, State.Name, Tags[?Key==`Name`].Value | [0], PublicIpAddress, PrivateIpAddress, InstanceType, KeyName, Platform,InstanceType]' --output table | findstr hyul
728x90
'Bootcamp > AWS' 카테고리의 다른 글
[AWS] k9s 설치 (0) | 2024.02.05 |
---|---|
[AWS] eks 사용 (1) | 2024.02.05 |
[AWS] MariaDB 설치 후 DBeaver 연결 (0) | 2024.01.29 |
[Sever] Web Was (0) | 2024.01.22 |
[AWS] key 설정 (0) | 2024.01.17 |