Mentioning that AZs need to be updated

This commit is contained in:
Antoine Dusséaux
2021-09-04 19:24:45 +01:00
committed by GitHub
parent df6355bda2
commit af2f55b2c5

View File

@@ -6,10 +6,12 @@ This project makes it really easy (or at least as easy as it can be) to run a li
- Install the CDK CLI (https://docs.aws.amazon.com/cdk/latest/guide/cli.html) - Install the CDK CLI (https://docs.aws.amazon.com/cdk/latest/guide/cli.html)
## Instructions ## Instructions
1. cd into the `thundercloud` root and do `npm install`. 0. update "lightningnode-stack.ts" depending on your Availability Zones (AZs)
2. run `cdk bootstrap` (only needed once per account) and then `cdk deploy` 1. cd into the `ThunderCloud` root and do `npm install`
3. watch the pretty bars fill up 2. run `cdk bootstrap` (only needed once per account)
4. It will spit out something like this: 3. run `cdk deploy`
4. watch the pretty bars fill up
5. It will spit out something like this:
``` ```
Outputs: Outputs:
ThundercloudStack.DownloadKeyCommand = aws secretsmanager get-secret-value --secret-id ec2-ssh-key/cdk-keypair/private --query SecretString --output text > cdk-key.pem && chmod 400 cdk-key.pem ThundercloudStack.DownloadKeyCommand = aws secretsmanager get-secret-value --secret-id ec2-ssh-key/cdk-keypair/private --query SecretString --output text > cdk-key.pem && chmod 400 cdk-key.pem
@@ -57,4 +59,4 @@ No. Maybe it will in the future. Right now it's lncli and bos only.
- use ec2 instance-connect instead of the ssh key - use ec2 instance-connect instead of the ssh key
## Credits ## Credits
Most of the lnd.conf and the systemd unit script were cribbed from Alex Bosworth's run-lnd repo (https://github.com/alexbosworth/run-lnd) Most of the lnd.conf and the systemd unit script were cribbed from Alex Bosworth's run-lnd repo (https://github.com/alexbosworth/run-lnd)