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
{{ message }}
Repository navigation
Multi-interface EFA launch fails late at AllocateAddress when the region's Elastic IP limit is reached; preflight could catch it #1233
Seen: scttfrdmn/adit G2, us-west-2, 2026-10-20, spawn built from #1206. With 8 multi-card instances (one launch Elastic IP each) plus 2 addresses from other work, the 9th c8gn.48xlarge launch reached running and then failed at AllocateAddress (AddressLimitExceeded; the limit is 10 per region). spawn correctly terminated the box, but the instance had already launched and billed, and the only message was the AWS error.
Ask:
When the launch will need an Elastic IP (more than one interface), preflight the region's vpc-max-elastic-ips against the addresses in use, and refuse before RunInstances with a clear message, e.g. "10 of 10 Elastic IPs in use in us-west-2".
Suggest --efa-interfaces 1, which needs no Elastic IP: with one interface EC2 assigns the public IP itself. That workaround is what I used.
Fixed by #1206 (5253841), released in v0.138.0. This report came from a build of that PR before it merged.
When --efa uses more than one interface, spawn launch now checks the region's Elastic IP headroom against the vpc-max-elastic-ips quota (L-0263D0A3) before RunInstances. It refuses, with the count in use and a pointer to --efa-interfaces 1, when there are not enough for every instance of the launch (--count):
Activity
scttfrdmn commentedon Oct 23, 2026
Fixed by #1206 (5253841), released in v0.138.0. This report came from a build of that PR before it merged.
When
--efauses more than one interface,spawn launchnow checks the region's Elastic IP headroom against thevpc-max-elastic-ipsquota (L-0263D0A3) before RunInstances. It refuses, with the count in use and a pointer to--efa-interfaces 1, when there are not enough for every instance of the launch (--count):cmd/launch_single.go:preflightElasticIPQuotapkg/aws/eip_quota.go:ElasticIPQuotaInRegion,CheckElasticIPHeadroomThe preflight is on the
spawn launchpath. If a job array or sweep with multi-interface EFA hits the same wall, please reopen with the command.