Warning: this guide has not been updated since we migrated away from Theano/Lasagne, which happened a long time ago.
Use p2.xlarge
instance type and ami-e00a8180
AMI image. Details
Open ports 22
(ssh) and 80
(http) on your freshly created instance, then create a security group and attach it to your instance to get the ports open.
The instance you have created contains all you need: fresh versions of theano, lasagne, CUDA driver and cuDNN, just launch Jupyter and get your hands dirty:
$ sudo su
$ export THEANO_FLAGS='cuda.root=/usr/local/cuda,device=gpu,floatX=float32'
$ export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}}
$ jupyter notebook