I use AWS CLI to run instances, and the command: aws ec2 run instances
what i expect is to pass in the script as user data. so I did: DATA = base64 ./my_script on my Mac OSX, and then pass DATA: aws ec2 run instances - user data $ DATA
BUT, nothing happened after starting the instance
So how should I do this?
Thanks!!
command-line-interface amazon-web-services
Edward
source share