git pull, ( ), cloud-init.
Verify AWS documents pass shell script instance with user data
This can be automated using ansible / saltstack , etc., but for testing you can manually load the script. In step 3, “Configure Instance” in “Preliminary Details”, select the “File” option and place the script below.

You can load your custom script there:
#!/bin/sh
echo "git pull or any other custom commands here"
nbari source
share