[PYTHON] AWS CLI installation procedure

Introduction

I got a lot of errors when using AWS CLI, and I got stuck, so make a note.

environment

AWS CLI installation


Install Python to install awscli via Python's package management tool.

$ brew install python

$ sudo easy_install pip

$ sudo pip install awscli

//Those who could not do it by the above method are as follows
$ sudo pip install awscli --upgrade --ignore-installed six

AWS CLI settings


//Set up AWS
$ aws configure

After entering the above command, enter the AWS access key and secret key, and then omit it.

pem file permissions

When connecting with ssh, I was angry that I did not have permission for the pem file, so the same person is as follows

$ chmod 600 hoge.pem

You can change hoge.pem arbitrarily and describe the path to the pem file.

that's all.

Recommended Posts

AWS CLI installation procedure
Pylearn 2 installation procedure
PostgreSQL 10.0 installation procedure
blockdiag installation procedure
[AWS] Summary of CLI installation error countermeasures
Linux mint installation procedure
django-debug-toolbar installation procedure memo
ubuntu20.04 + Geth installation procedure
Anaconda3 environment installation procedure
Scrapy environment installation procedure
OS X EI Capitan (10.11.6) AWS CLI installation error (python-dateutil)
Offline installation procedure for openpyxl
Python CMS Mezzanine installation procedure
CentOS 8 installation procedure (latest version)
Docker Easy Installation Procedure (CentOS)
Python 3.6 installation procedure [for Windows]
ubuntu 20.04 + VirtalBox installation procedure summary
OpenCV installation procedure on Raspberry Pi
Install AWS CLI v2 without sudo
PySpark 1.5.2 + Elasticsearch 2.1.0 Installation procedure and execution
Teamviewer for Linux installation procedure (CentOS)
Summary of Oracle Database XE installation procedure
Stories and solutions for AWS CLI updates
WSL2 (Windows Subsystem for Linux) installation procedure
I am making my own aws cli
(Command conversion) MFA authentication in AWS CLI
Deployment procedure on AWS ① Network environment settings
Python development server construction procedure (AWS + Anaconda)