Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.18] Update snapshot-restore.md #8739

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,20 @@
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

Check warning on line 116 in _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md

View workflow job for this annotation

GitHub Actions / vale

[vale] _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md#L116

[OpenSearch.AcronymParentheses] 'EC2': Spell out acronyms the first time that you use them on a page and follow them with the acronym in parentheses. Subsequently, use the acronym alone.
Raw output
{"message": "[OpenSearch.AcronymParentheses] 'EC2': Spell out acronyms the first time that you use them on a page and follow them with the acronym in parentheses. Subsequently, use the acronym alone.", "location": {"path": "_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md", "range": {"start": {"line": 116, "column": 15}}}, "severity": "WARNING"}
```

If you're installing OpenSearch using Helm, update the following settings in your values file:

```yml
extraEnvs:
- name: AWS_EC2_METADATA_DISABLED

Check warning on line 123 in _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md

View workflow job for this annotation

GitHub Actions / vale

[vale] _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md#L123

[OpenSearch.AcronymParentheses] 'EC2': Spell out acronyms the first time that you use them on a page and follow them with the acronym in parentheses. Subsequently, use the acronym alone.
Raw output
{"message": "[OpenSearch.AcronymParentheses] 'EC2': Spell out acronyms the first time that you use them on a page and follow them with the acronym in parentheses. Subsequently, use the acronym alone.", "location": {"path": "_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md", "range": {"start": {"line": 123, "column": 18}}}, "severity": "WARNING"}
value: "true"
```

1. (Optional) If you're using temporary credentials, add your session token:

```bash
Expand Down
Loading