I need AWS to create auto reboot event (auto restart) my amazon instance every week. Preferably I don’t want to pay a monthly fee or one-off fees for running events. So I need a free solution and if possible for it to allocate a new IP address when it restarts.
You can use cloudwatch to create a scheduled event.
Note that you can only obtain a new IP address for the instance if you stop it and then start it again, something not yet provided by Cloudwatch events maybe soon?
Scheduled Events for Your Instances
I know cloudwatch can now reboot the machines based on conditions also.
Stop and start Amazon EC2 Instances at scheduled intervals with AWS Data Pipeline
And also the data pipeline but this costs $0.60 per action?