diff options
author | tomalok <tomalok@gmail.com> | 2019-02-25 18:09:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-25 18:09:09 -0800 |
commit | e65e381b20b855cbd1d9f70adafd09054f9c2154 (patch) | |
tree | e659d61f5468eb6861df08bae3b59dde631f2bd9 | |
parent | d92bbfc7c98655640caf5d7a05f64ec4273950e2 (diff) | |
download | alpine-ec2-ami-e65e381b20b855cbd1d9f70adafd09054f9c2154.tar.bz2 alpine-ec2-ami-e65e381b20b855cbd1d9f70adafd09054f9c2154.tar.xz alpine-ec2-ami-e65e381b20b855cbd1d9f70adafd09054f9c2154.zip |
release 3.9.0-1 (#42)
Release a revised set of Alpine Linux AMIs, including...
* improved nvme-ebs-links mdev script (issue #40)
* start haveged at boot runlevel (issue #39)
-rw-r--r-- | README.md | 37 | ||||
-rwxr-xr-x | make_ami.sh | 11 | ||||
-rw-r--r-- | release.yaml | 40 | ||||
-rw-r--r-- | variables.yaml-default | 2 |
4 files changed, 48 insertions, 42 deletions
@@ -25,28 +25,33 @@ in the not-too-distant future.* | |||
25 | 25 | ||
26 | | Alpine Release | Region Code | AMI ID | | 26 | | Alpine Release | Region Code | AMI ID | |
27 | | :------------: | ----------- | ------ | | 27 | | :------------: | ----------- | ------ | |
28 | | 3.9.0 | ap-northeast-1 | [ami-025126171658214aa](https://ap-northeast-1.console.aws.amazon.com/ec2/home#launchAmi=ami-025126171658214aa) | | 28 | | 3.9.0-1 | ap-northeast-1 | [ami-0eaff92f5f149a429](https://ap-northeast-1.console.aws.amazon.com/ec2/home#launchAmi=ami-0eaff92f5f149a429) | |
29 | | 3.9.0 | ap-northeast-2 | [ami-05094dd0e72c458fb](https://ap-northeast-2.console.aws.amazon.com/ec2/home#launchAmi=ami-05094dd0e72c458fb) | | 29 | | 3.9.0-1 | ap-northeast-2 | [ami-0def256d4730ba94a](https://ap-northeast-2.console.aws.amazon.com/ec2/home#launchAmi=ami-0def256d4730ba94a) | |
30 | | 3.9.0 | ap-south-1 | [ami-07cb8c31eabcd3b4e](https://ap-south-1.console.aws.amazon.com/ec2/home#launchAmi=ami-07cb8c31eabcd3b4e) | | 30 | | 3.9.0-1 | ap-south-1 | [ami-026f34bef63412f33](https://ap-south-1.console.aws.amazon.com/ec2/home#launchAmi=ami-026f34bef63412f33) | |
31 | | 3.9.0 | ap-southeast-1 | [ami-0928dec71013505b0](https://ap-southeast-1.console.aws.amazon.com/ec2/home#launchAmi=ami-0928dec71013505b0) | | 31 | | 3.9.0-1 | ap-southeast-1 | [ami-04a2ad17b9b13d4ec](https://ap-southeast-1.console.aws.amazon.com/ec2/home#launchAmi=ami-04a2ad17b9b13d4ec) | |
32 | | 3.9.0 | ap-southeast-2 | [ami-0a5abea120f732aea](https://ap-southeast-2.console.aws.amazon.com/ec2/home#launchAmi=ami-0a5abea120f732aea) | | 32 | | 3.9.0-1 | ap-southeast-2 | [ami-03c7885750c554d30](https://ap-southeast-2.console.aws.amazon.com/ec2/home#launchAmi=ami-03c7885750c554d30) | |
33 | | 3.9.0 | ca-central-1 | [ami-08548db765868091d](https://ca-central-1.console.aws.amazon.com/ec2/home#launchAmi=ami-08548db765868091d) | | 33 | | 3.9.0-1 | ca-central-1 | [ami-0ef17552c0ecbfc4e](https://ca-central-1.console.aws.amazon.com/ec2/home#launchAmi=ami-0ef17552c0ecbfc4e) | |
34 | | 3.9.0 | eu-central-1 | [ami-0a42df7e65590651e](https://eu-central-1.console.aws.amazon.com/ec2/home#launchAmi=ami-0a42df7e65590651e) | | 34 | | 3.9.0-1 | eu-central-1 | [ami-036c913a519569a6d](https://eu-central-1.console.aws.amazon.com/ec2/home#launchAmi=ami-036c913a519569a6d) | |
35 | | 3.9.0 | eu-north-1 | [ami-08b5a6088d1592e5b](https://eu-north-1.console.aws.amazon.com/ec2/home#launchAmi=ami-08b5a6088d1592e5b) | | 35 | | 3.9.0-1 | eu-north-1 | [ami-0e86b5fc1e6414006](https://eu-north-1.console.aws.amazon.com/ec2/home#launchAmi=ami-0e86b5fc1e6414006) | |
36 | | 3.9.0 | eu-west-1 | [ami-07bf2c996b3bec293](https://eu-west-1.console.aws.amazon.com/ec2/home#launchAmi=ami-07bf2c996b3bec293) | | 36 | | 3.9.0-1 | eu-west-1 | [ami-069efddebf851614d](https://eu-west-1.console.aws.amazon.com/ec2/home#launchAmi=ami-069efddebf851614d) | |
37 | | 3.9.0 | eu-west-2 | [ami-07642a3118c43a4e6](https://eu-west-2.console.aws.amazon.com/ec2/home#launchAmi=ami-07642a3118c43a4e6) | | 37 | | 3.9.0-1 | eu-west-2 | [ami-0aa8ab64c1c6a2a3a](https://eu-west-2.console.aws.amazon.com/ec2/home#launchAmi=ami-0aa8ab64c1c6a2a3a) | |
38 | | 3.9.0 | eu-west-3 | [ami-0916d5db3c81d60ce](https://eu-west-3.console.aws.amazon.com/ec2/home#launchAmi=ami-0916d5db3c81d60ce) | | 38 | | 3.9.0-1 | eu-west-3 | [ami-00d39f7e016c2dd2b](https://eu-west-3.console.aws.amazon.com/ec2/home#launchAmi=ami-00d39f7e016c2dd2b) | |
39 | | 3.9.0 | sa-east-1 | [ami-0a96fe9195efbba2b](https://sa-east-1.console.aws.amazon.com/ec2/home#launchAmi=ami-0a96fe9195efbba2b) | | 39 | | 3.9.0-1 | sa-east-1 | [ami-028a5b577032629ee](https://sa-east-1.console.aws.amazon.com/ec2/home#launchAmi=ami-028a5b577032629ee) | |
40 | | 3.9.0 | us-east-1 | [ami-00e433019a9c7aa76](https://us-east-1.console.aws.amazon.com/ec2/home#launchAmi=ami-00e433019a9c7aa76) | | 40 | | 3.9.0-1 | us-east-1 | [ami-0b62ea2089812c46b](https://us-east-1.console.aws.amazon.com/ec2/home#launchAmi=ami-0b62ea2089812c46b) | |
41 | | 3.9.0 | us-east-2 | [ami-029e1787b7a57b032](https://us-east-2.console.aws.amazon.com/ec2/home#launchAmi=ami-029e1787b7a57b032) | | 41 | | 3.9.0-1 | us-east-2 | [ami-083b8d0f14c76dfd7](https://us-east-2.console.aws.amazon.com/ec2/home#launchAmi=ami-083b8d0f14c76dfd7) | |
42 | | 3.9.0 | us-west-1 | [ami-0091bd0c0b9ad4b6b](https://us-west-1.console.aws.amazon.com/ec2/home#launchAmi=ami-0091bd0c0b9ad4b6b) | | 42 | | 3.9.0-1 | us-west-1 | [ami-0dd01136582d41914](https://us-west-1.console.aws.amazon.com/ec2/home#launchAmi=ami-0dd01136582d41914) | |
43 | | 3.9.0 | us-west-2 | [ami-0fa1d403af627f066](https://us-west-2.console.aws.amazon.com/ec2/home#launchAmi=ami-0fa1d403af627f066) | | 43 | | 3.9.0-1 | us-west-2 | [ami-0efc4434c74bde9fe](https://us-west-2.console.aws.amazon.com/ec2/home#launchAmi=ami-0efc4434c74bde9fe) | |
44 | 44 | ||
45 | ## Caveats | 45 | ## Caveats |
46 | 46 | ||
47 | This image is being used in production but it's still somewhat early stage in | 47 | This image is being used in production but it's still somewhat early stage in |
48 | its development and thus there are some sharp edges. | 48 | its development and thus there are some sharp edges. |
49 | 49 | ||
50 | - As of 3.9.0-1, this AMI starts `haveged` at the boot runlevel, to provide | ||
51 | additional initial entropy as discussed in issue #39. In the long term, we | ||
52 | expect the official Alpine Linux kernel configs will be updated to resolve | ||
53 | the situation. | ||
54 | |||
50 | - Only EBS-backed HVM instances are supported. While paravirtualized instances | 55 | - Only EBS-backed HVM instances are supported. While paravirtualized instances |
51 | are still available from AWS they are not supported on any of the newer | 56 | are still available from AWS they are not supported on any of the newer |
52 | hardware so it seems unlikely that they will be supported going forward. | 57 | hardware so it seems unlikely that they will be supported going forward. |
diff --git a/make_ami.sh b/make_ami.sh index 8c00a6c..d6c65f7 100755 --- a/make_ami.sh +++ b/make_ami.sh | |||
@@ -142,8 +142,9 @@ install_core_packages() { | |||
142 | chroot "$target" apk --no-cache add \ | 142 | chroot "$target" apk --no-cache add \ |
143 | linux-virt \ | 143 | linux-virt \ |
144 | alpine-mirrors \ | 144 | alpine-mirrors \ |
145 | nvme-cli \ | ||
146 | chrony \ | 145 | chrony \ |
146 | haveged \ | ||
147 | nvme-cli \ | ||
147 | openssh \ | 148 | openssh \ |
148 | sudo \ | 149 | sudo \ |
149 | tiny-ec2-bootstrap \ | 150 | tiny-ec2-bootstrap \ |
@@ -240,10 +241,10 @@ enable_services() { | |||
240 | local target="$1" | 241 | local target="$1" |
241 | local add_svcs="$2" | 242 | local add_svcs="$2" |
242 | 243 | ||
243 | rc_add "$target" default sshd chronyd networking tiny-ec2-bootstrap | 244 | rc_add "$target" default chronyd networking sshd tiny-ec2-bootstrap |
244 | rc_add "$target" sysinit devfs dmesg mdev hwdrivers | 245 | rc_add "$target" sysinit devfs dmesg hwdrivers mdev |
245 | rc_add "$target" boot modules hwclock swap hostname sysctl bootmisc syslog acpid | 246 | rc_add "$target" boot acpid bootmisc haveged hostname hwclock modules swap sysctl syslog |
246 | rc_add "$target" shutdown killprocs savecache mount-ro | 247 | rc_add "$target" shutdown killprocs mount-ro savecache |
247 | 248 | ||
248 | if [ -n "$add_svcs" ]; then | 249 | if [ -n "$add_svcs" ]; then |
249 | local lvl_svcs; for lvl_svcs in $(echo "$add_svcs" | tr : ' '); do | 250 | local lvl_svcs; for lvl_svcs in $(echo "$add_svcs" | tr : ' '); do |
diff --git a/release.yaml b/release.yaml index 505a34d..1613db7 100644 --- a/release.yaml +++ b/release.yaml | |||
@@ -1,22 +1,22 @@ | |||
1 | alpine-ami-3.9.0-x86_64: | 1 | alpine-ami-3.9.0-1-x86_64: |
2 | description: "Alpine Linux 3.9.0 x86_64" | 2 | description: "Alpine Linux 3.9.0-1 x86_64" |
3 | alpine-release: 3.9.0 | 3 | alpine-release: 3.9.0-1 |
4 | kernel-flavor: virt | 4 | kernel-flavor: virt |
5 | ami-release-date: "2019-02-06 01:42:52" | 5 | ami-release-date: "2019-02-24 21:18:47" |
6 | region-identifiers: | 6 | region-identifiers: |
7 | ap-northeast-1: ami-025126171658214aa | 7 | ap-northeast-1: ami-0eaff92f5f149a429 |
8 | ap-northeast-2: ami-05094dd0e72c458fb | 8 | ap-northeast-2: ami-0def256d4730ba94a |
9 | ap-south-1: ami-07cb8c31eabcd3b4e | 9 | ap-south-1: ami-026f34bef63412f33 |
10 | ap-southeast-1: ami-0928dec71013505b0 | 10 | ap-southeast-1: ami-04a2ad17b9b13d4ec |
11 | ap-southeast-2: ami-0a5abea120f732aea | 11 | ap-southeast-2: ami-03c7885750c554d30 |
12 | ca-central-1: ami-08548db765868091d | 12 | ca-central-1: ami-0ef17552c0ecbfc4e |
13 | eu-central-1: ami-0a42df7e65590651e | 13 | eu-central-1: ami-036c913a519569a6d |
14 | eu-north-1: ami-08b5a6088d1592e5b | 14 | eu-north-1: ami-0e86b5fc1e6414006 |
15 | eu-west-1: ami-07bf2c996b3bec293 | 15 | eu-west-1: ami-069efddebf851614d |
16 | eu-west-2: ami-07642a3118c43a4e6 | 16 | eu-west-2: ami-0aa8ab64c1c6a2a3a |
17 | eu-west-3: ami-0916d5db3c81d60ce | 17 | eu-west-3: ami-00d39f7e016c2dd2b |
18 | sa-east-1: ami-0a96fe9195efbba2b | 18 | sa-east-1: ami-028a5b577032629ee |
19 | us-east-1: ami-00e433019a9c7aa76 | 19 | us-east-1: ami-0b62ea2089812c46b |
20 | us-east-2: ami-029e1787b7a57b032 | 20 | us-east-2: ami-083b8d0f14c76dfd7 |
21 | us-west-1: ami-0091bd0c0b9ad4b6b | 21 | us-west-1: ami-0dd01136582d41914 |
22 | us-west-2: ami-0fa1d403af627f066 | 22 | us-west-2: ami-0efc4434c74bde9fe |
diff --git a/variables.yaml-default b/variables.yaml-default index 61d4b8c..817efc6 100644 --- a/variables.yaml-default +++ b/variables.yaml-default | |||
@@ -20,7 +20,7 @@ public_ip: "" | |||
20 | 20 | ||
21 | # Uncomment/increment every for every rebuild of an Alpine release; | 21 | # Uncomment/increment every for every rebuild of an Alpine release; |
22 | # re-comment/zero for every new Alpine release | 22 | # re-comment/zero for every new Alpine release |
23 | #revision: "-0" | 23 | revision: "-1" |
24 | 24 | ||
25 | # AMI name prefix and suffix | 25 | # AMI name prefix and suffix |
26 | ami_name_prefix: "alpine-ami-" | 26 | ami_name_prefix: "alpine-ami-" |