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` command can be found in the [Object Storage article](../../hypernode-platform/object-storage/getting-started-with-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 article](../../hypernode-platform/object-storage/getting-started-with-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.
Copy file name to clipboardExpand all lines: docs/hypernode-platform/autoscaling/how-to-enable-horizontal-autoscaling.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ The upgrade is effective as long the extra resources are needed and being used.
32
32
1. Toggle Horizontal autoscaling. This will enable the form to choose the thresholds and the applications you would like to autoscale with. You can choose the certain conditions when autoscaling should be initiated. By default we recommend when the load on the server is higher than 70 for more than 15 minutes
33
33
Note: You can also choose the specific time window in which autoscaling should be initiated, if you prefer not to autoscale 24/7. ( E.g. if you have a cron running at 4am that will increase the load on the server but you dont want that to trigger autoscaling, you can choose the autoscaling window to be 5AM-3AM. This will avoid autoscaling between 3AM-5AM)
1. Now click on applications to check if your Hypernode and all the applications on that Hypernode are eligibile for horizontal autoscaling. We have a list of requirements that your Hypernode and it's applications must meet for you to be able to enable horizontal autoscaling. You can see the list [here](https://www.hypernode.com/).
35
+
1. Now click on applications to check if your Hypernode and all the applications on that Hypernode are eligibile for horizontal autoscaling. We have a list of requirements that your Hypernode and it's applications must meet for you to be able to enable horizontal autoscaling. You can see the list [here](how-does-horizontal-autoscaling-work.md).
1. If an application is not supported, you can either unselect that application so that its not a part of horizontal autoscaling. Or you can update your application as required to make it eligible and re-run the checks.
38
38
1. After you have decided the thresholds and choosen the eligible applications, you can now click save changes at the top right corner. This will enable horizontal autoscaling, charge you for the autoscaling license and now your Hypernode will be monitored 24/7 against the conditions you have set.
Note: You can use one object storage across multiple Hypernodes. But you can only use one object storage space per Hypernode.
40
42
41
-
If you receive this error, please make sure to enable "Allow billing through CLI in the relevant Hypernode settings page"
42
-
43
-
```
44
-
You do not have permission to order object storage for this Hypernode. Please ask the Hypernode owner to enable 'Allow billing through the CLI' in the Control Panel settings or via the API
45
-
```
46
-
47
43
### Retrieve object storage
48
44
49
45
1. Run `hypernode-object-storage info`
50
46
1. If you want to retrieve your credentials for the workspace pass in the flag `--with-credentials`.
51
47
52
-
The output should look like this
48
+
The output should look like the following:
53
49
54
50
```console
55
-
app@testhypernode ~ # hypernode-object-storage info
56
-
51
+
app@abcdef-example-magweb-cmbl:~$ hypernode-object-storage info
You can use the credentials and the URL now to configure remote storage for your application with the help of [this document](../../ecommerce-applications/magento-2/how-to-configure-remote-storage-for-magento-2-x.md).
59
+
You can use the credentials and the URL now to configure remote storage for your application with the help of the following articles:
60
+
61
+
1.[How to configure remote storage for Magento 2.x](../../ecommerce-applications/magento-2/how-to-configure-remote-storage-for-magento-2-x.md)
62
+
1.[How to configure remote storage for Shopware 6.x](../../ecommerce-applications/shopware-6/how-to-configure-remote-storage-for-shopware-6-x.md)
65
63
66
64
### Cancel/Delete Object Storage
67
65
68
66
To cancel an Object Storage, you can ssh into the Hypernode that is linked to that Object Storage and run `hypernode-object-storage cancel`
69
67
70
-
Note: The cancellation will be in effect from the end of the month.
68
+
```{note}
69
+
The cancellation will be in effect from the end of the month.
71
70
Also if you change your mind or forgot to pull some data. It will still be available for 7 days after the cancellation. You can always reach out to the support team for help if that happens.
71
+
```
72
72
73
73
### Managing objects in object storage
74
74
75
75
You can manage your objects using the `hypernode-object-storage objects` subcommand.
76
76
It supports all common operations--listing, copying, moving, and deleting files--while also allowing you to sync files in the background and monitor the progress of an ongoing sync.
0 commit comments