life is too short for a diary



Posts Tagged: aws (Page 3)

Unit Test AWS Lambda Function in Python

AWS lambda function are event driven serverless code. To follow TDD, we should write unit test our lambda functions...

Continue reading → aws python



AWS CLI to stop running instances of statemachine

I could not delete a statemachine that had running instances stuck in Progress. Since the number of instances were humongous, it was impossible to manually delete them using UI...

Continue reading → aws statemachine



Resolve the Error CROSSSLOT Keys in request don't hash to the same slot

AWS offers managed service Amazon MemoryDB which is redis compatible. The entire keyspace in Redis cluster is divided into hash slots and these slots are assigned to multiple nodes. In redis, getting a single value is straightforward...

Continue reading → python redis memorydb aws