Install NixOS on Amazon EC2: Difference between revisions
imported>Samueldr m This page may be outdated, it was referred in a 2015 issue on `nixos-homepage` as outdated https://github.com/NixOS/nixos-homepage/issues/37 |
imported>Tomberek No edit summary |
||
| Line 86: | Line 86: | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
$ NIXOS=/path/to/nixos NIXPKGS=/path/to/nixpkgs /path/to/nixos/maintainers/scripts/create-amis.sh</syntaxhighlight> | $ NIXOS=/path/to/nixos NIXPKGS=/path/to/nixpkgs /path/to/nixos/maintainers/scripts/ec2/create-amis.sh</syntaxhighlight> | ||
You may need to edit the regions and stateDir variables in the create-amis.sh script. | |||
This will build, bundle and upload AMIs to several EC2 regions. Note that the resulting AMIs will be public. | This will build, bundle and upload AMIs to several EC2 regions. Note that the resulting AMIs will be public. | ||