Report this

What is the reason for this report?

Spaces CDN DoS protection, bandwidth and limits

Posted on November 9, 2022

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



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!

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

Hi there,

Quick update here.

As per the release notes on August 1, 2024, you can now view Spaces bandwidth usage as the invoices now include a breakdown of bandwidth usage and cost per Spaces bucket.

If you have 100 or more Spaces buckets, you can only view this breakdown in the CSV version of the invoice. To view or download invoices, see the DigitalOcean Invoices billing page.

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.