Resource icon

Tutorial DDNS with AWS Lambda and Route53

Currently reading
Tutorial DDNS with AWS Lambda and Route53

NAS
DS214Play
Richard submitted a new resource:

DDNS with AWS Lambda and Route53 - Steps and sample code to setup DDNS with AWS Lambda and Route53

Step 1: Create a new Lambda function
Login to AWS
Go to: Services > Lambda
Click “Create function”
Select “Author from scratch”
Fill in the “Function name” field with whatever name you like
Select Node.js 10.x from “Runtime”
View attachment 351
Click “Create function”.

Step 1.1: Add a Trigger
In the “Designer” component, select “Add trigger”
Under “Select a trigger”, select “API Gateway” (it should be the first in the list).
Under...
Read more about this resource...
 
Is the free tier sufficient? I am sure Lambdas are covered up to millions of calls, but is Route53 going to cost?
I am running a VPS with my own dyndns services - which bases on a simple container that applies the changes to the DNS-API of my provider. Though, the lamda version is way more sexy :)
 
NAS
DS214Play
but is Route53 going to cost?
It currently costs $0.50 per "Hosted Zone" per month. In other words, per domain per month, but you can sub-domain until your heart's content at no extra cost. I don't think Lambda is even worth trying to calculate, but that said, the only unknown here is how Synology's DDNS service actually works, and how many requests it's going to make (can't imagine it's more than one per hour, max).

Though, the lamda version is way more sexy :)
I really like it because I already use AWS, but it might be more hassle than it's worth for most people. The tutorial makes it look harder than it is though, because I wanted to detail every single step, just to make it fool-poof. It should only take 10 minutes once you get started.
 
NAS
DS215
This is fantastic, but I can't get it to work... I've been thinking about this for ages!
DS says
1572633108051.png

If I call the API endpoint in a browser I get:

1572633297878.png

Is there a way I can easily/successfully test or troubleshoot the API?


Thanks,

Declan
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Top