I am running a SQL RDS with AWS Serverless, and run into errors when I test APIs. At the beginning of the day I will get a 502 error, however this resolves after I retry 1-4 times. I believe this error is due to some 'deadtime' that occurs when serverless is trying to 'boot up' from 0 capacity units after a period of inactivity? This does not seem to occur when the server is idle at 1 cap unit.
The only solution I have been able to think of is setting the server capacity min to 1 but this seems to defeat the purpose of serverless + increases price.
Has anyone else run into this problem/successfully implemented a solution?