Configure an AWS S3 snapshot repository in Elastic Cloud Enterprise
This guide focuses on registering an AWS S3 snapshot repository at the Elastic Cloud Enterprise (ECE) platform level. Platform-level repositories can be assigned to deployments and are used by ECE to automatically manage snapshots through the found-snapshots repository.
If you have custom requirements or deployment-specific use cases that are independent of the ECE-managed automation, you can also register snapshot repositories directly at the deployment level. To do that, follow the Elastic Cloud Hosted guide for AWS S3, which is also applicable to Elastic Cloud Enterprise deployments.
To add the repository:
From the Platform menu, select Repositories.
Select Add Repository to add an existing repository.
Provide a name for the repository configuration.
ECE Snapshot Repository names are now required to meet the same standards as S3 buckets. Refer to the official AWS documentation on Bucket naming rules.
Select one of the supported repository types and specify the necessary settings:
Amazon S3 configuration:
All repository options must be specified, as there are no default values.
- Region
- The region where the bucket is located.
- Bucket
- The name of the bucket to be used for snapshots.
- Access key
- The access key to use for authentication.
- Secret key
-
The secret key to use for authentication.
Advanced configuration:
Used for Microsoft Azure, Google Cloud Platform, or for some Amazon S3 repositories where you need to provide additional configuration parameters not supported by the S3 repository option. Configurations must be specified in a valid JSON format. For example:
Amazon S3 (check supported settings):
{ "type": "s3", "settings": { "bucket": "my_bucket_name", "region": "us-west" } }NoteDon’t set
base_pathwhen configuring a snapshot repository for Elastic Cloud Enterprise. Elastic Cloud Enterprise automatically generates thebase_pathfor each deployment so that multiple deployments may share the same bucket.
Select Save.
After adding the snapshot repository, configure your deployment to use it. Once configured, snapshots run automatically according to the scheduled interval. You can update this schedule from the Snapshots section in the Elasticsearch menu of your deployment page.