Install NixOS on Amazon EC2: Difference between revisions

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
Haruki7049 (talk | contribs)
Add translate tag
Line 1: Line 1:
<translate>
Amazon EC2 is a widely used cloud deployment platform that is part of Amazon Web Services (AWS). NixOS largely supports the platform through AMIs and the [https://github.com/nix-community/nixos-generators nixos-generators] project.
Amazon EC2 is a widely used cloud deployment platform that is part of Amazon Web Services (AWS). NixOS largely supports the platform through AMIs and the [https://github.com/nix-community/nixos-generators nixos-generators] project.


Line 12: Line 13:


== Additional Resources ==
== Additional Resources ==
[http://jackkelly.name/blog/archives/2020/08/30/building_and_importing_nixos_amis_on_ec2/ Building and Importing NixOS AMIs on EC2] by Jack Kelly
[http://jackkelly.name/blog/archives/2020/08/30/building_and_importing_nixos_amis_on_ec2/ Building and Importing NixOS AMIs on EC2] by Jack Kelly


== Troubleshooting ==
== Troubleshooting ==
== SSH Asks For Password ==
== SSH Asks For Password ==
When connecting to a newly launched EC2 instance via SSH, it may ask for a password. This seems to be because the <code>amazon-init</code> systemd service is still reading user data. Back out of the current SSH attempt and try again in a few minutes.
When connecting to a newly launched EC2 instance via SSH, it may ask for a password. This seems to be because the <code>amazon-init</code> systemd service is still reading user data. Back out of the current SSH attempt and try again in a few minutes.
</translate>


[[Category:Deployment]]
[[Category:Deployment]]
[[Category:Server]]
[[Category:Server]]