Install NixOS on Amazon EC2/ja: Difference between revisions

From NixOS Wiki
Haruki7049 (talk | contribs)
Created page with "新しく起動したEC2インスタンスにSSH経由で接続すると、パスワードを要求される場合があります。これは、<code>amazon-init</code>systemdサービスがまだユーザーデータを読み取っているためと思われます。現在のSSH接続試行を中止し、数分後にもう一度試してください。"
FuzzyBot (talk | contribs)
Updating to match new version of source page
Line 1: Line 1:
<languages />
<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
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.

Revision as of 12:43, 5 November 2024

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 nixos-generators project.

NixOSのパブリックAMI

A list of NixOS AMI's available on AWS is located here and for a more up to date list: here (cf. this discourse thread).

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

NixOSのAMIを作成する

The nixos-generators project is currently the best method to create your own NixOS AMI. Follow the directions provided by nixos-generators & then follow the instructions provided by AWS.

その他の資料

トラブルシューティング

SSHがパスワードを尋ねてくる場合

新しく起動したEC2インスタンスにSSH経由で接続すると、パスワードを要求される場合があります。これは、amazon-initsystemdサービスがまだユーザーデータを読み取っているためと思われます。現在のSSH接続試行を中止し、数分後にもう一度試してください。