Reputation: 21
Yesterday I deployed my Next.js application on AWS using sts (not amplify because it has cache problem and it was slow because and my application is e-commerce so needs fast as much as possible).
The website has been running well and everything looks fine except for a few pages that have many images.
Every image is optimized for better performance so we have proper caching. Everything is working fine on the caching side as well.
However, sometimes I see that my application receives 429
from /next/images* origin
with message:
{"Reason":"ConcurrentInvocationLimitExceeded","Type":"User","message":"Rate Exceeded."}
I am confused what whether I should ask AWS to increase the limit. I do not have Developer Support here.
You can try my application here as well: https://dtjlmuofdvydq.cloudfront.net
A page that has issues: https://dtjlmuofdvydq.cloudfront.net/bachelorette-decorations
I tried asking for help on AWS support (basic not helping).
I tried configuring and changing default settings that comes with sts (enabling and disabling Cloudflare function) but still have the issue.
Amplify is not a solution here because of lack of control and speed.
Upvotes: 2
Views: 341