Clean up old EC2 snapshots

In template.yaml, the schedule can be adjusted as needed. sam build to build the function and sam deploy to deploy the stack.