Hi, how can I be charged periodically monthly for ...
# community-help
g
Hi, how can I be charged periodically monthly for the cloud product?
k
@Jason Bosco Can help in moving to a monthly billing later today.
j
@gab gab Could you email contact@typesense.org from the email address on file?
g
Ok I will send an email thanks
Another question, is there a way so I can set a maximum chargeable amount per month? Moreover, can we have a kind of charging folloup in the billing period like: 50% budget used, 100%, 150%? I would like to avoid any undesirable usage.
k
Typesense does not have any usage based charges except for bandwidth which is unlikely to cause any dent. The cluster size has a fixed charge per month.
g
Ok i see, I will try to focus on undesirable bandwidth usage. I'm not sure we can restrict api keys to some dedicated referers, isn't it ? I'm currently attacking directly my Typesense api from the front application. It seems now a must to proxy those call from my server if I need to apply some basics restrictions like ensuring requests comes from my application. It seems also I have to work on
maxQuery
by api keys or something like that. Even if it highly depends on the Typesense integration and use cases it seems like basic security aspects concerning the api usage. Not sure how other are handling it. Would you have any suggestions about those concerns? Thanks
k
There's a parameter called "limit_hits" using which you can prevent more than X number of results from being returned. If you embed this parameter as part of a scoped API key, you can ensure that the limits are limited and cannot be scraped easily by fetching many results at one go. That said, one easy way to get DDOS protection currently is to setup Cloudflare DNS CNAMEs for each of the Typesense Cloud hostnames and proxy your requests via Cloudflare.
b
Throwing in the suggestion to implement paging by default with as low a limit as practical