공식 Doc

CLI 설치

pip install awscli

로그인

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

버킷 리스트 조회

aws s3 ls <(옵션)특정 s3://bucket-name>

버킷으로부터 데이터 복사

aws s3 cp <source> <target> [--options]

[예시]
aws s3 cp s3://mlops-dev-workspace/afw/1051618982_1.jpg .

폴더를 복사하려면

aws s3 sync <source> <target> [--options]

[예시]
aws s3 sync s3://mlops-dev-workspace/afw/ ./afw