- Newest
- Most votes
- Most comments
To migrate data from your source ElastiCache cluster (with "Encryption in transit" disabled) to a target cluster (with "Encryption in transit" enabled) without downtime, you'll need to use a different approach than the ones you've mentioned. Unfortunately, ElastiCache doesn't provide a built-in mechanism for direct cluster-to-cluster migration in this scenario.
Here's an alternative approach you can consider:
-
Set up a temporary EC2 instance that can access both the source and target ElastiCache clusters.
-
Use this EC2 instance as an intermediary to replicate data from the source to the target cluster.
-
On the EC2 instance, you can use Redis replication commands to set up the replication:
- Connect to the source cluster as a read replica.
- Simultaneously, connect to the target cluster and forward the data.
-
Monitor the replication process to ensure data is being copied correctly.
-
Once the initial data copy is complete and replication is caught up, you can switch your application to use the new target cluster.
-
After verifying that the new cluster is working correctly, decommission the old cluster and the temporary EC2 instance.
This approach allows for a near-real-time replication without significant downtime. However, it does require careful setup and monitoring to ensure data integrity during the migration process.
It's important to note that this method, while possible, is not officially supported by AWS and may require additional configuration and scripting. If you're not comfortable with this approach or lack the necessary Redis expertise, using a third-party tool like RedisShake might indeed be a more straightforward option.
For complex migrations or if you require official AWS support, you may want to consider engaging AWS Professional Services or a certified AWS partner who can provide tailored solutions for your specific use case.
Sources
Elasticache migration from one account to another | AWS re:Post
answered 2 years ago
Relevant content
asked 2 years ago

want comment from non-AI person:)