diff --git a/docs/ecommerce-applications/magento-2/how-to-configure-remote-storage-for-magento-2-x.md b/docs/ecommerce-applications/magento-2/how-to-configure-remote-storage-for-magento-2-x.md index 3a528896..43efdd47 100644 --- a/docs/ecommerce-applications/magento-2/how-to-configure-remote-storage-for-magento-2-x.md +++ b/docs/ecommerce-applications/magento-2/how-to-configure-remote-storage-for-magento-2-x.md @@ -29,33 +29,37 @@ If you're using Hypernode Object Storage or a different provider than AWS S3, yo ```bash bin/magento setup:config:set \ --remote-storage-driver="aws-s3" \ - --remote-storage-bucket="my_bucket_name" \ - --remote-storage-region="provider-region" \ + --remote-storage-bucket="main" \ + --remote-storage-region="EU" \ --remote-storage-key="abcd1234" \ - --remote-storage-secret="abcd1234" \ + --remote-storage-secret="1234abcd" \ --remote-storage-endpoint="https://my-s3-compatible.endpoint.com" ``` -In the case of Hypernode Object Storage you can get the relevant information by running `hypernode-object-storage info` with the `--with-credentials` flag: +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`. ```console app@testapp ~ # hypernode-object-storage info --with-credentials +--------------------------------------+----------------+---------+-------------+-------------------------------------+---------------+---------------+ | UUID | Name | Plan | Hypernodes | Management URL | Access Key | Secret Key | +--------------------------------------+----------------+---------+-------------+-------------------------------------+---------------+---------------+ -| 12345678-9012-3456-b7e3-19ab43df4a23 | testappbucket1 | OS200GB | testapp | https://example.ams.objectstore.eu | abcd1234 | abcd1234 | +| 12345678-9012-3456-b7e3-19ab43df4a23 | testappbucket1 | OS200GB | testapp | https://example.ams.objectstore.eu | abcd1234 | 1234abcd | +--------------------------------------+----------------+---------+-------------+-------------------------------------+---------------+---------------+ ``` +If you're using a different object storage provider, replace these values with the relevant details from your provider. + **AWS S3** +If you're using an AWS S3 bucket, you only need your bucket name, AWS region, and access and secret keys. + ```bash bin/magento setup:config:set \ --remote-storage-driver="aws-s3" \ --remote-storage-bucket="my_bucket_name" \ --remote-storage-region="my-aws-region" \ --remote-storage-key="abcd1234" \ - --remote-storage-secret="abcd1234" + --remote-storage-secret="1234abcd" ``` ## Syncing the files (efficiently)