You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ec2-fleet-plugin, however does not support this feature, but instead will Terminate the allocated spot instances once the Jenkins Job has been completed.
The problem is that:
The AMI I need for building the Job is very fat. Both because of Windows, and because we need to load it with a multitude of Tools to build our project. So I am dealing with an Ami with size of 120gb currently. This makes the deployment of an instance from a Spot Fleet slow.
We need to have some persistent data to build the project efficiently. Currently we attach/detach an EC2 Volume with script as needed.
Having the support for Start/Stop the spot instance would greatly simplify both.
The instances would not need to be deployed, instead just started. (Faster start of Job)
The persistent data could just be stored in the Instance disk. (No attach/detach script needed)
The behavior I am looking for is:
If an Ec2 Spot Fleet instance is no longer needed (after the specified timeout), it is not terminated, but is instead Stopped
If an Ec2 Spot Fleet instance is needed by a Jenkins Job, first check if a Stopped instance if available, and restart that.
Fallback to normal Ec2 Spot Fleet provisioning
Would such a feature be possible to add?
The text was updated successfully, but these errors were encountered:
In 2020, support for Stopping and Starting a Spot Fleet EC2 instance was added:
https://aws.amazon.com/about-aws/whats-new/2020/01/amazon-ec2-spot-instances-stopped-started-similar-to-on-demand-instances/
The ec2-fleet-plugin, however does not support this feature, but instead will Terminate the allocated spot instances once the Jenkins Job has been completed.
The problem is that:
Having the support for Start/Stop the spot instance would greatly simplify both.
The behavior I am looking for is:
Would such a feature be possible to add?
The text was updated successfully, but these errors were encountered: