Skip to content

Instantly share code, notes, and snippets.

@dadoonet
Created September 5, 2013 11:40
Show Gist options
  • Save dadoonet/6449050 to your computer and use it in GitHub Desktop.
Save dadoonet/6449050 to your computer and use it in GitHub Desktop.
Create Azure instance
# Create the first VM
azure vm create azure-elasticsearch-cluster \
                b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-13_10-amd64-server-20130808-alpha3-en-us-30GB \
                --vm-name myesnode1 \
                --location "West Europe" \
                --vm-size extrasmall \
                --ssh 22 \
                --ssh-cert /tmp/azure-certificate.pem \
                elasticsearch password

# Create another instance, same endpoint 
azure vm create azure-elasticsearch-cluster \
                esnode-image \
                --vm-name myesnode1 \
                --location "West Europe" \
                --vm-size extrasmall \
                --ssh 22 \
                --ssh-cert /tmp/azure-certificate.pem \
                elasticsearch password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment