I have a script called test.sh that looks like this,
test.sh
#!/bin/bash gcloud compute instances start node-1 gcloud compute instances attach-disk node