switching to ec2 based server