script to automate creating single node cluster on EC2