Cloudformation template for automated deployment of lspd, bitcoind and cln with postgresql backend.
- AWS account
- AWS SES configured
Cloudformation template will automatically deploy several things:
- new ec2 instance (m6a.xlarge) to your selected VPC
- bitcoind
- cln (with postgresql as backend)
- lspd
Edit file /home/lspd/.env
.
- set your SES credentials:
AWS_REGION="<REPLACE ME>"
AWS_ACCESS_KEY_ID="<REPLACE ME>"
AWS_SECRET_ACCESS_KEY="<REPLACE ME>"
- configure email
OPENCHANNEL_NOTIFICATION_TO='["REPLACE ME <[email protected]>"]'
OPENCHANNEL_NOTIFICATION_CC='["REPLACE ME <[email protected]>"]'
OPENCHANNEL_NOTIFICATION_FROM="[email protected]"
CHANNELMISMATCH_NOTIFICATION_TO='["REPLACE ME <[email protected]>"]'
CHANNELMISMATCH_NOTIFICATION_CC='["REPLACE ME <[email protected]>"]'
CHANNELMISMATCH_NOTIFICATION_FROM="[email protected]"
All credentials are generated automatically and are written down in /home/lspd/credentials.txt
Store them securely and delete the file.
Log file of deployment is written to /tmp/deployment.log
where you can see the entire output of what happend during deployment.