aws cli
-
AWS S3 이용etc 2024. 7. 17. 13:21
1. AWS CLI 설치 - sudo dnf install awscli2. AWS CLI 설정 - aws configure --> 을 입력합니다. (Console IAM 탭에서 CLI용 계정 생성)AWS Access Key ID : ***Secret Access Key, : ***region : ex) ap-northeast-2Default output format : json, table 등3. S3 명령어- 버킷 리스트 확인--> aws s3 ls- 파일 업로드--> aws s3 cp localfile.txt s3://hy-wms-dev- 파일 다운로드--> aws s3 cp s3://hy-wms-dev/remote_file.txt local_file.txt