Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • alpine-ec2-ami alpine-ec2-ami
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • cloudcloud
  • alpine-ec2-amialpine-ec2-ami
  • Merge requests
  • !34

Add add_svcs, fix nvme, add eu-north-1

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jake Buchholz Göktürk requested to merge add_svcs/fix_nvme/add_eu-north-1 into master Jan 21, 2019
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 7

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: add_svcs/fix_nvme/add_eu-north-1