how to automate start and stopn of amazone ec2 instances