Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
1
-
Description
Problem Definition
Bamboo will continuously attempt to run a spot instance even if Amazon responds that spot requests are unsupported for that AMI.
E.g.
Elastic Bamboo Error : EC2 Instance failed to start: EC2 instance order for image ami-950604f6 failed.
(com.amazonaws.services.ec2.model.AmazonEC2Exception : Unsupported product. (Service: AmazonEC2; Status Code: 400; Error Code: InvalidInput; Request ID: 7a254f86-6325-4103-9485-a848c67b1fd7))
Elastic Bamboo Error : EC2 Instance failed to start: EC2 instance order for image ami-b13538d2 failed. (com.amazonaws.services.ec2.model.AmazonEC2Exception : Microsoft SQL Server is not supported for spot instances. (Service: AmazonEC2; Status Code: 400; Error Code: UnsupportedOperation; Request ID: 13264974-c7d3-4a13-ae58-0e80e7f79aae))
Suggested Solution
In the event of an error raising the spot request, it would be good to be able to have it fallback to starting an on-demand instance in the same way it will if the timeout is reached.