Table of Contents
This package provides a unified command line interface to Amazon Web Services.
- Version: 2 (2.4.0)
- Added: February, 2020
- Updated: November, 2021
See which versions of awscli are available:
$ module avail awscli
Load one version into your environment and run it:
$ module load awscli/2 $ aws --version aws-cli/2.4.0 Python/3.8.8 Linux/3.10.0-1160.42.2.el7.x86_64 exe/x86_64.centos.7 prompt/off
Notes from the sysadmin during installation:
$ cd /tmp $ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.4.0.zip" -o "awscliv2.zip" $ unzip awscliv2.zip $ sudo mkdir -p /export/apps/awscli/v2 $ sudo chown aorth /export/apps/awscli/v2 # install will use the v2 directory... $ ./aws/install --install-dir /export/apps/awscli $ sudo chown -R root:root /export/apps/awscli/v2
Note: As of version 2 Amazon has switched from a Python package to a static binary that seems to include its own Python etc. Their installer is annoying as it tries to create directories, make symlinks, manage versions, etc. My strategy is to create a v2 directory and let it do what it wants there (non-root) and then keep the environment module always pointing to the "current" link.
awscli-software.txt · Last modified: 2021/11/22 13:26 by aorth