Skip to content

Is any rate limits for created EventBridge one-time schedules?

0

I would like to know is any limits for created one-time schedules?

Right now I have 11 of them But assuming that I will have ca ~3000 per month Also is any way to delete schedules behind today's date (e.g invoke lambda function once per day and do it with AWS SDK somehow)?

image

2 Answers
0
Accepted Answer

Hi,

Have look at https://aws.amazon.com/about-aws/whats-new/2024/08/amazon-eventbridge-scheduler-higher-quotas/

The default service quota for number of schedules is now 10 million schedules instead of 
1 million in all regions, and the invocation throughput quota is now 1000 invocations per 
second instead of 500 in most regions. Default API request rate quotas for CreateSchedule, 
DeleteSchedule, GetSchedule, and UpdateSchedule are now set up to 1000 requests per second 
instead of 50 in most regions. Quotas can be further increased by making a request through 
the Service Quotas console.

The key quote for you is Default API request rate quotas for CreateSchedule, DeleteSchedule, GetSchedule, and UpdateSchedule are now set up to 1000 requests per second instead of 50 in most regions

Best,

Didier

AWS
EXPERT
answered 9 months ago
EXPERT
reviewed 9 months ago
0

Yes, there are rate limits for created EventBridge one-time schedules, but the recent updates to Amazon EventBridge Scheduler have significantly increased these limits.

As of August 2024, the default service quota for the number of schedules (including one-time schedules) has been increased to 10 million schedules per account, up from the previous limit of 1 million. This means you can create many more schedules than before without requesting a quota increase.

Given your current usage of 11 schedules and an estimated 3,000 per month, you are well within the new default limits. However, it's important to note that there are also API request rate quotas to consider. The default API request rate quotas for CreateSchedule, DeleteSchedule, GetSchedule, and UpdateSchedule operations have been increased to 1000 requests per second in most regions, up from the previous 50 requests per second.

Regarding deleting schedules that are past their execution date, Amazon EventBridge Scheduler now supports the ability to set schedules to automatically delete upon completion of the last invocation. This feature is available for one-time schedules as well as cron and rate schedules with an end date. This new functionality eliminates the need for manual processes or custom code to delete completed schedules, saving you time and making it easier to manage your schedules at scale.

If you need to delete schedules programmatically for any reason, you can indeed use AWS SDK to invoke a Lambda function that would use the EventBridge Scheduler API to delete expired schedules. You could set up a daily CloudWatch Events rule to trigger this Lambda function, which would then use the AWS SDK to list and delete any expired schedules.

Remember, if you find that you need higher limits than the new default quotas, you can request increases through the AWS Service Quotas console.
Sources
Amazon EventBridge Scheduler now provides higher default service quotas - AWS
Amazon EventBridge Scheduler adds schedule deletion after completion

answered 9 months ago
AWS
SUPPORT ENGINEER
reviewed 9 months ago
AWS
EXPERT
reviewed 9 months ago
AWS
SUPPORT ENGINEER
revised 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.