Re:New for AWS Lambda – Container Image Support
by munns on Tuesday December 01, 2020 @04:35PM
(#25270255)
No good way to do this today. You are right in that you'd be forcing cold-starts. You could use a Lambda Extension to provide some sort of after-processing clean up of vars or /tmp space.. but thats hypothetical I haven't seen anyone do that yet.
[ Parent
| on HN ]
Re:New for AWS Lambda – Container Image Support
by mwcampbell on Tuesday December 01, 2020 @04:42PM
(#25270334)
I think what I'll do is write a container entry point that cleans up temporary files like you said, but also repeatedly spawns a new process for the main program, to minimize the findable leftover data in RAM. Just in case an attacker finds a Heartbleed equivalent in my application.
Thanks again!