Create an instance via EC2 console.
git clone https://github.com/creationix/nvm.git ~/.nvm
Detalied instructions here: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html#installation
Connect to the EC2 server on which you run Jupyter, then type:
pip install boto3
Step by step instructions here: https://medium.com/@alexjsanchez/python-3-notebooks-on-aws-ec2-in-15-mostly-easy-steps-2ec5e662c6c6
Only thing you'd like to change from the instruction above is, when you download Anaconda, instead of using the command written in the article above, check the latest download link through https://www.anaconda.com/download/#linux , and then:
wget https://repo.anaconda.com/archive/THE LATEST ONE.sh