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.x
editSnapshotting to Azure Storage for Elasticsearch 5.x and 6.x
editWith Elastic Cloud Enterprise, you can enable your Elasticsearch clusters to regularly snapshot data to Microsoft Azure Storage.
Snapshotting to Azure Storage is supported in version 5.X or 6.2.X and later. If you have a cluster other these versions, please upgrade before proceeding.
-
Configure the snapshot repository:
- From the Platform page, click Repositories and then Advanced.
- Add a new repository that includes your Azure account name and the details for the Azure storage container.
-
If needed, set additional options for configuring chunk_size, compressions, and retries. See the Azure repository configuration settings for more information.
{ "type": "azure", "settings": { "account": "MY_ACCOUNT", "container": "BACKUP-CONTAINER" } }
-
Add the snapshot repository configuration to the Elasticsearch cluster through the Elasticsearch User Settings:
-
Create an Elasticsearch cluster with the repository-azure plugin enabled.
If you have an existing Elastic cluster you can also add the
repository-azure
plugin in the Manage tab and editing the configuration. -
Go to the User Settings section and edit the YAML file to add the Azure configuration with your Azure bucket ID and key.
cloud: azure: storage: my_account: account: "AZURE STORAGE ACCOUNT NAME" key: "AZURE STORAGE ACCOUNT KEY"
- Choose the Snapshot Repository that you created.
- Click Create Cluster.
-
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.