3 navsection: installguide
4 title: Configure S3 object storage
7 Copyright (C) The Arvados Authors. All rights reserved.
9 SPDX-License-Identifier: CC-BY-SA-3.0
12 Keepstore can store data in object storage compatible with the S3 API, such as Amazon S3, Google Cloud Storage, or Ceph RADOS.
14 Volumes are configured in the @Volumes@ section of the cluster configuration file.
16 {% include 'assign_volume_uuid' %}
18 <notextile><pre><code> Volumes:
19 <span class="userinput">ClusterID</span>-nyw5e-<span class="userinput">000000000000000</span>:
21 # This section determines which keepstore servers access the
22 # volume. In this example, keep0 has read/write access, and
23 # keep1 has read-only access.
25 # If the AccessViaHosts section is empty or omitted, all
26 # keepstore servers will have read/write access to the
28 "http://<span class="userinput">keep0.ClusterID.example.com</span>:25107/": {}
29 "http://<span class="userinput">keep1.ClusterID.example.com</span>:25107/": {ReadOnly: true}
31 Driver: <span class="userinput">S3</span>
34 Bucket: <span class="userinput">example-bucket-name</span>
36 # IAM role name to use when retrieving credentials from
37 # instance metadata. It can be omitted, in which case the
38 # role name itself will be retrieved from instance metadata
39 # -- but setting it explicitly may protect you from using
40 # the wrong credentials in the event of an
41 # installation/configuration error.
42 IAMRole: <span class="userinput">""</span>
44 # If you are not using an IAM role for authentication,
45 # specify access credentials here instead.
46 AccessKey: <span class="userinput">""</span>
47 SecretKey: <span class="userinput">""</span>
49 # Storage provider region. For Google Cloud Storage, use ""
51 Region: <span class="userinput">us-east-1a</span>
53 # Storage provider endpoint. For Amazon S3, use "" or
54 # omit. For Google Cloud Storage, use
55 # "https://storage.googleapis.com".
58 # Change to true if the region requires a LocationConstraint
60 LocationConstraint: false
62 # Requested page size for "list bucket contents" requests.
65 # Maximum time to wait while making the initial connection
66 # to the backend before failing the request.
69 # Maximum time to wait for a complete response from the
70 # backend before failing the request.
73 # Maximum eventual consistency latency
76 # How much replication is provided by the underlying bucket.
77 # This is used to inform replication decisions at the Keep
81 # If true, do not accept write or trash operations, even if
82 # AccessViaHosts.*.ReadOnly is false.
84 # If false or omitted, enable write access (subject to
85 # AccessViaHosts.*.ReadOnly, where applicable).
88 # Storage classes to associate with this volume. See "Storage
89 # classes" in the "Admin" section of doc.arvados.org.
91 </code></pre></notextile>