> For the complete documentation index, see [llms.txt](https://docs.yottalabs.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yottalabs.ai/products/serverless/launching-serverless-tasks.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
