awslabs / ec2-spot-labs

Collection of tools and code examples to demonstrate best practices in using Amazon EC2 Spot Instances.
https://aws.amazon.com/ec2/spot/
Other
942 stars 319 forks source link

Any lambda function to request spot fleet during specific time..? #6

Closed vdoodala closed 5 years ago

vdoodala commented 6 years ago

Is there any possibility for lambda function to request spot fleet during specific time..?

schmutze commented 5 years ago

You could try using scheduled scaling with Spot Fleet. Otherwise a Lambda scheduled expression using cron.