Question

Spaces CDN DoS protection, bandwidth and limits

Hello!

I was thinking in using Spaces as the object storage for a side proejct, and I have some questions about it:

  • Does DO Spaces have any kind of DoS protection against bots calling massively the assets stored there? I suppose the edge nodes cache will work for that, but just to be sure.

  • When using the CDN feature, does the bandwifth count double? One for the spaces <-> cdn transfer and another time for cdn <-> user?

If that is it, using the CDN with cache will not prevent you from huge charges due to bad bots, which can easily kill a side project.

  • I have read that there are some req/s limit on Spaces, what are those? Do them apply to CDN too?

Thanks


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

If I understand your question correctly, DDoS attack should not affect your bandwidth allowance, and this is essentially inbound traffic. Inbound bandwidth to Spaces never counts against your Spaces transfer allowance, according to the documentation here:

https://docs.digitalocean.com/products/spaces/details/pricing/#bandwidth

Spaces subscriptions include 1,024 GiB of outbound data transfer (from Spaces to the internet), which is shared between all Spaces. Additional outbound transfer is $0.01 per GiB.

Best,

Bobby