Skip to content
cardano-node-wiki edited this page Aug 4, 2023 · 1 revision

Getting access to Linux at AWS

In order to build a node from source, run it and connect it to the Cardano mainnet, you need a Linux system with at least 4GB RAM and 24GB harddrive space. The RAM is mostly needed for building the node; for running it, 1GB would be sufficient. The harddrive space is necessary if you want to connect to and download the Cardano blockchain on mainnet. If you just want to set up a local testnet or connect to an external testnet, less space is needed.

If you do not have access to a computer running Linux, you can use Amazon Web Services (AWS) to create a cloud-based virtual machine running Linux for free. To do so, please follow the steps below:

  1. Go to Amazon Web Services (AWS) and create a (free) account if you do not have one already.

  2. Go to the AWS Management Console.

  3. Go to the EC2 Dashboard.

    AWS Management Console.

  4. If you already have a running instance, go to step 9.

  5. We first make sure to get enough harddrive space (at least 24GB). Click on Volumes.

    Volumes in the Management Console.

  6. Under Actions, select Modify Volume.

    Volume Actions.

  7. In the Modify Volume diaglog, select a size of 24 and click Modify, then confirm in the next dialog.

    Modify Volume.

  8. Go back to the EC2 Dashboard.

    EC2 Dashboard.

  9. Go to Launch Instance.

Launch Instance.

  1. As Amazon Machine Image, choose Amazon Linux 2 (HVM), SSD Volume Type, 64-bit (x86).

Amazon Machine Image.

  1. As Instance Type, choose t2.medium, then click Review and Launch and finally Launch on the next screen.

Instance Type.

  1. Create a key pair (or use an existing one).

Create a key pair.

  1. Connect to your instance.

Connect.

  1. You can use the EC2 Instance Connect connection method.

Choose connection method.

  1. Type echo hello (and Enter) to try whether the connection works. This should print "hello" to the console.

Trying the console.

Congratulations! You have now access to a machine running Linux.

Clone this wiki locally