From 87a36f72f36107010f8581945773992fbf10cb08 Mon Sep 17 00:00:00 2001 From: pjuri <47542497+pjuri@users.noreply.github.com> Date: Wed, 13 Nov 2024 21:27:01 +0100 Subject: [PATCH] Update snapshot-restore.md (#8734) * Update snapshot-restore.md Adds info from: https://github.com/opensearch-project/OpenSearch/issues/16305 Signed-off-by: pjuri <47542497+pjuri@users.noreply.github.com> * Update _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: pjuri <47542497+pjuri@users.noreply.github.com> * Update _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: pjuri <47542497+pjuri@users.noreply.github.com> * Update _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md Co-authored-by: Nathan Bower Signed-off-by: pjuri <47542497+pjuri@users.noreply.github.com> --------- Signed-off-by: pjuri <47542497+pjuri@users.noreply.github.com> Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Co-authored-by: Nathan Bower --- .../snapshots/snapshot-restore.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md b/_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md index 759080bdec..ac717633f6 100644 --- a/_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md +++ b/_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md @@ -110,6 +110,20 @@ You will most likely not need to specify any parameters except for `location`. F sudo ./bin/opensearch-keystore add s3.client.default.secret_key ``` +1. (Optional) If you're using a custom S3 endpoint (for example, MinIO), disable the Amazon EC2 metadata connection: + + ```bash + export AWS_EC2_METADATA_DISABLED=true + ``` + + If you're installing OpenSearch using Helm, update the following settings in your values file: + + ```yml + extraEnvs: + - name: AWS_EC2_METADATA_DISABLED + value: "true" + ``` + 1. (Optional) If you're using temporary credentials, add your session token: ```bash