I’m trying to run cml-runner in aws via GitHub actions.
The script below opens an instance that we can see in the aws console.
The result can be summarized as:
I just tried to create a local g3.4xlarge ec2 instance and it looks like aws is rejecting it. From my understanding of what we have on the aws console, this would be allowed. If we check the quota details, we have:
Error: Failed creating the machine: Not able to decode: MaxSpotInstanceCountExceeded: Max spot instance count exceeded
│ status code: 400, request id: eeb4b582-1d03-463e-b3c9-409e279cc9ef
│
│ with iterative_cml_runner.runner,
│ on main.tf line 14, in resource "iterative_cml_runner" "runner":
│ 14: resource "iterative_cml_runner" "runner" {
Is this an aws configuration issue or something with cml-runner?
Sorry for the delay, but I’m only able to allocate time for this task at (my) night.
Quota was set to 4 vCPUs and g3.4xlarge requires 16. Changed it to g3s.xlarge and it worked.