@@ -22,35 +22,40 @@ This can be useful for many reasons, such as:
2222
2323Configuring Magento 2 to start storing files in your bucket is done using a single command.
2424
25- ** Hypernode Object Storage**
25+ ** Hypernode Object Storage and other S3 compatible providers **
2626
27- ``` bash
28- something something?
29- ```
30-
31- ** AWS S3**
27+ If you're using Hypernode Object Storage or a different provider than AWS S3, you need to specify the ` --remote-storage-endpoint ` option.
3228
3329``` bash
3430bin/magento setup:config:set \
3531 --remote-storage-driver=" aws-s3" \
3632 --remote-storage-bucket=" my_bucket_name" \
37- --remote-storage-region=" my-aws -region" \
33+ --remote-storage-region=" provider -region" \
3834 --remote-storage-key=" abcd1234" \
39- --remote-storage-secret=" abcd1234"
35+ --remote-storage-secret=" abcd1234" \
36+ --remote-storage-endpoint=" https://my-s3-compatible.endpoint.com"
4037```
4138
42- ** Other S3 compatible providers **
39+ In the case of Hypernode Object Storage you can get the relevant information by running ` hypernode-object-storage info ` with the ` --with-credentials ` flag:
4340
44- If you're using a different provider than AWS S3, you need to specify the ` --remote-storage-endpoint ` option.
41+ ``` console
42+ app@testapp ~ # hypernode-object-storage info --with-credentials
43+ +--------------------------------------+----------------+---------+-------------+-------------------------------------+---------------+---------------+
44+ | UUID | Name | Plan | Hypernodes | Management URL | Access Key | Secret Key |
45+ +--------------------------------------+----------------+---------+-------------+-------------------------------------+---------------+---------------+
46+ | 12345678-9012-3456-b7e3-19ab43df4a23 | testappbucket1 | OS200GB | testapp | https://example.ams.objectstore.eu | abcd1234 | abcd1234 |
47+ +--------------------------------------+----------------+---------+-------------+-------------------------------------+---------------+---------------+
48+ ```
49+
50+ ** AWS S3**
4551
4652``` bash
4753bin/magento setup:config:set \
4854 --remote-storage-driver=" aws-s3" \
4955 --remote-storage-bucket=" my_bucket_name" \
50- --remote-storage-region=" provider -region" \
56+ --remote-storage-region=" my-aws -region" \
5157 --remote-storage-key=" abcd1234" \
52- --remote-storage-secret=" abcd1234" \
53- --remote-storage-endpoint=" https://my-s3-compatible.endpoint.com"
58+ --remote-storage-secret=" abcd1234"
5459```
5560
5661## Syncing the files (efficiently)
@@ -61,7 +66,7 @@ Magento provides an official method for syncing files using the following comman
6166bin/magento remote-storage:sync
6267```
6368
64- However, for significantly improved performance, you can use the following alternative:
69+ However, for better performance, you can use the following alternative:
6570
6671``` bash
6772hypernode-object-storage objects sync pub/media/ s3://my_bucket_name/media/
0 commit comments