How to auto shutdown when you are not using the Cloud Virtual Machines?
Sometimes, you are using AWS EC2 instances/GCP Compute Engines/Azure Virtual Machines to run complex operations on cloud. You use SSH to connect to the machines to run these complex operations like Machine Learning, Data Analysis, Video Processing and so on. You normally use those compute instance which has high processing capabilities and those usually comes with a steep cost per hour. Hence, you need them to turn off automatically once you no longer need them. Here is a way to do that.
Tags: aws, linux, gcp, azure