awslabs / route53-dynamic-dns-with-lambda

A Dynamic DNS system built with API Gateway, Lambda & Route 53.
Apache License 2.0
486 stars 167 forks source link

dynamodb billing mode #29

Closed hounded closed 5 years ago

hounded commented 5 years ago

Not sure if dynamo supported pay per request when you wrote this, but how do you feel about changing the billing mode to BillingMode: PAY_PER_REQUEST If you are happy can make a pull request

seangreathouse commented 5 years ago

Hey,
I would welcome a PR.
In keeping with the rest of the project, I'd like to see the option exposed as a parameter.
I'll think on which should be the default, but am open to your thoughts as well.
After a quick review of our pricing it looks like provisioned capacity is cheaper if you don't have other DDB tables deployed and can fall under the free tier.
On demand is cheaper if you already have exceeded free tier.
Either way it's inexpensive.

hounded commented 5 years ago

Yeah you are right, if peeps have multiply dynamodb's then they can just tweak it to suit them. Appreciate your time and work put in Thanks, James