Ex - Cloudflare has a flat-rate CDN that has no price changes based on bandwidth spikes, and is free for non-commercial use.
Cloudfront is free up to 1TB of egress.
BunnyCDN is a penny a GB.
etc...
And they basically all include DDOS mitigation - so if it's DDOS instead of actual traffic, you usually aren't billed for it.
Not to mention, you'll usually get much better regional performance, since they'll just cache it and serve it from a local instance closer to your user.
You're still going to pay egress with a VPS. So a CDN makes sense in either case.
Ex - Cloudflare has a flat-rate CDN that has no price changes based on bandwidth spikes, and is free for non-commercial use.
Cloudfront is free up to 1TB of egress.
BunnyCDN is a penny a GB.
etc...
And they basically all include DDOS mitigation - so if it's DDOS instead of actual traffic, you usually aren't billed for it.
Not to mention, you'll usually get much better regional performance, since they'll just cache it and serve it from a local instance closer to your user.
You're still going to pay egress with a VPS. So a CDN makes sense in either case.