for ec2 setting.