# Launching Serverless Tasks

### ALB Mode

* Navigate to **Compute → Serverless** in the left menu.
* Click the **Deploy** button in the top-right corner to start the deployment wizard.

<figure><img src="/files/fzCgKr7rliDJMm4B30Mb" alt=""><figcaption></figcaption></figure>

* In the configuration form:
  * Fill in all required fields (marked with \*)
  * Optionally set additional parameters for custom needs
  * Click **Add GPU** to select the GPU type for your workload

{% hint style="warning" %}
**You should put your service port in the HTTP Port field. The worker will be in Running status only when the port is ready.**
{% endhint %}

<figure><img src="/files/zWsFTyAV3IQj8xnwGqVL" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="success" %}
**Recommendation:** choose GPUs from multiple regions to maximize redundancy and disaster recovery
{% endhint %}

<figure><img src="/files/peWyObtFW4H853lHWVF4" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/x0nMJxyNXdjPUBUKF3lc" alt="" width="375"><figcaption></figcaption></figure>

* Click **Deploy** to launch your serverless task.

<figure><img src="/files/lBSG3h45ziYmclzdeGnI" alt=""><figcaption></figcaption></figure>

### Queue Mode

{% hint style="warning" %}
You should put the port used for your service health check in the HTTP Port field. The worker will be in Running status only when the port is ready.
{% endhint %}

<figure><img src="/files/vXsX8SGVZ9OWSqy9uZf4" alt="" width="375"><figcaption></figcaption></figure>

### Custom Mode

Similarly to the ALB mode and Queue mode, you can choose Custom mode to hook up your serverless task with your own infrastructure (e.g. API Gateway, Queue)

<figure><img src="/files/ERiDlsULDfhETrJl9xix" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yottalabs.ai/products/serverless/launching-serverless-tasks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
