Protection against DDoS attack on my Functions

Is there a way to protect my Functions from a possible DDoS attack that would cause excess charges by calling my Functions thousands times a minute or something similar? What protects me from waking up one day to see that I am thousands in debt? The only thing I 've found so far is the alerts but I don’t think that is a measure of protection.

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.

Bobby Iliev
Site Moderator
Site Moderator badge
December 12, 2022

Hi there,

As of the time being, the Functions Namespaces have a limit of up to 600 invocations per minute. This means that it is not possible to generate thousands of requests.

If you need this limit increased, you can request open a support ticket for this here:

Hope that this helps!



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel