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.

Prerequisite

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": "https://xxxx.es.amazonaws.com",
"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 \
--db-name=$ARTIFAKT_MYSQL_DATABASE_NAME \
--db-user=$ARTIFAKT_MYSQL_USER \
--db-password=$ARTIFAKT_MYSQL_PASSWORD \
--admin-firstname=admin \
--admin-lastname=admin \
--admin-email=admin@admin.com \
--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/ \
--base-url-secure=https://xxx/

 

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