Run the following command to check Python on your EC2 instance:
#Check the python version: python --version
Run the following command to check the AWS CLI on your EC2 instance:
#Check the AWS CLI version. aws --version
#Note that your linux kernel version may differ from the example. aws-cli/1.18.139 Python/3.6.12 Linux/4.14.193-113.317.amzn1.x86_64 botocore/1.17.62
Note: Make sure you have AWS CLI version 1.18.139 and python 3.6.12 before proceeding. If you do not have these versions, review Step 1 to ensure you have completed each command correctly.