I am looking for a way to automatically turn off/on a microinstance on session based intervals. I need to be able to do this to automate when I am paying for the EC2 server. Does anyone know of any ways to do this using PHP or some other backend technology
Share
You can always start and stop instances using the AWS command line tools (i.e. make a BASH script to do this) or by using the AWS PHP SDK. Of course the problem is that you will need some separate server on which you can run a cron or similar to execute your start/stop scripts.