-
Notifications
You must be signed in to change notification settings - Fork 30
Migration Infrastructure Teardown
After a migration is complete all resources should be removed except for the target cluster, and optionally your Cloudwatch Logs, and Replayer logs.
Important
If the given CONTEXT_ID
has created a target cluster Domain and has the retention policy for the OpenSearch Domain set to DESTROY
, it will remove this resource and all its data when the stack is deleted. In order to retain the Domain on stack deletion the domainRemovalPolicy
would need to remain at the default value of RETAIN
.
To remove all the CDK stack(s) which get created during a deployment you can execute a command similar to below within the CDK directory
cdk destroy "*" --c contextId=<CONTEXT_ID>
Or to remove an individual stack from the deployment we can execute
cdk destroy migration-console --c contextId=<CONTEXT_ID>
Where CONTEXT_ID
is the id of the context block to use, see below:
Encountering a compatibility issue or missing feature?
- Search existing issues to see if it’s already reported. If it is, feel free to upvote and comment.
- Can’t find it? Create a new issue to let us know.
- Migration Assistant Overview
- Is Migration Assistant Right for You?
- Existing Data Migration - Quick Start Guide
- A. Snapshot Creation Verification
- B. Client Traffic Switchover Verification
- C. Traffic Capture Verification
- D. System Reset Before Migration