Actually i want to reduce AWS bill. I am using some of the instances in my project. I want a notification after certain time period(every 3rd/4th hour) on my login email id and shutdown on a particular time duration. So, how can i do this?
if current time - instance start time >= 3 hr (send a mail)if current time - instance start time >= 4 hr (send a mail)if current time - instance start time >= 5 hr (shut down that instance)