Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions docs/docs/concepts/backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -1105,10 +1105,27 @@ projects:
</div>

??? info "Community Cloud"
By default, `dstack` considers instance offers from both the Secure Cloud and the
[Community Cloud](https://docs.runpod.io/references/faq/#secure-cloud-vs-community-cloud).
By default, `dstack` considers instance offers only from the Secure Cloud.
To also include the
[Community Cloud](https://docs.runpod.io/references/faq/#secure-cloud-vs-community-cloud),
set `community_cloud: true` in the backend settings.

You can tell them apart by their regions.
<div editor-title="~/.dstack/server/config.yml">

```yaml
projects:
- name: main
backends:
- type: runpod
creds:
type: api_key
api_key: US9XTPDIV8AR42MMINY8TCKRB8S4E7LNRQ6CAUQ9
community_cloud: true
```

</div>

You can tell Secure Cloud and Community Cloud apart by their regions.
Secure Cloud regions contain datacenter IDs such as `CA-MTL-3`.
Community Cloud regions contain country codes such as `CA`.

Expand All @@ -1124,23 +1141,6 @@ projects:

</div>

If you don't want to use the Community Cloud, set `community_cloud: false` in the backend settings.

<div editor-title="~/.dstack/server/config.yml">

```yaml
projects:
- name: main
backends:
- type: runpod
creds:
type: api_key
api_key: US9XTPDIV8AR42MMINY8TCKRB8S4E7LNRQ6CAUQ9
community_cloud: false
```

</div>

### Vast.ai

Log into your [Vast.ai](https://cloud.vast.ai/) account, click Account in the sidebar, and copy your
Expand Down
2 changes: 1 addition & 1 deletion src/dstack/_internal/core/backends/runpod/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from dstack._internal.core.models.common import CoreModel

RUNPOD_COMMUNITY_CLOUD_DEFAULT = True
RUNPOD_COMMUNITY_CLOUD_DEFAULT = False


class RunpodAPIKeyCreds(CoreModel):
Expand Down