Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to install and use aws cli and setup the user from the .csv file

$ sudo curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
$ sudo unzip awscliv2.zip
$ sudo ./aws/install
aws --version
//the expected result is same as "aws-cli/2.1.33 Python/3.8.8 Linux/5.4.0-70-generic exe/x86_64.ubuntu.20 prompt/off"
//for ubuntu 
$ sudo apt-get update
$ sudo apt-get install awscli -y
$ aws --version
$ aws --version
// for user from downloaded AWS IAM user .csv 
$ aws configure
//to test the connectivity we use
$ aws s3 ls
Source by linoxide.com #
 
PREVIOUS NEXT
Tagged: #install #aws #cli #setup #user #file
ADD COMMENT
Topic
Name
3+2 =