You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Hypernode Object Storage and other S3 compatible providers**
26
32
27
33
If you're using Hypernode Object Storage or a different provider than AWS S3, you need to specify the `--remote-storage-endpoint` option.
@@ -39,7 +45,7 @@ bin/magento setup:config:set \
39
45
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`.
40
46
41
47
```console
42
-
app@testapp ~ #hypernode-object-storage info --with-credentials
48
+
app@abcdef-example-magweb-cml:~$hypernode-object-storage info --with-credentials
Both methods are significantly faster than Magento’s built-in sync, as aws s3 sync handles uploads concurrently.
95
101
102
+
```{tip}
103
+
More information about the `hypernode-object-storage` commands can be found in the [Object Storage documentation](../../hypernode-platform/object-storage.md).
104
+
```
105
+
96
106
## The storage flag file in the bucket
97
107
98
108
Magento's S3 implementation creates a test file called `storage.flag`, which is basically created to test if the connection works. So this is not a magic file to mark anything ([source](https://github.com/magento/magento2/blob/6f4805f82bb7511f72935daa493d48ebda3d9039/app/code/Magento/AwsS3/Driver/AwsS3.php#L104)).
@@ -121,6 +131,12 @@ If you’re using Amazon S3, ensure that your S3 bucket policies are properly co
121
131
}
122
132
```
123
133
134
+
## Remote storage tweaks module
135
+
136
+
After configuring remote storage for Magento 2, you might run into some slower pages in the admin product grid. This is caused by an inefficient image loading mechanism found in the Magento core code. For now we have written a Magento 2 module to fix this performance problem.
137
+
138
+
You can find the module on [GitHub](https://github.com/ByteInternet/magento2-remote-storage-tweaks/) and [Packagist](https://packagist.org/packages/hypernode/magento2-remote-storage-tweaks).
@@ -95,6 +95,10 @@ Alternatively, you can use the AWS CLI directly:
95
95
aws s3 sync public/media/ s3://bucket_name/media/
96
96
```
97
97
98
+
```{tip}
99
+
More information about the `hypernode-object-storage` command can be found in the [Object Storage documentation](../../hypernode-platform/object-storage.md).
100
+
```
101
+
98
102
## Serving assets from your S3 bucket
99
103
100
104
To serve media assets directly from your S3 bucket, you need to adjust your nginx configuration.
0 commit comments