If your script can run within Lambda runtime limits (memory and time) then that's definitely the best way to go. You are only billed when the function is running.
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated a year ago
- How can I utilize user data to automatically run a script with every restart of my Amazon EC2 Linux instance?AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- EXPERTpublished 4 months ago