Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit ebfc21a

Browse files
authored
add docs on new features in cloud pod save/load on web ui (#1567)
1 parent 082676d commit ebfc21a

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

content/en/user-guide/state-management/cloud-pods/index.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,9 @@ To export the state, follow these steps:
236236
1. Navigate to the **Cloud Pod** tab within the [Export/Import State](https://app.localstack.cloud/inst/default/state) page.
237237
2. Create AWS resources locally as needed.
238238
3. Enter the Pod name and toggle between the **New Pod** and **Existing Pod** options.
239-
4. Click on **Create New Pod**.
239+
4. Enter the services to save resources for.
240+
By default, all available service resources are saved.
241+
5. Click on **Create New Pod**.
240242

241243
A new Cloud Pod will be created and will be available for import into another LocalStack instance.
242244
You can check out the list of available Cloud Pods in the [Cloud Pod](https://app.localstack.cloud/pods) page.
@@ -518,7 +520,6 @@ Once added, a remote persists even after LocalStack restarts.
518520
## State Merging
519521

520522
Cloud Pods offers various strategies for integrating states into your LocalStack container.
521-
To activate the merge strategies, you can set `--strategy <strategy>` while loading the Cloud Pod.
522523
The available strategies are:
523524

524525
- `overwrite`: This strategy clears the existing state and loads the new state from the Cloud Pod, completely resetting the LocalStack state.
@@ -527,6 +528,22 @@ The available strategies are:
527528
- `service-merge`: This strategy merges services at the account-region level, provided there's no overlap in resources.
528529
It prioritizes the loaded resources when merging.
529530

531+
### LocalStack CLI
532+
533+
To activate merge strategies, set `--strategy <strategy>` when loading a Cloud Pod using the LocalStack CLI.
534+
For instance, to load a Cloud Pod named `test-pod-s3-sqs` with the `service-merge` strategy, run the following command:
535+
536+
{{< command >}}
537+
$ localstack pod load test-pod-s3-sqs --strategy service-merge
538+
{{< / command >}}
539+
540+
### LocalStack Web Application
541+
542+
To activate merge strategies, navigate to the **Cloud Pods** tab on the [Export/Import State page](https://app.localstack.cloud/inst/default/state).
543+
Enter the name of the Cloud Pod, select the version, choose the strategy from a dropdown, and click **Load State from Pod**.
544+
545+
<img src="merge-strategy-web-app.png" alt="Merge Strategy Web UI" title="Merge Strategy Web UI" width="800px" />
546+
530547
### Example scenario
531548

532549
Let us take the image below as example.
354 KB
Loading

0 commit comments

Comments
 (0)