But I'm getting issue that bin/elasticsearch-plugin command is not found. I've checked that this ES installment doesn't provide elasticsearch-plugin in bin directory.
Could you please advise how to resolve that issue?
Elasticsearch from the Azure Marketplace uses the Debian package to install Elasticsearch. To install the repository-azure plugin would need to use the following command on each Elasticsearch node:
az login
az account set --subscription "<subscription id>"
#create the resource group for a storage account
az group create --name "<storage rg>" --location "<location>"
# create the storage account for snapshots
az storage account create -n "<storage name>" -g "<storage rg>" -l "<location>" --sku Standard_LRS
# create the resource group for Elastic stack
az group create --name "<name>" --location "<location>"
template_base_uri=https://raw.githubusercontent.com/elastic/azure-marketplace
template_version=7.4.0
# deploy Elastic stack
az group deployment create \
--resource-group "<name>" \
--template-uri $template_base_uri/$template_version/src/mainTemplate.json \
--parameters _artifactsLocation=$template_base_uri/$template_version/src/ \
esVersion=7.4.0 esClusterName=elasticsearch \
vmDataDiskCount=1 dataNodesAreMasterEligible=Yes \
adminUsername=russ adminPassword=Password1234 \
securityBootstrapPassword=bootstrapPassword123 \
securityAdminPassword=adminPassword123 \
securityKibanaPassword=kibanaPassword123 \
securityLogstashPassword=logstashPassword123 \
securityBeatsPassword=beatsPassword123 \
securityApmPassword=apmPassword123 \
securityRemoteMonitoringPassword=remoteMonitoringPassword123 \
azureCloudPlugin=Yes azureCloudStorageAccountName="<storage name>" \
azureCloudStorageAccountResourceGroup="<storage rg>"
This is the same underlying ARM template as used by the Azure Marketplace, and I would recommend doing this, once you've had a chance to try Elasticsearch from the Azure Marketplace. Doing so means you can have repeatable deployments from the repository,when targeting a specific tagged release, as well as the ARM template exposing more features than are available in the Marketplace, which is intentionally simpler.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.