def fit_deploy(model, data, instance_count: int = 1, instance_type = "ml.t2.medium"):
    """Fit and deploy a Sagemaker model with default settings
    Args:
         model: Instantiated AWS model
         data: AWS record_set
         instance_count (int): number of Sagemaker instances for model deployment
         instance_type: Type of AWS Sagemaker instance.
     Return:
         Deployed model instance
    """
    model.fit(data)
    deployed_model = model.deploy(initial_instance_count = instance_count,instance_type = instance_type)
    return deployed_model