-
-
Notifications
You must be signed in to change notification settings - Fork 223
Expand file tree
/
Copy pathconstants.tsx
More file actions
78 lines (76 loc) · 2.75 KB
/
constants.tsx
File metadata and controls
78 lines (76 loc) · 2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import React from 'react';
export const CONFIG_YAML_HELP_SKY = {
header: <h2>Backend config</h2>,
body: (
<>
<p>
The backend config is defined in the YAML format. It specifies the backend's <code>type</code> and settings,{' '}
such as <code>creds</code>, <code>regions</code>, and so on.
</p>
<h4>Marketplace</h4>
<p>
If you set <code>creds</code>'s <code>type</code> to <code>dstack</code>, you'll get compute from{' '}
<code>dstack</code>'s marketplace and will pay for it via your <code>dstack Sky</code> user billing. Example:
</p>
<p>
<pre>
type: aws{'\n'}
creds:{'\n'}
{' '}type: dstack{'\n'}
</pre>
</p>
<p>
You can see all supported backend types at the{' '}
<a href={'https://dstack.ai/docs/concepts/backends'} target={'_blank'}>
documentation
</a>
.
</p>
<h4>Your own cloud account</h4>
<p>
If you want to use your own cloud account, configure <code>creds</code> and other settings according to the{' '}
<a href={'https://dstack.ai/docs/concepts/backends'} target={'_blank'}>
documentation
</a>
. Example:
</p>
<p>
<pre>
type: aws{'\n'}
creds:{'\n'}
{' '}type: access_key{'\n'}
{' '}access_key: AIZKISCVKUK{'\n'}
{' '}secret_key: QSbmpqJIUBn1
</pre>
</p>
</>
),
};
export const CONFIG_YAML_HELP_ENTERPRISE = {
header: <h2>Backend config</h2>,
body: (
<>
<p>
The backend config is defined in the YAML format. It specifies the backend's <code>type</code> and settings,
such as <code>creds</code>, <code>regions</code>, and so on.
</p>
<p>Example:</p>
<p>
<pre>
type: aws{'\n'}
creds:{'\n'}
{' '}type: access_key{'\n'}
{' '}access_key: AIZKISCVKUK{'\n'}
{' '}secret_key: QSbmpqJIUBn1
</pre>
</p>
<p>
Each backend type may support different properties. See the{' '}
<a href={'https://dstack.ai/docs/concepts/backends'} target="_blank">
documentaiton
</a>{' '}
for more examples.
</p>
</>
),
};