THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
I have put together a nifty script to quickly launch EC2 instances and configure them. It also makes a breeze to use GPU instances with docker and nvidia-docker.
Give it a try and modify to your needs: