I've had a sudden spike in bandwidth on my #Netlify account (that powers Cybercultural.com), and it's not correlated with an increase in traffic.
-
Richard MacManusreplied to Simon Cox :SEO: last edited by
@simoncox ok thanks. The bandwidth continues to be drained on my Netlify a.c, so I think I have no option but to switch it to Cloudflare. I am having an issue setting up redirects there, but the site itself is showing ok.
-
Richard MacManusreplied to Richard MacManus last edited by
So just to illustrate my Netlify issue, the last 2 *days* I’ve had more bandwidth used than I usually use in 2 months. As I noted, there is no attendant spike in traffic to my site. So it must be some kind of DOS attack or an over-zealous bot(s). And at this rate, I will get a $55 bill from Netlify every 2 days. It’s nuts that this is even possible from a billing perspective. No reply yet from Netlify Support.
-
Richard MacManusreplied to Richard MacManus last edited by
The DNS change to Cloudflare is propagating, and it is just a question of whether it will finish before Netlify charges me another $55 (I am still on the free plan and am not planning to enter my credit card into their system! i.e. not upgrading to Pro to alleviate the situation).
-
Richard MacManusreplied to Richard MacManus last edited by
I realize nobody gives a shit about my Netlify bandwidth dilemma, but if you can’t shout into the void about these matters, what’s the point of social media?
-
Bob Monsourreplied to Richard MacManus last edited by
@ricmac As a free-tier Netlify account holder with multiple sites there, I do give a shit…I just wish there was a clear answer. Makes me want to examine Cloudflare more closely as an option.
-
Simon Cox :SEO:replied to Richard MacManus last edited by
Oh the redirects file I have is exactly the same name and format for Cloudflare and Netlify!
_redirets
/old.html /new 301
Although there are extra bits I have set up in the Netlify one like the :splat for the spare domains redirects I have parked on my own site.
-
Richard MacManusreplied to Simon Cox :SEO: last edited by
@simoncox I was using a toml file for Netlify redirects, but I am using a yaml one for Cloudflare (admittedly, on ChatGPT’s instructions). It’s possible I am just doing the wrong thing, but I will look at it again tomorrow.
-
Richard MacManusreplied to Bob Monsour last edited by
@bobmonsour I will keep you all informed. Definitely a concern…imagine if I was on holiday and returned to find a $1000 bill from Netlify!
-
Sara Joy :happy_pepper:replied to Richard MacManus last edited by
@ricmac @bobmonsour didn't some guy get landed with a 100k bill after a bunch of people went nuts downloading an mp3 from his site?
-
Sara Joy :happy_pepper:replied to Sara Joy :happy_pepper: last edited by
@ricmac @bobmonsour also, I use Netlify a lot. Yeah, it does worry me a bit. I keep meaning to move stuff away and never do because it's so convenient...
-
Richard MacManusreplied to Sara Joy :happy_pepper: last edited by
@sarajw @bobmonsour I agree, and I generally like Netlify as a company, as they support the web. But this situation is not a good look for them, as large bills can easily be racked up — they automatically charge you for add-ons as each 100GB passes. I still don’t know what is causing the bandwidth spike.
-
Sara Joy :happy_pepper:replied to Richard MacManus last edited by
@ricmac @bobmonsour yeah I mean after that 104k debacle I was pretty bothered - guess I pushed it to the back of my mind. I have so many little random sites online on Netlify like, I guess any one of them could go wild...
-
Sara Joy :happy_pepper:replied to Sara Joy :happy_pepper: last edited by
@ricmac @bobmonsour do you have any big interesting files on there which people might be downloading?
-
Richard MacManusreplied to Sara Joy :happy_pepper: last edited by
@sarajw @bobmonsour No, it’s just text and images. It started yesterday when I published my latest weekly post (Cybercultural.com), so I did wonder if it might have anything to do with the Buttondown emails I send out (which use images on the server)…but 56GB is a hell of a lot of bandwidth, so I find the email scenario hard to believe. It has to be a DOS or bot attack…
-
Martin Grubingerreplied to Richard MacManus last edited by
@ricmac @sarajw @bobmonsour a while ago I read about posting links to Mastodon can cause traffic spikes because every instance of your followers goes and fetches the content. Not sure if that's what's happening, but maybe something to consider.
I only found this link now https://natenom.de/2022/05/auswirkungen-von-dezentralitaet-mastodon-fediverse-traffic-und-last-fuer-webserver/ -
Szymon Nowickireplied to Sara Joy :happy_pepper: last edited by
@sarajw @ricmac @bobmonsour had the same dilemma and moved to cloudflare pages / workers. Tbh it’s much better overall.
-
Szymon Nowickireplied to Szymon Nowicki last edited by
@sarajw @ricmac @bobmonsour also had fear that one day I will wake up with a million euro invoice in AWS and finally moved everything to a mix of cloudflare, Hetzner and my own server.
I sleep better now knowing that worst case they will shut down my service instead of happily bill be fortune.
-
Sara Joy :happy_pepper:replied to Szymon Nowicki last edited by
@hey @ricmac @bobmonsour the biggest thing holding me in Netlify right now is the very handy spam-filtered Forms handling. I guess I can do that in cloudflare with a worker and key-value storage...
-
Szymon Nowickireplied to Sara Joy :happy_pepper: last edited by
@sarajw @ricmac @bobmonsour it should do with their plugins like hCaptcha.
I like in Pages that they nicely integrated workers into it so we don't have to choose one or another any more
Create a HTML form | Cloudflare Pages docs
In this tutorial, you will create a simple <form> using plain HTML and CSS and deploy it to Cloudflare Pages. While doing so, you will learn about some of the HTML form attributes and how to collect submitted data within a Worker.
Cloudflare Docs (developers.cloudflare.com)
Back when kukei.eu was still on CF Pages I managed to make entire dynamic server side rendering there without too much trouble
GitHub - Kukei-eu/kukei-web at 1809f56f528a6da7e379495cf79a2b3e1e1d0190
Contribute to Kukei-eu/kukei-web development by creating an account on GitHub.
GitHub (github.com)
Also did some notes if you're interested
Kukei.eu
Notes about how I started a new project - a curated search engine for web developers. How it started and how it's going...
(nowicki.io)