Hello FA,
Which tool do you recommend to decrease the size of the deployment package when using Forest Admin in a serverless/AWS Lambda environment?
What do you suggest to skip the 250 MB (unzipped) Lambda limit ?
Thank you in advance
Context
Project name: Elyps
Team name: Elyps
Environment name: dev-cli
Agent (forest package) name & version: …
Database type: MySQL (sequelize)
Recent changes made on your end if any: Upgrade from v6 to v7
Hello,
Forestadmin “instand setup” (cloud) uses the lambda environment to deploy the customer agent. We are using the new agent nodejs. The agent forest-express-sequelize does not support the lambda environment.
However, If you want to user the agent nodejs, there are several points to note:
Schema will be computed every time you start the lambda. The lambda will reply after this configuration, which can take a long time.
Lambda does not support http requests. On our side, we have a gateway in front of our agents that forwards http requests to Lambda via a hand-crafted protocol.
If you have any questions, please don’t hesitate to contact us.
We are already using Forest Admin v6, when we upgrade to v7 we can’t deploy anymore to our remote stage because we are hitting the 250 MB Lambda limit.
So we want to decrease the size of the unzipped folder and asking for your suggestions… which tool should we use with Forest Admin for that ?