#community-help

Monthly Cloud Product Billing and Usage Concerns

TLDR gab asked about monthly billing, usage restrictions, and potential security for the Typesense Cloud product. Kishore Nallan and Jason addressed these concerns, detailing how to control usage limits, avoid potential overcharges and suggested using Cloudflare DNS CNAMEs for DDOS protection. Bruno advised to use paging.

Powered by Struct AI
Aug 03, 2021 (30 months ago)
gab
Photo of md5-8be2a24edf7a95c9c74abce4b1130c3e
gab
06:36 AM
Hi,
how can I be charged periodically monthly for the cloud product?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
06:45 AM
Jason Can help in moving to a monthly billing later today.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
06:57 AM
gab Could you email [email protected] from the email address on file?
gab
Photo of md5-8be2a24edf7a95c9c74abce4b1130c3e
gab
06:58 AM
Ok I will send an email thanks
07:07
gab
07:07 AM
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.
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
07:10 AM
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.
gab
Photo of md5-8be2a24edf7a95c9c74abce4b1130c3e
gab
07:32 AM
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
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
08:51 AM
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.
Bruno
Photo of md5-0ca37054c6c9042aa04fcfb92cc7d99c
Bruno
03:39 PM
Throwing in the suggestion to implement paging by default with as low a limit as practical

Typesense

Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI

Indexed 3015 threads (79% resolved)

Join Our Community

Similar Threads