Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 469 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 469 Bytes

R53-DDNS

AWS Route53 DDNS

Installation

  • Install modules
git clone https://github.com/rakiyoshi/r53-ddns.git
npm install -g serverless
  • Edit env file
cp env/dev.yml.sample env/dev.yml
vi env/dev.yml
cp env/prod.yml.sample env/prod.yml
vi env/prod.yml
  • Deploy Lambda and API Gateway
sls deploy -v --stage dev
  • Cron
crontab -e
0 * * * * R53_DDNS_API_KEY=<API_KEY> /path/to/repo/r53-ddns/update.sh