Skip to content

Commit c2d4655

Browse files
[Runpod] Make Community Cloud an "opt-in" (disable by default) #3531 (#3534)
1 parent 2acb6de commit c2d4655

2 files changed

Lines changed: 21 additions & 21 deletions

File tree

docs/docs/concepts/backends.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,10 +1105,27 @@ projects:
11051105
</div>
11061106

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

1111-
You can tell them apart by their regions.
1113+
<div editor-title="~/.dstack/server/config.yml">
1114+
1115+
```yaml
1116+
projects:
1117+
- name: main
1118+
backends:
1119+
- type: runpod
1120+
creds:
1121+
type: api_key
1122+
api_key: US9XTPDIV8AR42MMINY8TCKRB8S4E7LNRQ6CAUQ9
1123+
community_cloud: true
1124+
```
1125+
1126+
</div>
1127+
1128+
You can tell Secure Cloud and Community Cloud apart by their regions.
11121129
Secure Cloud regions contain datacenter IDs such as `CA-MTL-3`.
11131130
Community Cloud regions contain country codes such as `CA`.
11141131

@@ -1124,23 +1141,6 @@ projects:
11241141

11251142
</div>
11261143

1127-
If you don't want to use the Community Cloud, set `community_cloud: false` in the backend settings.
1128-
1129-
<div editor-title="~/.dstack/server/config.yml">
1130-
1131-
```yaml
1132-
projects:
1133-
- name: main
1134-
backends:
1135-
- type: runpod
1136-
creds:
1137-
type: api_key
1138-
api_key: US9XTPDIV8AR42MMINY8TCKRB8S4E7LNRQ6CAUQ9
1139-
community_cloud: false
1140-
```
1141-
1142-
</div>
1143-
11441144
### Vast.ai
11451145

11461146
Log into your [Vast.ai](https://cloud.vast.ai/) account, click Account in the sidebar, and copy your

src/dstack/_internal/core/backends/runpod/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

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

7-
RUNPOD_COMMUNITY_CLOUD_DEFAULT = True
7+
RUNPOD_COMMUNITY_CLOUD_DEFAULT = False
88

99

1010
class RunpodAPIKeyCreds(CoreModel):

0 commit comments

Comments
 (0)