AWS Certified Solutions Architect - Professional (#231)

A user is running a batch process on EBS backed EC2 instances. The batch process launches few EC2 instances to process Hadoop Map reduce jobs which can run between 50 ?600 minutes or sometimes for even more time. The user wants a configuration that can terminate the instance only when the process is completed. How can the user configure this with CloudWatch?

Configure a job which terminates all instances after 600 minutes
It is not possible to terminate instances automatically
Configure the CloudWatch action to terminate the instance when the CPU utilization falls below 5%
Set up the CloudWatch with Auto Scaling to terminate all the instances