How long can my ec2 spot request stay on pending-fullfilment? It’s been stuck on this for an hour already.
Until there’s either availability of your instance type at the bid price you specify, or your bid price exceeds the current spot price.
Change the instance type or increase your bid price.
Edit: we wrote our own fleet management system, to provision an on-demand instance in an asg until there was a spot instance available, to manage these situations as whilst they’re not common (in my experience) it does happen time to time.
Could you utilise the fleet on-demand capacity? Or do you want either on-demand OR spot only?
It could be forever depending on capacity of the AZ you selected. Try a different AZ or instance type.
Spot capacity allocation is not based on bidding any more. As a best practice, don’t put a bidding price, the current price will be used by default and it will never exceed OD price
https://aws.amazon.com/blogs/compute/new-amazon-ec2-spot-pricing/