Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
forked fromNixOS/amis

Home for NixOS AMI automation

License

NotificationsYou must be signed in to change notification settings

whs-dot-hk/amis

 
 

Repository files navigation

OpenSSF Scorecard

Join our Matrix Channel!

Github Action that regularly uploads AMIs for release channels

Note

The files in./modules areNOT being used yet and we are notbuilding images from this repository yet.Instead we are uploading the AMIs from this Hydra job:https://hydra.nixos.org/job/nixos/release-23.11/nixos.amazonImage.x86_64-linux

Setting up account

Some steps need to be done manually to set up the account. This is a one timeprocess. These are hard to automate with Terraform.

First opt in to all regions:

nix run .#enable-regions

You might get rate-limited so need to wait and rerun until all finish:

botocore.errorfactory.TooManyRequestsException: An error occurred (TooManyRequestsException) when calling the EnableRegion operation (reached max retries: 4): This request has exceeded the quota for 'Number of concurrent region-opt requests for an account'. Consider retrying the operation later once some requests have been completed.

Now wait until all regions are enabled. You can use:

aws account list-regions --region-opt-status-contains ENABLING

Then request a quota increase for the number of AMIs you want to publish.This will create support tickets in all regions. You can check the statusof the tickets in the AWS console. It might take a few days for the ticketsto be resolved.

nix run .#request-public-ami-quota-increase -- --desired-value 1000

Finally enable public AMIs:

nix run .#disable-image-block-public-access

About

Home for NixOS AMI automation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python39.8%
  • Nix23.2%
  • HCL17.9%
  • HTML17.4%
  • Shell1.7%

[8]ページ先頭

©2009-2025 Movatter.jp