adjust discovery.ec2 and related parameters