I want to use user data to run a script on an AWS Deep Learning Base AMI whenever the instance is started. For the following user data, a testfile.txt file is c
testfile.txt