changes for ec2 server