Hacker News new | ask | show | jobs
by cbsmith 1381 days ago
Sure you can get around that with proper use of Layers.
1 comments

Total layer size is also restricted.
Restricted to 10GB. I'm sorry, but if you need more than that, you probably shouldn't be using Lambdas the way you are using Lambdas.
This isn't true. 10GB is the limit on docker backed lambda function sizes. Layers are capped to 256MB just like lambda functions.

A couple of weeks ago, I tried to deploy a lambda function that created Azure Subnets in python, and the Azure client was 265GB alone. My layer creation api call failed because of this.

You're right. I forgot it was docker backed lambda rather than layers.

Out of curiosity, why didn't you use an Azure docker image to back your lambda function?