This is an old revision of the document!
back to : OS (Object Storage / S3)
AWS CLI S3
The AWS Command Line Interface (AWS CLI) is a unified tool to manage AWS services ( including AWS S3 ).
CeNT's Object Store implements the same protocol ( S3 ) that is why it is possible to use this tool.
install / update
Install and update process is described here : https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
In shared environments, like ``pier23``, ``jumphost-17`` where you do not have a root privileges install / update process is very similar, with exception that destination path where tool is installed need to be changed.
how to install awscli at jumphost-17
mkdir -p ~/soft/downloads cd -p ~/soft/downloads curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip ./aws/install -i ~/.local/aws-cli --bin-dir ~/.local/bin
remove temporary files
cd ~/soft/downloads rm -rf aws/ rm awscliv2.zip
Add to file `~/.bashrc` line if not present :
export PATH="$PATH:$HOME/.local/bin"
how to update awscli at jumphost-17
To update awscli tool do almost the same as described in “how to install awscli at jumphost-17” above.
Except instead of
./aws/install -i ~/.local/aws-cli --bin-dir ~/.local/bin
use command
./aws/install --update -i ~/.local/aws-cli --bin-dir ~/.local/bin
