[CentOS7] Install aws cli

install aws cli

--Download the installation script from the pip website

#Move
cd /var/tmp

#Download Install Script
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
sudo python get-pip.py

--Install awscli using pip

sudo pip install awscli

--Version confirmation

#Version confirmation
aws --version
aws-cli/1.18.128 Python/2.7.5 Linux/3.10.0-1127.19.1.el7.x86_64 botocore/1.17.51

--Aws command settings

aws configure
==========
AWS Access Key ID [None]: XXXXXXXXXXXXX
AWS Secret Access Key [None] : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Default region name [None] : xxxxxxxx
Default output format [None]: json
==========
AWS Access Key ID :access key
AWS Secret Access Key :Secret key
Default region name :Default region(reference: https://docs.aws.amazon.com/ja_jp/general/latest/gr/rande.html)
Default output format :Default format

Recommended Posts

[CentOS7] Install aws cli
Introducing AWS CLI to CentOS 7
AWS CLI install in Ubuntu 20.04
[CentOS7] Install aws cli regardless of python version
[CentOS] Install apache-loggen
Install Golang on CentOS 8
Install Vertica 10.0 on CentOS 6.10
Install PostgreSQL 12 on Centos8
Install nginx on centOS7
Install Python 3 on CentOS 7
Install kuromoji on CentOS7
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
Install jpndistrict on CentOS 7
Install Redmine 4.1.1 on CentOS 7
Smokeping Install on CentOS7
Install PostgreSQL 13 on CentOS 7.5
Network install CentOS 8 with Kickstart.
Install CentOS Stream8 in VirtualBox
Install OpenFOAM v2006 on CentOS
Install Jenkins on Docker's CentOS
Install Apache on CentOS on VirtualBox
Install docker on AWS EC2
Install Ruby 2.7 on CentOS 7 (SCL)
Install Docker on AWS Ubunt 20.04 LTS
Run AWS CLI commands in Ansible
Install AWS IoT Greengrass on Ubuntu
Install CentOS Stream 8 in Hyper-V environment
Install Java Open JDK 8 on CentOS 7
Run the AWS CLI on Docker
How to install MariaDB 10.4 on CentOS 8
Install apache 2.4.46 from source on CentOS7
Steps to install MySQL 8 on CentOS 8
Steps to install devtoolset-6 on CentOS 7
Install Java 9 on windows 10 and CentOS 7
Install samba4 from source code on CentOS8
Install the webmail client Rainloop on CentOS 8
How to install beta php8.0 on CentOS8
Install CentOS 7 on Raspberry pi 4 Model B
Install the IBM Cloud CLI in the container