/nym-aws-infra

Deploy Nym infrastructure to AWS

Primary LanguageShell

Nym AWS Infrastructure

Setup

Install Nix

Enter a nix-shell (or use direnv):

nix-shell

Install dependencies:

pnpm run workspace--install

Create an .environment-config.yml file and fill in the placeholders with your AWS configuration

cp .environment-config.template.yml .environment-config.yml

Deploy

Manually create an EC2 Key Pair in AWS called `baseServiceKey` and store the PEM file securely.

Go to the corresponding stack folder and run:

pnpm deploy

SSH to a machine

ssh -o ServerAliveInterval=10 -i <PATH_TO_baseServiceKey_PEM> ubuntu@<PUBLIC_IPV4_ADDRESS>