Occasional spikes in egress with no user activity
I have a Strapi project, and have been getting sudden spikes in egress of 800+ MB, almost everyday. My product does not get any visitors yet, which is evident in my analytics. Attaching images of the spike, logs and screenshot of analytics.
How can I find out what's going on?
Solution:Jump to solution
id recommend putting your app behind cloudflare and removing the railway provided domain, that way you can adjust policies in cloudflare to your needs
11 Replies
Project ID:
fa6dbc09-b00a-4968-a736-60d939742cea
fa6dbc09-b00a-4968-a736-60d939742cea
I am connecting with the database private url
Ref: https://docs.strapi.io/dev-docs/configurations/database#connection-parameters
Database | Strapi Documentation
Strapi offers a single entry point file to configure its databases.
could be bots or scanners, unfortunately some http based access logs are not going to provide you with enough insight.
Solution
id recommend putting your app behind cloudflare and removing the railway provided domain, that way you can adjust policies in cloudflare to your needs
Thanks for the answer Brody!
I generally use a custom domain in any public call.
Your suggestion will be to put this custom domain behind cloudflare and use the URL provided by them in my API calls?
Apologies if this is too basic, but I am doing it for the first time. π
your custom domain will be with cloudflare and thus protected by them, you need to use cloudflare's nameservers for that.
https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
Thanks. WIll do this tonight and closely monitor it for the next 2 weeks. π
sounds good!
Hi. I am still getting high egress cost. I have internal database url, but it looks like "Egress" is coming from the strapi project. I'd love to get a direction to look in. π
does that project only have those two services?