AWS CLI is a powerful tool from Amazon and it can be used with the Storage Made Easy File Fabric Universal S3 API which we call CloudS3. The AWS CLI can be installed on Linux, Windows, or Mac Operating Systems and this guide will step you through how to do that on each of these operating systems.
AWS CLI requires Python 2.6.5+ or Python 3.3+. PIP is the easiest way to install AWS CLI and keep it up to date.
This article will favor Python 3 installations.
Redhat based distributions including RHEL, CentOS and Oracle Enterprise Linux require the Extra packages for Enterprise Linux Repo to be enabled.
Run the following to enable this repo:
CentOS/RHEL/Oracle 6: sudo rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm CentOS/RHEL/Oracle 7: sudo rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Next install Python PIP and AWSCLI.
CentOS/RHEL/Oracle 6 & 7: sudo yum install -y python34 python34-setuptools sudo easy_install-3.4 pip sudo pip3 install awscli Ubuntu 14.04 & 16.04 or later: sudo apt install -y python3-pip sudo pip3 install --upgrade pip sudo pip3 install awscli
OS X Installation
OS X ships with Python 2.X. Insure your Mac meets the minimum Python version version of 2.6.5 with the following command:
$ python --version Python 2.7.10
sudo easy_install pip
Install AWS CLI:
Before El Capitan: sudo pip install awscli El Capitan and above: sudo pip install awscli --ignore-installed six
Download Python for Windows from: https://www.python.org/downloads/windows/
Download the latest Python 3 installable package:
Run the executable and select the checkbox for “Add Python 3.X to PATH” before Clicking “Install Now”
Once installed open a command prompt and run:
pip3 install awscli
Now that AWS CLI is installed the version of AWS CLI, Python, and the Boto Library can be checked with the following:
aws --version aws-cli/1.11.178 Python/3.4.5 Linux/4.4.0-97-generic botocore/1.7.36
Next configure AWS CLI to work with the Storage Made Easy File fabric:
Latest posts by Douglas Soltesz (see all)
- Securing the Enterprise File Fabric with Free Let’s Encrypt Certificates - March 18, 2019
- How to discover PII Data on any local or remote Storage - January 22, 2018