Skip to content

Commit 7d21fa6

Browse files
author
Dominik Matic
committed
improvements
1 parent bfa10c2 commit 7d21fa6

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

docs/ecommerce-applications/magento-2/how-to-configure-remote-storage-for-magento-2-x.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ If you're using Hypernode Object Storage or a different provider than AWS S3, yo
2929
```bash
3030
bin/magento setup:config:set \
3131
--remote-storage-driver="aws-s3" \
32-
--remote-storage-bucket="my_bucket_name" \
33-
--remote-storage-region="provider-region" \
32+
--remote-storage-bucket="main" \
33+
--remote-storage-region="EU" \
3434
--remote-storage-key="abcd1234" \
3535
--remote-storage-secret="1234abcd" \
3636
--remote-storage-endpoint="https://my-s3-compatible.endpoint.com"
3737
```
3838

39-
In the case of Hypernode Object Storage, the bucket name is `main`, and the region is `EU`. The other remaining parameters you can get by running `hypernode-object-storage info` with the `--with-credentials` flag:
39+
For Hypernode Object Storage, use `main` as the bucket name and `EU` as the region. You can retrieve the remaining parameters by running `hypernode-object-storage info --with-credentials`.
4040

4141
```console
4242
app@testapp ~ # hypernode-object-storage info --with-credentials
@@ -47,17 +47,7 @@ app@testapp ~ # hypernode-object-storage info --with-credentials
4747
+--------------------------------------+----------------+---------+-------------+-------------------------------------+---------------+---------------+
4848
```
4949

50-
So, in that case, the command would look like this:
51-
52-
```bash
53-
bin/magento setup:config:set \
54-
--remote-storage-driver="aws-s3" \
55-
--remote-storage-bucket="main" \
56-
--remote-storage-region="EU" \
57-
--remote-storage-key="abcd1234" \
58-
--remote-storage-secret="1234abcd" \
59-
--remote-storage-endpoint="https://example.ams.objectstore.eu"
60-
```
50+
If you're using a different object storage provider, replace these values with the relevant details from your provider.
6151

6252
**AWS S3**
6353

0 commit comments

Comments
 (0)