PHP CLI script to return AWS instance to state specified by snapshot