aws cli setup

install

as root

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
./aws/install

as user

which aws
aws --version
aws configure

usage

aws s3 --endpoint-url=https://storage.yandexcloud.net ls s3://BUCKET/FOLDER

troubleshooting

ImportError: cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_'

==> downgrade python module

pip install "urllib3<2"

resources

https://aws.amazon.com/cli/

https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

ydb

https://yandex.cloud/en-ru/docs/ydb/docapi/tools/aws-setup

s3

https://yandex.cloud/en/docs/storage/tools/aws-cli

https://docs.aws.amazon.com/cli/latest/reference/s3/ls.html

troubles

https://stackoverflow.com/questions/76414514/cannot-import-name-default-ciphers-from-urllib3-util-ssl-on-aws-lambda-us


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun