Skip to content

Commit 3b15e9d

Browse files
Merge pull request #350 from ByteInternet/add-clarity-to-magento2-os-doc
Add clarity and more information to setting up OS for magento 2
2 parents 631ef5d + 4095efe commit 3b15e9d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

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

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,37 @@ 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" \
35-
--remote-storage-secret="abcd1234" \
35+
--remote-storage-secret="1234abcd" \
3636
--remote-storage-endpoint="https://my-s3-compatible.endpoint.com"
3737
```
3838

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:
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
4343
+--------------------------------------+----------------+---------+-------------+-------------------------------------+---------------+---------------+
4444
| UUID | Name | Plan | Hypernodes | Management URL | Access Key | Secret Key |
4545
+--------------------------------------+----------------+---------+-------------+-------------------------------------+---------------+---------------+
46-
| 12345678-9012-3456-b7e3-19ab43df4a23 | testappbucket1 | OS200GB | testapp | https://example.ams.objectstore.eu | abcd1234 | abcd1234 |
46+
| 12345678-9012-3456-b7e3-19ab43df4a23 | testappbucket1 | OS200GB | testapp | https://example.ams.objectstore.eu | abcd1234 | 1234abcd |
4747
+--------------------------------------+----------------+---------+-------------+-------------------------------------+---------------+---------------+
4848
```
4949

50+
If you're using a different object storage provider, replace these values with the relevant details from your provider.
51+
5052
**AWS S3**
5153

54+
If you're using an AWS S3 bucket, you only need your bucket name, AWS region, and access and secret keys.
55+
5256
```bash
5357
bin/magento setup:config:set \
5458
--remote-storage-driver="aws-s3" \
5559
--remote-storage-bucket="my_bucket_name" \
5660
--remote-storage-region="my-aws-region" \
5761
--remote-storage-key="abcd1234" \
58-
--remote-storage-secret="abcd1234"
62+
--remote-storage-secret="1234abcd"
5963
```
6064

6165
## Syncing the files (efficiently)

0 commit comments

Comments
 (0)