Overview: serverless.yml

Step Function: everyminute

Importantly, I’ve set MaxConcurrency to 1 on the Map state, otherwise it would run multiple threads and invoke the Lambda function in parallel.

Function: interval

How accurate is it?

The raw invocation times are on GitHub.

Cost

I’m omitting the tiny SQS storage cost and assuming a 30-day month.

For comparison, a Standard Step Function could cost ~$13/month.

Enhancements

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store