I need to know how can I run docker image in aws one time on some event(file upload).
For example: I uploaded files to S3 and then I need to run my docker image one time. I know that I can do something like that with ESC tasks, but in this case I will have constantly running EC2, it's too expensive.
How to run docker image once on every file upload and shutdown it after its running?
P.S. docker image should have at least 8GB memory for working