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.
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.
Comments
Post a Comment