configure for ec2-ubuntu