Install NixOS on Amazon EC2: Difference between revisions

imported>Tamiyo
Additional Resources: ssh sometimes asks for password
imported>Kimat
m 23.11 image is not available on that list cf. https://discourse.nixos.org/t/ami-for-nixos-23-11/36860/7
Line 3: Line 3:
== Public NixOS AMIs ==
== Public NixOS AMIs ==


A list of NixOS AMI's available on AWS is located [https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/amazon-ec2-amis.nix here].
A list of NixOS AMI's available on AWS is located [https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/amazon-ec2-amis.nix here] and for a more up to date list: [https://nixos.github.io/amis/ here] (cf. [https://discourse.nixos.org/t/ami-for-nixos-23-11/36860/7 this discourse thread]).


The default user for these AMI's is <code>root</code>. There isn't a default password, instead authentication is done by using the SSH key selected during the EC2 creation process.
The default user for these AMI's is <code>root</code>. There isn't a default password, instead authentication is done by using the SSH key selected during the EC2 creation process.