1
votes

Ive been finding my self creating(maintain)/terminating ec2 spot fleet every 12 hours due the application not needing to run full time. I would like the fleet to be created at 8am for example and terminated 8pm. Is this possible?

I can do this with ec2 instances +lambda + cloudwatch: https://aws.amazon.com/premiumsupport/knowledge-center/start-stop-lambda-cloudwatch/

However I cannot seem to figure this out with spot fleet.

1

1 Answers

1
votes

You can create an Autoscaling Group with a spot price, then use Scheduled Actions to launch and terminate them at specific times.