Skip to content

Commit 0fcb723

Browse files
Non-AWS S3 documentation (#456)
* Non-AWS S3 Documentation * Spelling * Shorten tab name * Address feedback
1 parent 2cdf9cf commit 0fcb723

File tree

5 files changed

+42
-33
lines changed

5 files changed

+42
-33
lines changed

docs/deployment_guide/getting_started/configure_data.rst

Lines changed: 21 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
..
2-
SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -32,30 +32,26 @@ Workflow Logs
3232
Run the following commands to configure the workflow spec and log storage location in OSMO. Make sure to replace the placeholders with the actual values.
3333

3434
.. code-block:: bash
35-
:emphasize-lines: 2, 4, 5, 8
36-
37-
# URI of your s3 bucket e.g. s3://my_bucket
38-
$ export BACKEND_URI=...
39-
40-
$ export ACCESS_KEY_ID=...
41-
$ export ACCESS_KEY=...
42-
43-
# Bucket Region
44-
$ export REGION=...
4535
4636
$ cat << EOF > /tmp/workflow_log_config.json
4737
{
4838
"workflow_log": {
4939
"credential": {
50-
"endpoint": "'$BACKEND_URI'",
51-
"access_key_id": "'$ACCESS_KEY_ID'",
52-
"access_key": "'$ACCESS_KEY'",
53-
"region": "'$REGION'"
40+
"endpoint": "s3://my_bucket/workflows",
41+
"access_key_id": "EXAMPLE_ACCESS_KEY_ID",
42+
"access_key": "EXAMPLE_ACCESS_KEY",
43+
"region": "us-east-1",
44+
"override_url": "http://minio:9000" # Optional: HTTP endpoint for non-AWS S3
5445
}
5546
}
5647
}
5748
EOF
5849
50+
.. note::
51+
52+
``override_url`` is optional. Set it only when using non-AWS S3-compatible services
53+
(MinIO, Ceph, LocalStack). Leave it empty or omit it for standard AWS S3.
54+
5955
Then, update the workflow configuration using the OSMO CLI. Please make sure you're logged in to your OSMO instance before running the following command.
6056
6157
.. code-block:: bash
@@ -69,30 +65,26 @@ Workflow Data
6965
Configure the storage location for intermediate data that OSMO uses to pass outputs between workflow tasks. Replace the placeholders with your actual values.
7066
7167
.. code-block:: bash
72-
:emphasize-lines: 2, 4, 5, 8
73-
74-
# URI of your s3 bucket e.g. s3://my_bucket
75-
$ export BACKEND_URI=...
76-
77-
$ export ACCESS_KEY_ID=...
78-
$ export ACCESS_KEY=...
79-
80-
# Bucket Region
81-
$ export REGION=...
8268
8369
$ cat << EOF > /tmp/workflow_data_config.json
8470
{
8571
"workflow_data": {
8672
"credential": {
87-
"endpoint": "'$BACKEND_URI'",
88-
"access_key_id": "'$ACCESS_KEY_ID'",
89-
"access_key": "'$ACCESS_KEY'",
90-
"region": "'$REGION'"
73+
"endpoint": "s3://my_bucket/workflows",
74+
"access_key_id": "EXAMPLE_ACCESS_KEY_ID",
75+
"access_key": "EXAMPLE_ACCESS_KEY",
76+
"region": "us-east-1",
77+
"override_url": "http://minio:9000" # Optional: HTTP endpoint for non-AWS S3
9178
}
9279
}
9380
}
9481
EOF
9582
83+
.. note::
84+
85+
``override_url`` is optional. Set it only when using non-AWS S3-compatible services
86+
(MinIO, Ceph, LocalStack). Leave it empty or omit it for standard AWS S3.
87+
9688
Then, update the workflow data configuration using the OSMO CLI. Please make sure you're logged in to your OSMO instance before running the following command.
9789
9890
.. code-block:: bash

docs/deployment_guide/getting_started/create_storage/s3/index.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,12 @@ URIs are constructed as follows with examples for bucket name ``my_bucket``:
127127
s3://my_bucket
128128
129129
Follow :ref:`configure_data` to add the bucket to OSMO.
130+
131+
S3-Compatible Services
132+
======================
133+
134+
OSMO supports MinIO, Ceph, LocalStack, and S3 API-compatible services. Storage URIs will still use
135+
the same S3 URI format (``s3://<bucket>``). To connect OSMO to an S3-compatible service,
136+
set the ``override_url`` credential field to the service's HTTP endpoint (e.g., ``http://minio:9000``).
137+
138+
Follow :ref:`configure_data` for full credential setup instructions.

docs/spelling_wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ benchtop
3535
Bitnami
3636
boto
3737
botocore
38+
Ceph
3839
checkpointing
3940
Checkpointing
4041
cli

docs/user_guide/getting_started/credentials.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,19 +152,26 @@ To access your data storage within workflows, you'll need to set the appropriate
152152

153153
.. auto-include:: data_credentials_examples.in.rst
154154

155-
.. tab-item:: AWS S3
155+
.. tab-item:: S3 / S3-Compatible
156156

157-
To set a credential for S3, run the following command:
157+
To set a credential for S3 or S3-compatible storage, run the following command:
158158

159159
.. code-block:: bash
160160
161161
$ osmo credential set my-s3-cred \
162162
--type DATA \
163163
--payload \
164164
endpoint=s3://<bucket> \
165-
region=us-east-1 \
165+
region=<region> \
166166
access_key_id=<access_key_id> \
167167
access_key=<access_key> \
168+
override_url=<http_endpoint> # Optional: required for non-AWS S3
169+
170+
.. note::
171+
172+
``override_url`` is only required for non-AWS S3-compatible services such as MinIO, Ceph,
173+
and LocalStack. It specifies the HTTP endpoint of the service (e.g., ``http://minio:9000``).
174+
Omit it for standard AWS S3.
168175

169176
.. seealso::
170177

docs/user_guide/getting_started/supported_storage.in.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
SPDX-License-Identifier: Apache-2.0
1717
..
1818
19-
* `AWS S3 <https://aws.amazon.com/s3>`_
19+
* `S3-Compatible Storage <https://aws.amazon.com/s3>`_ (AWS S3, MinIO, LocalStack, and any S3 API-compatible services)
2020
* `GCP Google Storage <https://cloud.google.com/storage/docs/buckets>`_
2121
* `Azure Blob Storage <https://azure.microsoft.com/en-us/products/storage/blobs>`_
2222
* `Torch Object Storage <https://docs.byteplus.com/en/docs/tos>`_

0 commit comments

Comments
 (0)