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
bootstrap: Ubuntu in a private subnet cannot install the AWS CLI (awscli.amazonaws.com unreachable), so it now fails closed #1494
After #1490's PR, a Linux bootstrap on an image with no aws CLI (stock Ubuntu 22.04/24.04) installs the pinned AWS CLI v2 from https://awscli.amazonaws.com/awscli-exe-linux-<arch>-<version>.zip and fails closed when it cannot. awscli.amazonaws.com is CloudFront on the public internet, so an Ubuntu instance with no internet route cannot reach it: a private subnet with only VPC endpoints, which is exactly what --no-public-ip (v0.151.0) is for.
Evidence
pkg/launcher/bootstrap.goawsCLIInstallTemplate: the only source is awscli.amazonaws.com.
spored and the published body already come from the spawn-binaries-<region> buckets, which an S3 gateway endpoint reaches.
Suggested fix
Have the release workflow copy the two pinned zips, byte for byte, into spawn-binaries-<region>/awscli/<version>/. The bootstrap tries the regional bucket first and awscli.amazonaws.com second. The sha256 pin stays the trust anchor, so the mirror needs no signature of its own. Each release's copy needs a named deleter, like the other versioned objects.
Not verified on EC2: whether a --no-public-ip Ubuntu launch with only endpoints really fails today. The container test is the evidence.
Activity
feat(release): mirror the pinned AWS CLI zips into every spawn-binari…
fix(bootstrap): changelog, api snapshot, private-network S3 reason fo…
fix(bootstrap): fetch the pinned AWS CLI from the regional spawn-bina…
feat(release): mirror the pinned AWS CLI zips into every spawn-binari…
fix(bootstrap): changelog, api snapshot, private-network S3 reason fo…
test(release): skip the gpg mirror tests on Windows; note the mirror …
fix(bootstrap): install the pinned AWS CLI from the regional spawn-bi…
feat(bootstrap)!: retire the AWS CLI regional mirror; preflight count…