I do it with crontab.
Edit your crontab with this command:
And add this line to the bottom
@reboot cd /home/ubuntu; source ~/.bashrc; /home/ubuntu/anaconda2/bin/jupyter notebook
Save, quit, and reboot. with
Note: you get charged a full hour every time you start an AWS instance. I don't think you get charged for just doing a reboot.