def METHOD_NAME(self, resource, worker_prefix, queue_name, task_id):
    """Creates a new worker for clearml.
    First, create an instance in the cloud and install some required packages.
    Then, define clearml-agent environment variables and run clearml-agent for the specified queue.
    NOTE: - Will wait until instance is running
          - This implementation assumes the instance image already has docker installed
    :param dict resource: resource configuration, as defined in BUDGET and QUEUES.
    :param str worker_prefix: worker name without instance_id
    :param str queue_name: clearml queue to listen to
    :param str task_id: Task ID to restart
    """