instance-scheduler-on-aws icon indicating copy to clipboard operation
instance-scheduler-on-aws copied to clipboard

How Instance Scheduler handles "InsufficientInstanceCapacity error"

Open natalia-1702 opened this issue 3 years ago • 0 comments

hi team, When I am trying to "start" ( by my customised Lambda function - not instance scheduler) whole bunch of EC2 instance at some specific busy time - I am getting InsufficientInstanceCapacity error.

According to documentation: "InsufficientInstanceCapacity Error message: "An error occurred (InsufficientInstanceCapacity) when calling the RunInstances operation (reached max retries: 4). We currently do not have sufficient capacity in the Availability Zone you requested." This error occurs if there isn't enough On-Demand capacity to complete your request." https://aws.amazon.com/premiumsupport/knowledge-center/ec2-launch-issue/

How "instance scheduler by AWS" can handle InsufficientInstanceCapacity? Is there some notification to users about getting InsufficientInstanceCapacity? Additional retries? Lambda function execution will be interrupted and ALL instances will not be started? Or some of them will be started? Could you please describe in more details.

Thank you.

natalia-1702 avatar Aug 04 '22 00:08 natalia-1702