Sunday, December 17, 2017

AWS CLI installation procedure in centos/ RHEL

1)  Make sure you have the epel repository installed
sudo yum install -y epel-release 

2)  Install needed packages
sudo yum install -y python2-pip

3)  Install awscli
sudo yum install -y awscli

4) Configure awscli
aws configure --profile <profile_name>

4) Configure awscli.
If you do not add --profile <profile_name>, it will use the default profile.

aws configure --profile <profile_name>

Using the --profile allows you to create profiles for other accounts using different keys.
You can also create profiles for different regions.

No comments:

Post a Comment

Apache Airflow notes