We're using Redis to hold a few credentials for our server. Redis here is not connected to any other DB, but is only used to hold credentials for our server to use. So, When we boot the server, the server pulls a few important Credentials from AWS parameters store and pushes them to Redis. What I'm expecting here is, when my server is running, and I make a change to the parameter store, the running Redis cache DB to be updated with the latest parameter values.
How can I make this possible?
I'll have to restart the server to update the values changed in the Param Store to reflect in Redis as of now. I'm looking for a more automated solution.
question from:
https://stackoverflow.com/questions/66057226/how-to-hot-swap-redis-from-aws-parameter-store 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…