It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Snapshotting to Azure Storage for Elasticsearch 5.x and 6.4 - 6.8
editSnapshotting to Azure Storage for Elasticsearch 5.x and 6.4 - 6.8
editThese instructions apply to Elasticsearch versions 5.x and 6.4 - 6.8. If you are using a later version see Snapshotting to Azure Storage for Elasticsearch 7.x.
With Elastic Cloud Enterprise, you can enable your Elasticsearch clusters to regularly snapshot data to Microsoft Azure Storage.
Add the Azure repository
editAdd your Azure Storage Container as a repository to the platform:
- Log into the Cloud UI.
-
Go to Platform > Repositories and add the following snapshot repository configuration under the advanced mode:
If needed, set additional options for configuring chunk_size, compressions, and retries. See the supported settings
{ "type": "azure", "settings": { "client": "default" "container": "elasticsearch-snapshots" } }
Snapshots are stored in the container you provide. Use the client name you define here to configure your Elasticsearch clusters for snapshotting to this repository.
Configure your deployment for Azure snapshots
editTo save deployment snapshots to the Azure repository:
-
Create or use an existing deployment with an Elasticsearch cluster that has the
repository-azure
plugin enabled. -
For Elasticsearch clusters at version 6.4 to 6.8:
-
Add a secure string setting
azure.client.default.account
whose value is the name of your Azure storage account. Make sure that the client name is the same one you provided when configuring the snapshot repository. -
Add a second secure string setting named
azure.client.default.key
with value set to the primary access key to your Azure storage account.
-
Add a secure string setting
-
For Elasticsearch clusters at verion 5.x:
-
Add user settings specifying the Azure configuration with your storage account name and primary key.
cloud: azure: storage: # same as the client name given in the repository setup default: account: "AZURE STORAGE ACCOUNT NAME" key: "AZURE STORAGE ACCOUNT KEY"
-
- Configure your deployment to snapshot to the Azure repository.
The cluster should then have snapshots enabled and and begins snapshotting either in the default interval of 30 minutes or immediately, depending on what you have specified.