You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/self-hosted/external-services/object-storage.mdx
+28-4Lines changed: 28 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,24 @@ By default, Sourcegraph will use a `sourcegraph/blobstore` server bundled with t
4
4
5
5
You can alternatively configure your instance to instead store this data in an S3 or GCS bucket. Doing so may decrease your hosting costs as persistent volumes are often more expensive than the same storage space in an object store service.
6
6
7
+
<Callouttype="info">
8
+
Starting in [Sourcegraph 7.2](https://sourcegraph.com/changelog/releases/7.2), new instances can configure only the
9
+
[`sourcegraph` bucket](#sourcegraph-bucket), and Sourcegraph will use that
10
+
single bucket for all features. If a separate bucket is needed for Code Graph
11
+
Indexes or Search Job Results, that can still be configured, but we recommend
12
+
using one bucket.
13
+
</Callout>
14
+
15
+
<aid="sourcegraph-bucket" />
16
+
7
17
## `sourcegraph` bucket
8
18
9
19
<Callouttype="warning">
10
-
Starting in Sourcegraph 7.2, self-hosted Sourcegraph instances using S3 or
20
+
Starting in [Sourcegraph 7.2](https://sourcegraph.com/changelog/releases/7.2), self-hosted Sourcegraph instances using S3 or
11
21
GCS object storage should now provision an additional bucket named
12
-
`sourcegraph`. Sourcegraph currently reports a warning when this bucket is
13
-
not present, and it will become required for new features in a future
14
-
release. No action is required if you are using the default
22
+
[`sourcegraph`](#sourcegraph-bucket). Sourcegraph currently reports a warning
23
+
when this bucket is not present, and it will become required for new features
24
+
in a future release. No action is required if you are using the default
15
25
`sourcegraph/blobstore`.
16
26
</Callout>
17
27
@@ -58,6 +68,13 @@ If you would like to allow your Sourcegraph instance to manage the target bucket
58
68
59
69
To target a managed object storage service for storing [code graph index uploads](../../code-navigation/precise-code-navigation), you will need to set a handful of environment variables for configuration and authentication to the target service.
60
70
71
+
<Callouttype="info">
72
+
Starting in [Sourcegraph 7.2](https://sourcegraph.com/changelog/releases/7.2), new instances can configure only the
73
+
[`sourcegraph` bucket](#sourcegraph-bucket), and Sourcegraph will use that
74
+
single bucket for all features. If a separate bucket is needed for Code Graph
75
+
Indexes, that can still be configured, but we recommend using one bucket.
76
+
</Callout>
77
+
61
78
- If you are running a `sourcegraph/server` deployment, set the environment variables on the server container
62
79
- If you are running via Docker-compose or Kubernetes, set the environment variables on the `frontend`, `worker`, and `precise-code-intel-worker` containers
63
80
@@ -119,6 +136,13 @@ If you would like to allow your Sourcegraph instance to control the creation and
119
136
120
137
To target a third party managed object storage service for storing [search job results](../../code-search/types/search-jobs), you must set a handful of environment variables for configuration and authentication to the target service.
121
138
139
+
<Callouttype="info">
140
+
Starting in [Sourcegraph 7.2](https://sourcegraph.com/changelog/releases/7.2), new instances can configure only the
141
+
[`sourcegraph` bucket](#sourcegraph-bucket), and Sourcegraph will use that
142
+
single bucket for all features. If a separate bucket is needed for Search Job
143
+
Results, that can still be configured, but we recommend using one bucket.
144
+
</Callout>
145
+
122
146
- If you are running a `sourcegraph/server` deployment, set the environment variables on the server container
123
147
- If you are running via Docker-compose or Kubernetes, set the environment variables on the `frontend` and `worker` containers
0 commit comments