control ec2 instance to start or stop.