making ec2 and non ec2 node setup tasks