AWS recently announced that AWS Lambda now supports up to 10 GB ephemeral storage. In other words, this means that your Vapor environment functions may now hold up to 10 GB of information in the
This feature is useful for data-intensive tasks, such as queue jobs that may need additional storage to process a large amount of files.
Now, by default, the
/tmp directory is configured to store up to 512 MB, but you may configure manually each function —
queue — to provision up to 10,240 MB of ephemeral storage:
id: 1 name: my-application environments: staging: tmp-storage: 1024 cli-tmp-storage: 512 queue-tmp-storage: 10240
Keep in mind that you are charged for the storage you configure over the default 512 MB storage capacity. For more details regarding storage pricing, please visit the AWS Lambda pricing page.
We hope you enjoy this new feature. At Laravel, we're committed to providing you with the most robust and developer-friendly PHP experience in the world. If you haven't checked out Vapor, now is a great time to start! You can create your account today at: vapor.laravel.com.