Skip to content

Commit 192823b

Browse files
committed
Deploying to gh-pages from @ dstackai/dstack@e23783a 🚀
1 parent f5f5c17 commit 192823b

File tree

7 files changed

+215
-104
lines changed

7 files changed

+215
-104
lines changed

docs/concepts/backends/index.html

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,19 @@
861861
</span>
862862
</a>
863863

864+
</li>
865+
866+
<li class="md-nav__item">
867+
<a href="#nebius" class="md-nav__link">
868+
<span class="md-ellipsis">
869+
870+
<span class="md-typeset">
871+
Nebius
872+
</span>
873+
874+
</span>
875+
</a>
876+
864877
</li>
865878

866879
<li class="md-nav__item">
@@ -3845,6 +3858,19 @@
38453858
</span>
38463859
</a>
38473860

3861+
</li>
3862+
3863+
<li class="md-nav__item">
3864+
<a href="#nebius" class="md-nav__link">
3865+
<span class="md-ellipsis">
3866+
3867+
<span class="md-typeset">
3868+
Nebius
3869+
</span>
3870+
3871+
</span>
3872+
</a>
3873+
38483874
</li>
38493875

38503876
<li class="md-nav__item">
@@ -4549,6 +4575,48 @@ <h3 id="lambda">Lambda<a class="headerlink" href="#lambda" title="Permanent link
45494575

45504576
</div>
45514577

4578+
<h3 id="nebius">Nebius<a class="headerlink" href="#nebius" title="Permanent link">&para;</a></h3>
4579+
<p>Log into your <a href="https://console.eu.nebius.com/">Nebius AI Cloud <span class="twemoji external"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m11.93 5 2.83 2.83L5 17.59 6.42 19l9.76-9.75L19 12.07V5z"/></svg></span></a> account, navigate to Access, and select Service Accounts. Create a service account, add it to the editors group, and upload its authorized key.</p>
4580+
<p>Then configure the backend:</p>
4581+
<div editor-title="~/.dstack/server/config.yml">
4582+
4583+
<div class="highlight"><pre><span></span><code><span class="nt">projects</span><span class="p">:</span>
4584+
<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">main</span>
4585+
<span class="w"> </span><span class="nt">backends</span><span class="p">:</span>
4586+
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">type</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">nebius</span>
4587+
<span class="w"> </span><span class="nt">creds</span><span class="p">:</span>
4588+
<span class="w"> </span><span class="nt">type</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">service_account</span>
4589+
<span class="w"> </span><span class="nt">service_account_id</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">serviceaccount-e00dhnv9ftgb3cqmej</span>
4590+
<span class="w"> </span><span class="nt">public_key_id</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">publickey-e00ngaex668htswqy4</span>
4591+
<span class="w"> </span><span class="nt">private_key_file</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">~/path/to/key.pem</span>
4592+
</code></pre></div>
4593+
4594+
</div>
4595+
4596+
<details class="info">
4597+
<summary>Configuring in the UI</summary>
4598+
<p>If you are configuring the backend in the <code>dstack</code> UI, specify the contents of the private key file in <code>private_key_content</code>.</p>
4599+
<div editor-title="~/.dstack/server/config.yml">
4600+
<div class="highlight"><pre><span></span><code><span class="nt">type</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">nebius</span>
4601+
<span class="nt">creds</span><span class="p">:</span>
4602+
<span class="w"> </span><span class="nt">type</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">service_account</span>
4603+
<span class="w"> </span><span class="nt">service_account_id</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">serviceaccount-e00dhnv9ftgb3cqmej</span>
4604+
<span class="w"> </span><span class="nt">public_key_id</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">publickey-e00ngaex668htswqy4</span>
4605+
<span class="w"> </span><span class="nt">private_key_content</span><span class="p">:</span><span class="w"> </span><span class="p p-Indicator">|</span>
4606+
<span class="w"> </span><span class="no">-----BEGIN PRIVATE KEY-----</span>
4607+
<span class="w"> </span><span class="no">MIIJQQIBADANBgkqhkiG9w0BAQEFAASCCSswggknAgEAAoICAQChwQ5OOhy60N7m</span>
4608+
<span class="w"> </span><span class="no">cPx/9M0oRUyJdRRv2nCALbdU/wSDOo8o5N7sP63zCaxXPeKwLNEzneMd/U0gWSv2</span>
4609+
<span class="w"> </span><span class="no">[...]</span>
4610+
<span class="w"> </span><span class="no">8y1qYDPKQ8LR+DPCUmyhM2I8t6673Vz3GrtEjkLhgQo/KqOVb3yiBFVfkA5Jov5s</span>
4611+
<span class="w"> </span><span class="no">kO7y4T0ynsI8b6wlhCukQTLpIYJ5</span>
4612+
<span class="w"> </span><span class="no">-----END PRIVATE KEY-----</span>
4613+
</code></pre></div>
4614+
</div>
4615+
</details>
4616+
<div class="admonition info">
4617+
<p class="admonition-title">Python version</p>
4618+
<p>Nebius is only supported if <code>dstack server</code> is running on Python 3.10 or higher.</p>
4619+
</div>
45524620
<h3 id="runpod">RunPod<a class="headerlink" href="#runpod" title="Permanent link">&para;</a></h3>
45534621
<p>Log into your <a href="https://www.runpod.io/console/">RunPod <span class="twemoji external"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m11.93 5 2.83 2.83L5 17.59 6.42 19l9.76-9.75L19 12.07V5z"/></svg></span></a> console, click Settings in the sidebar, expand the <code>API Keys</code> section, and click
45544622
the button to create a Read &amp; Write key.</p>

docs/reference/api/python/index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6810,6 +6810,17 @@ <h3 id="dstack.api.BackendType"><code>dstack.api.BackendType</code><a class="hea
68106810
</div>
68116811
</td>
68126812
</tr>
6813+
<tr class="doc-section-item">
6814+
<td><code><span title="dstack.api.BackendType.NEBIUS">NEBIUS</span></code></td>
6815+
<td>
6816+
<code><span title="dstack._internal.core.models.backends.base.BackendType">BackendType</span></code>
6817+
</td>
6818+
<td>
6819+
<div class="doc-md-description">
6820+
<p>Nebius AI Cloud</p>
6821+
</div>
6822+
</td>
6823+
</tr>
68136824
<tr class="doc-section-item">
68146825
<td><code><span title="dstack.api.BackendType.OCI">OCI</span></code></td>
68156826
<td>

docs/reference/api/rest/openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/reference/server/config.yml/index.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1595,6 +1595,17 @@
15951595
</span>
15961596
</a>
15971597

1598+
</li>
1599+
1600+
<li class="md-nav__item">
1601+
<a href="#nebius" class="md-nav__link">
1602+
<span class="md-ellipsis">
1603+
1604+
nebius
1605+
1606+
</span>
1607+
</a>
1608+
15981609
</li>
15991610

16001611
<li class="md-nav__item">
@@ -3893,6 +3904,17 @@
38933904
</span>
38943905
</a>
38953906

3907+
</li>
3908+
3909+
<li class="md-nav__item">
3910+
<a href="#nebius" class="md-nav__link">
3911+
<span class="md-ellipsis">
3912+
3913+
nebius
3914+
3915+
</span>
3916+
</a>
3917+
38963918
</li>
38973919

38983920
<li class="md-nav__item">
@@ -4186,6 +4208,16 @@ <h6 class="reference-item" id="_creds"><a href="#lambda-creds"><code>creds</code
41864208
<h6 id="lambda-creds"><code>projects[n].backends[type=lambda].creds</code><a class="headerlink" href="#lambda-creds" title="Permanent link">&para;</a></h6>
41874209
<h6 class="reference-item" id="type"><code>type</code> - The type of credentials. Must be <code>api_key</code>.<a class="headerlink" href="#type" title="Permanent link">&para;</a></h6>
41884210
<h6 class="reference-item" id="api_key"><code>api_key</code> - The API key.<a class="headerlink" href="#api_key" title="Permanent link">&para;</a></h6>
4211+
<h5 id="nebius"><code>projects[n].backends[type=nebius]</code><a class="headerlink" href="#nebius" title="Permanent link">&para;</a></h5>
4212+
<h6 class="reference-item" id="type"><code>type</code> - The type of backend. Must be <code>nebius</code>.<a class="headerlink" href="#type" title="Permanent link">&para;</a></h6>
4213+
<h6 class="reference-item" id="regions"><code>regions</code> - (Optional) The list of Nebius regions. Omit to use all regions.<a class="headerlink" href="#regions" title="Permanent link">&para;</a></h6>
4214+
<h6 class="reference-item" id="creds"><code>creds</code> - The credentials.<a class="headerlink" href="#creds" title="Permanent link">&para;</a></h6>
4215+
<h6 id="nebius-creds"><code>projects[n].backends[type=nebius].creds</code><a class="headerlink" href="#nebius-creds" title="Permanent link">&para;</a></h6>
4216+
<h6 class="reference-item" id="type"><code>type</code> - The type of credentials. Must be <code>service_account</code>.<a class="headerlink" href="#type" title="Permanent link">&para;</a></h6>
4217+
<h6 class="reference-item" id="service_account_id"><code>service_account_id</code> - Service account ID.<a class="headerlink" href="#service_account_id" title="Permanent link">&para;</a></h6>
4218+
<h6 class="reference-item" id="public_key_id"><code>public_key_id</code> - ID of the service account public key.<a class="headerlink" href="#public_key_id" title="Permanent link">&para;</a></h6>
4219+
<h6 class="reference-item" id="private_key_file"><code>private_key_file</code> - (Optional) Path to the service account private key.<a class="headerlink" href="#private_key_file" title="Permanent link">&para;</a></h6>
4220+
<h6 class="reference-item" id="private_key_content"><code>private_key_content</code> - (Optional) Content of the service account private key. When configuring via <code>server/config.yml</code>, it's automatically filled from <code>private_key_file</code>. When configuring via UI, it has to be specified explicitly..<a class="headerlink" href="#private_key_content" title="Permanent link">&para;</a></h6>
41894221
<h5 id="runpod"><code>projects[n].backends[type=runpod]</code><a class="headerlink" href="#runpod" title="Permanent link">&para;</a></h5>
41904222
<h6 class="reference-item" id="regions"><code>regions</code> - (Optional) The list of RunPod regions. Omit to use all regions.<a class="headerlink" href="#regions" title="Permanent link">&para;</a></h6>
41914223
<h6 class="reference-item" id="community_cloud"><code>community_cloud</code> - (Optional) Whether Community Cloud offers can be suggested in addition to Secure Cloud. Defaults to <code>true</code>.<a class="headerlink" href="#community_cloud" title="Permanent link">&para;</a></h6>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)