Skip to content

Commit dd5f5ce

Browse files
finished Capabilities/State Management, Chaos Engineering, Security Testing
1 parent 698fea2 commit dd5f5ce

File tree

3 files changed

+41
-11
lines changed

3 files changed

+41
-11
lines changed

src/content/docs/aws/capabilities/chaos-engineering/chaos-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If you'd like to try it out, please [contact us](https://www.localstack.cloud/de
3232

3333
The prerequisites for this guide are:
3434

35-
- LocalStack Pro with [LocalStack CLI](https://docs.localstack.cloud/getting-started/installation/#localstack-cli) & [LocalStack Auth Token](https://docs.localstack.cloud/getting-started/auth-token/)
35+
- LocalStack Pro with [LocalStack CLI](/aws/getting-started/installation/) & [LocalStack Auth Token](/aws/getting-started/auth-token/)
3636
- [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/)
3737
- [Python](https://www.python.org/downloads/)
3838

src/content/docs/aws/capabilities/state-management/cli-commands.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ The CLI manual for the `version` command is as follows:
244244
The `remote` command group lets you manage custom Cloud Pod remotes, to enable alternative storage backends in addition to the default LocalStack managed platform.
245245
It offers 3 commands: `add`, `delete`, and `list`.
246246
247-
For more info about remote usage, check our [documentation](https://docs.localstack.cloud/user-guide/cloud-pods/remotes/).
247+
For more info about remote usage, check our [documentation](/aws/capabilities/state-management/cloud-pods/#remotes).
248248
249249
```bash
250250
Usage: pod remote [OPTIONS] COMMAND [ARGS]...
@@ -315,7 +315,7 @@ Usage: state [OPTIONS] COMMAND [ARGS]...
315315
The state command group allows you to interact with LocalStack's state
316316
backend.
317317
318-
Read more: https://docs.localstack.cloud/references/persistence-mechanism/#snapshot-based-persistence
318+
Read more: https://docs.localstack.cloud/aws/capabilities/state-management/persistence/
319319
320320
Options:
321321
--help Show this message and exit.
@@ -340,7 +340,7 @@ Usage: state export [OPTIONS] [DESTINATION]
340340
341341
If you are looking for a managed solution to handle the state of your
342342
LocalStack container, please check out the Cloud Pods feature:
343-
https://docs.localstack.cloud/user-guide/tools/cloud-pods/
343+
https://docs.localstack.cloud/aws/capabilities/state-management/cloud-pods/
344344
345345
Use the DESTINATION argument to specify an absolute path for the exported
346346
file or a filename in current working directory.

src/content/docs/aws/capabilities/state-management/cloud-pods.mdx

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can save and load the persistent state of Cloud Pods, you can use the [Cloud
2626
LocalStack provides a remote storage backend that can be used to store the state of your running application and share it with your team members.
2727
You can interact with the Cloud Pods over the storage backend via the LocalStack Web Application.
2828

29-
Cloud Pods CLI is included in the [LocalStack CLI installation](https://docs.localstack.cloud/getting-started/installation/#localstack-cli), so there's no need for additional installations to begin using it.
29+
Cloud Pods CLI is included in the [LocalStack CLI installation](/aws/getting-started/installation/#installing-localstack-cli), so there's no need for additional installations to begin using it.
3030
If you're a licensed user, we suggest setting the `LOCALSTACK_AUTH_TOKEN` as an environment variable.
3131
This enables you to access the complete range of LocalStack Cloud Pods features.
3232

@@ -197,7 +197,7 @@ localstack state inspect --format json
197197
}
198198
```
199199

200-
For comprehensive instructions, navigate to our [Command-Line Interface (CLI) Guide](/aws/capabilities/state-management/cli-commands).
200+
For comprehensive instructions, navigate to our [Command-Line Interface (CLI) Guide](/aws/capabilities/state-management/cli-commands/).
201201
To access your Cloud Pods through the LocalStack Web Application, navigate to the [Cloud Pods browser](https://app.localstack.cloud/pods).
202202

203203
:::note
@@ -284,7 +284,7 @@ In addition to loading Cloud Pods through the Command-Line Interface (CLI) or th
284284

285285
### Environmental variables
286286

287-
To automatically load a Cloud Pod at startup, utilize the `AUTO_LOAD_POD` [configuration variable](https://docs.localstack.cloud/references/configuration/).
287+
To automatically load a Cloud Pod at startup, utilize the `AUTO_LOAD_POD` [configuration variable](/aws/capabilities/config/configuration/).
288288

289289
`AUTO_LOAD_POD` can accept multiple Cloud Pod names separated by commas.
290290
To autoload multiple Cloud Pods, such as `foo-pod` and `bar-pod`, use: `AUTO_LOAD_POD=foo-pod,bar-pod`.
@@ -448,7 +448,7 @@ localstack pod list s3-storage-aws
448448

449449
:::note
450450
Full S3 remotes support is available in the CLI from version 3.2.0.
451-
If you experience any difficulties, update your [LocalStack CLI](https://docs.localstack.cloud/getting-started/installation/#updating).
451+
If you experience any difficulties, update your [LocalStack CLI](/aws/getting-started/installation/#updating-localstack-cli).
452452
:::
453453

454454
### ORAS remote storage
@@ -519,7 +519,7 @@ services:
519519
:::note
520520
The Auto Load from remote feature does not automatically configure the remote.
521521
This needs to be done with the `localstack pod remote add ...` command.
522-
This commands creates a configuration file for the remote in the [LocalStack volume directory](https://docs.localstack.cloud/references/filesystem/#localstack-volume).
522+
This commands creates a configuration file for the remote in the [LocalStack volume directory](/aws/capabilities/config/filesystem-layout/#localstack-volume-directory).
523523
:::
524524

525525
## End-to-End Encryption (Enterprise)
@@ -572,7 +572,7 @@ The process is the following:
572572
Unless explicitly specified, all Cloud Pods commands default to targeting the LocalStack Platform as the storage remote.
573573
It's important to note that the CLI must be authenticated correctly with our Platform.
574574

575-
Custom remote configurations are stored within the [LocalStack volume directory](https://docs.localstack.cloud/references/filesystem/#localstack-volume-directory) and are managed by the LocalStack container.
575+
Custom remote configurations are stored within the [LocalStack volume directory](/aws/capabilities/config/filesystem-layout/#localstack-volume-directory) and are managed by the LocalStack container.
576576
Consequently, when sharing Cloud Pods among your team using a custom remote, each team member must define the identical remote configuration.
577577
Once added, a remote persists even after LocalStack restarts.
578578

@@ -710,4 +710,34 @@ An error occurred while checking remote management for pod "cloud-pod-product-ap
710710

711711
Check if your machine's clock is set incorrectly or if the certificate store is outdated.
712712
This error can also occur if you use `localstack` as `LOCALSTACK_HOST`.
713-
In this case, the DNS incorrectly resolves `api.localstack.cloud` to `localhost`, causing a certificate mismatch.
713+
In this case, the DNS incorrectly resolves `api.localstack.cloud` to `localhost`, causing a certificate mismatch.
714+
715+
### `InvalidAccessKeyId` during `CreateBucket` API call
716+
717+
You may see this error:
718+
719+
```bash
720+
An error occurred (InvalidAccessKeyId) when calling the CreateBucket operation: The AWS Access Key Id you provided does not exist in our records.
721+
```
722+
723+
This usually means you're using temporary AWS credentials, but `AWS_SESSION_TOKEN` is missing from the environment.
724+
725+
To fix this, ensure that you export the `AWS_SESSION_TOKEN` environment variable:
726+
727+
```bash
728+
export AWS_SESSION_TOKEN=...
729+
```
730+
731+
Then, add `session_token` to the `pod remote add` URL:
732+
733+
```bash
734+
localstack pod remote add s3-storage-aws 's3://ls-pods-bucket-test/?access_key_id={access_key_id}&secret_access_key={secret_access_key}&session_token={session_token}'
735+
```
736+
737+
If you're still unable to connect to the S3 bucket, add the bucket hostname to the upstream DNS resolution list:
738+
739+
```bash
740+
DNS_NAME_PATTERNS_TO_RESOLVE_UPSTREAM=ls-pods-bucket-test.s3.amazonaws.com/
741+
```
742+
743+
For more details, see the [Skip LocalStack DNS Resolution](/aws/tooling/dns-server/#skip-localstack-dns-resolution) section.

0 commit comments

Comments
 (0)