create hadoop config based on ec2 data