AWS Route53 DDNS
- 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