-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,31 @@ | ||
# NixOS AMIs | ||
|
||
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/arianvp/amis/badge)](https://securityscorecards.dev/viewer/?uri=github.com/arianvp/amis) | ||
|
||
Temporary home for the soon to be official NixOS AMIs | ||
|
||
## Costs and Sponorship | ||
## Setting up account | ||
|
||
Some steps need to be done manually to set up the account. This is a one time | ||
process. These are hard to automate with Terraform. | ||
|
||
First opt in to all regions: | ||
|
||
```bash | ||
nix run .#enable-regions | ||
``` | ||
|
||
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 status | ||
of the tickets in the AWS console. It might take a few days for the tickets | ||
to be resolved. | ||
|
||
```bash | ||
nix run .#request-public-ami-quota-increase -- --desired-value 1000 | ||
``` | ||
|
||
Testing all this and storing all the AMIs whilst I figure out moving this to the | ||
NixOS Foundation costs me non-significant amount of money. If you think this | ||
cause is worthwhile please consider sponsoring me through Github Sponsors. | ||
Finally enable public AMIs: | ||
|
||
Each image is `4GB` in size at the moment. EBS Snapshots cost `$0.05` per GB | ||
per month. So each image costs `$0.20` per month to store. We replicate across | ||
all 32 AWS regions so that's `$6.40` per month per image. | ||
```bash | ||
nix run .#disable-image-block-public-access | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters