- Install AWS CLI
pip3 install awscli --upgrade --user
# export PATH=~/.local/bin:$PATH (add into ~/.bashrc)
# source ~/.bashrc
- Configure the CLI
aws configure
Then input the access key, secret access key, region time (us-east-1
) and output format (json
).
- Download s3 objects, e.g.
aws s3 cp s3://xxxxxxx-us-east-1/files/file1.gz ./file1.gz