'(CLOSED) How to persist data across multiple AWS Lambda sessions?

I know this has been discussed various times on the world wide web, but as a newbie, it's really hard for me to translate these answers into practical execution steps.

Basically, I am looking to have a few list variables in my Lambda script to persist their storage across multiple sessions and empty themselves in the end of the day. When the script runs, certain values will be generated and I want to append those values into the lists for use in the subsequent lambda sessions.

Based on my research, we can persist data via the S3, /tmp, or EFS method. But for something like a list, how can I achieve that?

UPDATE


Decided to create parameter stores which are free for my small scale of work. With parameter stores, I store my JSON data in string type and parse them into dict/JSON for processing. In the end of the function, I parse my value back into string before overwriting them into the existing parameter store. Thanks everyone!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source