We have a web app that is powered by an API made up of AWS Lambda functions. For the API, we have three environments (prod, staging, and demo). We were developing the functions using serverless-offline and the functions look like this (there are 84 functions in total, 28 functions in each env.):
According to the environment, the functions are connected to different DBs and different ENVs of the services that we use (i.e - Auth0 sandbox and live, Mailgun sandbox and live, etc.)
The problem is that the functions have exceeded the max code storage limit of 75GB. We used this script to clean up the old versions, but it seems like there are no older versions left to delete.
So my questions are:
- Is it possible to increase this storage limit?
- Basically, the whole API is built on lambda functions and each endpoint calls its own lambda function. Is this a good use case of Lambda?
FYI: The person who built all this in the first place has left the company, and I'm the one who has to look after it until we find a suitable person. I have a little experience in AWS so any advice would be a big help.
Thanks in advance.