alpine-ec2-ami merge requestshttps://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests2018-07-30T14:59:40Zhttps://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/6Alpine v3.8, etc.2018-07-30T14:59:40ZJake Buchholz GöktürkAlpine v3.8, etc.* switch to alpine v3.8
* add public_ip variable, setting to 'true' allows packer to build from outside AWS
* use smallest instance_type (t2.nano) and volume_size (1 GiB)
* eu-west-3 region is live; ap-northeast-3 requires subscriptio...* switch to alpine v3.8
* add public_ip variable, setting to 'true' allows packer to build from outside AWS
* use smallest instance_type (t2.nano) and volume_size (1 GiB)
* eu-west-3 region is live; ap-northeast-3 requires subscription
* no longer need setup_staging_repos function...
* tiny-ec2-bootstrap is available in main since v3.8
* aws-ena-driver-vanilla is only available in edge/testing
* switched to linux-vanilla since linux-hardened is no longer available and linux-virt does not have NVME available
* TODO? make kernel choice selectable (significant memory/disk savings if linux-virt can be used)https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/7Improve Configurability2018-08-19T14:36:36ZJake Buchholz GöktürkImprove Configurability* move config variables from `alpine-ami.yaml` to `variables.json-*`
+ `variables.json-default` - ready-for-action original default config
+ `variables.json-example` - original defaults with comments
* clean up tabs vs. spaces in ...* move config variables from `alpine-ami.yaml` to `variables.json-*`
+ `variables.json-default` - ready-for-action original default config
+ `variables.json-example` - original defaults with comments
* clean up tabs vs. spaces in `make_ami.sh`
* `make_ami.sh` handles custom kernel flavor, extra repos, and extra packages
* tweak `README.md` with regards to aws-ena-driver caveathttps://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/8Add resize2fs dependencies for image automatic resizing2018-08-19T20:19:43ZMike Crutemike@crute.usAdd resize2fs dependencies for image automatic resizing*Created by: Exordian*
dependency of https://github.com/mcrute/tiny-ec2-bootstrap/blob/master/tiny-ec2-bootstrap#L56*Created by: Exordian*
dependency of https://github.com/mcrute/tiny-ec2-bootstrap/blob/master/tiny-ec2-bootstrap#L56https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/9Add missing $target variables2018-08-19T20:19:36ZMike Crutemike@crute.usAdd missing $target variables*Created by: Exordian*
add missing `$target` variables to modify the alpine image instead of the builder image*Created by: Exordian*
add missing `$target` variables to modify the alpine image instead of the builder imagehttps://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/10fix dead link in readme2018-08-19T20:19:31ZMike Crutemike@crute.usfix dead link in readme*Created by: waynenilsen*
*Created by: waynenilsen*
https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/11Improve Configurability & Additional Fixes2018-08-28T16:20:49ZJake Buchholz GöktürkImprove Configurability & Additional FixesCombining PR's #7, #8, #9, and #10.Combining PR's #7, #8, #9, and #10.https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/13Incorporate recent Alpine edge changes2018-09-05T14:39:49ZJake Buchholz GöktürkIncorporate recent Alpine edge changes* standardize on 'linux-virt' kernel
+ no longer need 'kernel_flavor' variable
+ always install 'aws-ena-driver' package
+ always enable ena_support
* switch to 'variables.yaml' for config
+ update build/convert script to st...* standardize on 'linux-virt' kernel
+ no longer need 'kernel_flavor' variable
+ always install 'aws-ena-driver' package
+ always enable ena_support
* switch to 'variables.yaml' for config
+ update build/convert script to stringify certain keys that may contain arrays
+ copy from 'variables.yaml-default' if it doesn't exist
* drop 'vpc' variable, using 'subnet' derives the proper VPC to use
* fix chrony.conf (all pool.ntp.org references are changed to 169.254.169.123)
* update README.md caveatshttps://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/14make edge2018-09-05T18:11:30ZJake Buchholz Göktürkmake edge* Add the ability to 'make edge' to create an AMI based on the latest Alpine edge repository
* Force 'ami_revision' to be 'rYYYYMMDDHHSS'
* Add the ability to 'make edge' to create an AMI based on the latest Alpine edge repository
* Force 'ami_revision' to be 'rYYYYMMDDHHSS'
https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/15"make edge"2018-09-07T15:11:04ZJake Buchholz Göktürk"make edge"* Add the ability to 'make edge' to create an AMI based on the latest Alpine edge repository
* Force 'ami_revision' to be 'rYYYYMMDDHHSS'
* Add the ability to 'make edge' to create an AMI based on the latest Alpine edge repository
* Force 'ami_revision' to be 'rYYYYMMDDHHSS'
https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/16make edge2018-09-11T16:57:38ZJake Buchholz Göktürkmake edge* Add the ability to 'make edge' to create an AMI based on the latest Alpine edge repository
* Force 'ami_revision' to be 'rYYYYMMDDHHMMSS'* Add the ability to 'make edge' to create an AMI based on the latest Alpine edge repository
* Force 'ami_revision' to be 'rYYYYMMDDHHMMSS'https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/18fixes and tweaks2018-12-02T19:16:40ZJake Buchholz Göktürkfixes and tweaks* aws-ena-driver moved from testing to community
* improve minimum release version test
* clarify public_ip variable; uses subnet's default when unset
* add 'distclean' Makefile target
* add 'variables.yaml_*' to .gitignore to exclud...* aws-ena-driver moved from testing to community
* improve minimum release version test
* clarify public_ip variable; uses subnet's default when unset
* add 'distclean' Makefile target
* add 'variables.yaml_*' to .gitignore to exclude custom build profileshttps://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/25resync with upstream2018-12-03T03:32:37ZJake Buchholz Göktürkresync with upstreamhttps://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/26fix issue #242018-12-03T03:58:50ZJake Buchholz Göktürkfix issue #24* Latest Amazon Linux enables 64bid when creating ext4 partitions, which is incompatible with syslinux/extlinux bootloader. Explicitly disable 64bit support, as it's highly unlikely we'll need a boot volume >16 TiB.
* update-extlinux.c...* Latest Amazon Linux enables 64bid when creating ext4 partitions, which is incompatible with syslinux/extlinux bootloader. Explicitly disable 64bit support, as it's highly unlikely we'll need a boot volume >16 TiB.
* update-extlinux.conf - switch kernel default to 'virt', as 'hardened' no longer exists.https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/27packer region tweak2018-12-30T20:39:44ZJake Buchholz Göktürkpacker region tweakA recent packer change (some time before 1.3.3) necessitates the setting of the build region, if packer is run outside of AWS.
Also, bumping release to be in sync with the recently released alpine 3.8.2.A recent packer change (some time before 1.3.3) necessitates the setting of the build region, if packer is run outside of AWS.
Also, bumping release to be in sync with the recently released alpine 3.8.2.https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/29mdev configs for linking NVMe devs --> EBS devs2019-01-19T20:22:56ZJake Buchholz Göktürkmdev configs for linking NVMe devs --> EBS devsThis allows things (i.e. CloudStor & REX-Ray docker plugins) that expect /dev/sdX and /dev/xvdX devices on the instance to work with NVMe devices on newer instance types.
Also, a recent packer change (some time before 1.3.3) necessita...This allows things (i.e. CloudStor & REX-Ray docker plugins) that expect /dev/sdX and /dev/xvdX devices on the instance to work with NVMe devices on newer instance types.
Also, a recent packer change (some time before 1.3.3) necessitates the setting of the build region, if packer is run outside of AWS.
Also-also, bumping release to be in sync with the recently released alpine 3.8.2.https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/31Alpine 3.8.2 updates2019-01-19T20:22:54ZJake Buchholz GöktürkAlpine 3.8.2 updates* no longer need aws-ena-driver, it's in linux-virt
* no longer need to install edge repo version of linux-virt package* no longer need aws-ena-driver, it's in linux-virt
* no longer need to install edge repo version of linux-virt packagehttps://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/33fix 3.8 ena drivers2019-01-19T20:00:15ZJake Buchholz Göktürkfix 3.8 ena drivers* go back to using `linux-virt@edge-main`, which has `ena` drivers -- fixes #32
* other misc fixes
* update `README`
* use `--no-cache` when installing alpine-base* go back to using `linux-virt@edge-main`, which has `ena` drivers -- fixes #32
* other misc fixes
* update `README`
* use `--no-cache` when installing alpine-basehttps://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/34Add add_svcs, fix nvme, add eu-north-12019-02-06T02:04:12ZJake Buchholz GöktürkAdd add_svcs, fix nvme, add eu-north-1Ability to enable additional services on the AMI's runlevels. I'm using this to add `haveged` to the boot runlevel to boost the amount of initial entropy on smaller instance types, so `sshd` can start in under 6s instead of over 2m. (I...Ability to enable additional services on the AMI's runlevels. I'm using this to add `haveged` to the boot runlevel to boost the amount of initial entropy on smaller instance types, so `sshd` can start in under 6s instead of over 2m. (I `rc-update del haveged boot` after `sshd` is up.) Example `variables.yaml` snippet:
```
add_svcs:
boot:
- haveged
default:
- docker
- nginx
```
There was also a race condition I encountered with the NVMe-to-EBS device mapping. Occasionally, the EBS device (`/dev/sdX`, `/dev/xvdX`) wasn't available the first time we tried to get it with `nvme id-ctrl`. Subsequent attempts succeed, however.
This PR also adds the new eu-north-1 (Stockholm) region.https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/36Re-baseline to the newly-released Alpine 3.92019-02-06T02:04:09ZJake Buchholz GöktürkRe-baseline to the newly-released Alpine 3.9* Match meanings of 'version' and 'release' to how Alpine uses them
* Use optional 'revision' to denote any same-release AMI rebuild
* Include CPU 'arch' in naming/description (may also offer 'aarch64' AMIs someday)
* Upgrade build in...* Match meanings of 'version' and 'release' to how Alpine uses them
* Use optional 'revision' to denote any same-release AMI rebuild
* Include CPU 'arch' in naming/description (may also offer 'aarch64' AMIs someday)
* Upgrade build instance to use Amazon Linux 2 AMIs
* Use env vars to pass details to `make_ami.sh` instead of via CLI parameters
* `make_ami.sh`
* minimum version/release shouldn't be overridable
* update APK tools & Alpine keys
* check build's release vs. installed `/etc/alpine-release`https://gitlab.alpinelinux.org/alpine/cloud/alpine-ec2-ami/-/merge_requests/38Release Alpine Linux 3.9.0 AMIs2019-02-08T01:29:39ZJake Buchholz GöktürkRelease Alpine Linux 3.9.0 AMIs* Update README.md and release.yaml with a fresh batch of 3.9.0 AMIs
* Append GitHub project link to AMI description* Update README.md and release.yaml with a fresh batch of 3.9.0 AMIs
* Append GitHub project link to AMI description