How to deploy Magento 2.4 stack on a professional or enterprise platform ?

Build your environment

Once you built your environment, you'll need to contact us to get your Elasticsearch cluster on AWS.


Before requesting an Elasticsearch, please check in your global plan this has been included and check also that your environment is up and running.

Make a request on our Zendesk portal

Create a request on our Zendesk portal with these information:

  • Name of your project
  • Name of your environment
  • Version of Elasticsearch needed
  • Title: Magento 2.4 - Elasticsearch Cluster needed

When we'll receive these ticket, we'll create your cluster and send you all information (endpoint, login/password if needed).

Configure variables

You'll be able to add these information directly in your console using variables:

"app": {
"aws_es": {
"endpoint": "",
"username": "username",
"password": "xxxx"

These information will be available directly in all servers of you environment. 

Use the CLI to configure your Magento (blue=use your information, red=not mandatory if no login/password is needed):

bin/magento setup:install \
--db-host=$MYSQL_HOST \
--admin-firstname=admin \
--admin-lastname=admin \ \
--admin-user=admin \
--admin-password=$MYSQL_PASSWORD \
--language=en_US \
--currency=USD \
--timezone=America/Chicago \
--use-rewrites=1 \
--backend-frontname=admin \
--search-engine=elasticsearch7 \
--elasticsearch-host=localhost \
--elasticsearch-username=$AWS_ES_USERNAME \
--elasticsearch-port=8090 \
--elasticsearch-password=$AWS_ES_PASSWORD \
--elasticsearch-enable-auth=1 \
--base-url=https://xxx/ \


Was this article helpful?
0 out of 0 found this helpful