I seek a method to implement a cron-like system on AWS EC2 instance : every morning, I have some tasks to run, and they are using a lot of RAM (about 8 Go for each script). I don't want to pay a full-time c4.2xlarge instance, that's the point.
What I think about :
c4.2xlarge instanceHow to automate these actions ?
If you created an instance with --instance-initiated-shutdown-behavior terminate then it will terminate itself when stopped. All you need to do is run shutdown -h now at the end of your script when it's done.
So how do you start an instance at a specific time?
OR
cron in the cloud that can run a Lambda function, which in turn may start you instance.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With