![]() Subcommands * merge 'resolve-profiles' and 'make-amis' into 'amis' * rename 'update-releases' to 'release-yaml' * rename 'gen-release-readme' to 'release-readme' * rename 'prune-amis' to 'prune' * reorder to match the usual workflow * use argparse mutually-exclusive group where appropriate * use argparse 'metavar' and 'nargs' for more salient help release * can now specify multiple AMIs on command line * add explicit '--private' argument * if no '--private', '--public', or '--allow-account' is specified, default to propagate the source AMI's permissions to its copies * move 'iter_regions' and 'get*image' methods out of ReleaseAMIs class because they're also used elsewhere * 'update_image_permissions' resets perms before adding new perms * pending_copy loop, reports on everything in progress, waits 3m before reporting on everything again, and then waits 30s between reports * pending_copy also notes when a copy has completed (and only queues for pending_perms if they need adjustment) Releases class * used by release-yaml and prune subcommands * caches region client objects for later use (by prune) * loads images from region - either from a profile or "unknown" (no profile tag) * builds the releases object - now structured release -> build (instead of build -> release) ReleasesReadme * works with new releases object format * improve sorting and selection of latest per version per-build AMIs * empty cell if a region doesn't happen to have a build AMI there PruneAMIs * rename 'version' level to 'end-of-life' * add 'UNKNOWN' pruning level * works, even if you don't want to --use-broker * --keep N - keeps an additional N AMIs that would otherwise have been purged per build * --defer-eol DAYS - give EOL AMIs a grace period past their official EOL date * no AMI deletion happens unless --no-pretend arg is provided * improve pruning criteria scan and candidate selection Co-authored-by: Jake Buchholz <jake@jakesys.net> |
||
---|---|---|
.. | ||
alpine.yaml | ||
README_alpine.md | ||
README.md |
Alpine Linux EC2 AMIs
These are not official AWS or Alpine images. They are community built and supported.
These AMIs should work with most EC2 features -- such as ENIs (Elastic Network Interfaces) and NVMe EBS (Elastic Block Storage) volumes. If you find any problems launching these AMIs on current generation instances, please open an issue and include as much detailed information as possible.
All AMIs built after 2020-09-15 include support for hot-pluggable ENIs, and will
sync all associated IPv6 and secondary IPv4 addresses during udhcpc
post-bound
and post-renew events.
Starting with Alpine release 3.12.1, IMDSv2 (Instance MetaData Service v2) is
fully supported, and aarch64
AMIs are provided for EC2 ARM-based instances.
During the first boot of instances created with these AMIs, the lightweight tiny-ec2-bootstrap init script...
- sets the instance's hostname,
- installs the SSH authorized_keys for the AMI user (default 'alpine'),
- disables 'root' and AMI user (default 'alpine') passwords,
- expands the root partition to use all available EBS volume space,
- and executes a "user data" script (must be a shell script that starts with
#!
)
If you launch these AMIs to build other images (via Packer,
etc.), don't forget to remove /var/lib/cloud/.bootstrap-complete
-- otherwise
instances launched from those second-generation AMIs will not run
tiny-ec2-bootstrap
on their first boot.
The more popular cloud-init is
currently not supported on Alpine Linux. If cloud-init
support is important
to you, please open an issue.
AMIs
Alpine Linux 3.12.3 (2020-12-19)
click to show/hide
Alpine Linux 3.11.7 (2020-12-19)
click to show/hide
Region | alpine-ami-3.11.7-x86_64-r0 |
---|---|
af-south-1 | ami-05cf48a10f6002168 (launch) |
ap-east-1 | ami-096def05737bb9fa5 (launch) |
ap-northeast-1 | ami-0dc80e3c7e0aedb4e (launch) |
ap-northeast-2 | ami-09346dc8fc008c9f3 (launch) |
ap-south-1 | ami-050c579c7459a48c2 (launch) |
ap-southeast-1 | ami-02d1e1bf59cca56f6 (launch) |
ap-southeast-2 | ami-055e9bb961d28d69d (launch) |
ca-central-1 | ami-0af7eccbeacce0f05 (launch) |
eu-central-1 | ami-05794ddba50a9a744 (launch) |
eu-north-1 | ami-05b0683850b38c6d5 (launch) |
eu-south-1 | ami-0642f11c989872666 (launch) |
eu-west-1 | ami-0956524d21583a27a (launch) |
eu-west-2 | ami-07e738b263969a042 (launch) |
eu-west-3 | ami-07e0f0262ff7b7da9 (launch) |
me-south-1 | ami-0d033bc51aa9fc3c6 (launch) |
sa-east-1 | ami-07ec4797792079c72 (launch) |
us-east-1 | ami-0f5a58345290f20fe (launch) |
us-east-2 | ami-089db2524f896109e (launch) |
us-west-1 | ami-0a0564916b7d4a510 (launch) |
us-west-2 | ami-0b9f7e5619a03a0ea (launch) |
Alpine Linux 3.10.5 (2020-12-19)
click to show/hide
Region | alpine-ami-3.10.5-x86_64-r1 |
---|---|
af-south-1 | ami-0f04d696b9bb2a043 (launch) |
ap-east-1 | ami-0392cbf555ce3a146 (launch) |
ap-northeast-1 | ami-095d84c90b5d8aeee (launch) |
ap-northeast-2 | ami-0f6d55079fee59400 (launch) |
ap-south-1 | ami-07e6e99350bef94dd (launch) |
ap-southeast-1 | ami-0f784485a4589cf66 (launch) |
ap-southeast-2 | ami-0886f3fffb96b61ba (launch) |
ca-central-1 | ami-078f16db0a269ea93 (launch) |
eu-central-1 | ami-0380ce28ef629d90d (launch) |
eu-north-1 | ami-00b16b9ae0a30f956 (launch) |
eu-south-1 | ami-0d6b6ed478eac773c (launch) |
eu-west-1 | ami-04b775d6fe1735210 (launch) |
eu-west-2 | ami-014e97d83f67eaa97 (launch) |
eu-west-3 | ami-0288c23df586bd137 (launch) |
me-south-1 | ami-0f2301c3be4340833 (launch) |
sa-east-1 | ami-0a431dbfae17074be (launch) |
us-east-1 | ami-0ad73f561b0d903fa (launch) |
us-east-2 | ami-0c15ef6ad3bdb364d (launch) |
us-west-1 | ami-0f06f7abd4a2481fc (launch) |
us-west-2 | ami-0605acecb09204ae6 (launch) |
Alpine Linux 3.9.6 (2020-04-26)
click to show/hide
Region | alpine-ami-3.9.6-x86_64-r0 |
---|---|
ap-northeast-1 | ami-0133f3a571f684178 (launch) |
ap-northeast-2 | ami-0f9ad7c51e14bdc3d (launch) |
ap-south-1 | ami-00af726ec2f4077a2 (launch) |
ap-southeast-1 | ami-0d52e9d7f91ca051c (launch) |
ap-southeast-2 | ami-054360648343b66bc (launch) |
ca-central-1 | ami-0583a99f342097b6c (launch) |
eu-central-1 | ami-051eec0106a08df6d (launch) |
eu-north-1 | ami-07a2b23059054aea3 (launch) |
eu-west-1 | ami-0eb2b54ab4d09eb80 (launch) |
eu-west-2 | ami-08c87b358b24d1df3 (launch) |
eu-west-3 | ami-00a425aa20737343e (launch) |
sa-east-1 | ami-0ea679407da47b78a (launch) |
us-east-1 | ami-004f0550310a2d7aa (launch) |
us-east-2 | ami-045a2cc3fe272caee (launch) |
us-west-1 | ami-026a54e52daea1233 (launch) |
us-west-2 | ami-0b933475d362cbfab (launch) |
Alpine Linux Edge (2020-12-31)
click to show/hide