Note The scripts used are actually written by Ryan at Serverlesscode. Go check his post here
A simple script to schedule EBS snapshots using Lambda.
For a step by step on how to create a lambda function, check this post
For details about usage of this script, check this post