add default ec2_endpoint to director and regitry