To be able to manage your AWS infrastructure through python you need to install boto3, which is python SDK for AWS. If you want to proceed with the installation step, you need to have python and pip installed already.
Prerequisites
- Amazon Linux 2
- sudo privileges
- Python installed
- Pip installed
Install Boto3 on Amazon Linux 2
Step 1. The installation goes through pip.
pip install boto3
Step 2. If you are using python3.
pip3 install boto3
Step 3. If that doesn’t work for some reason you can try the following.
python -m pip install boto3
or:
python3 -m pip install boto3
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.