CLOUD-322 fixed ec2template