question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support new ephemeral storage feature in zappa_settings.json

See original GitHub issue

Context

Few days ago AWS released new feature to support /tmp storage up to 10GB link I wish there whould be an option to set it as part of the zappa_settings.json file

Expected Behavior

{
    "stage": {
        ...
        "ephemeral_storage": 10240  # MBs
    }
}

would set my function to 10GB storage on /tmp

Actual Behavior

N/A

Possible Fix

N/A

Steps to Reproduce

N/A

Your Environment

N/A

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:11

github_iconTop GitHub Comments

1reaction
issamemaricommented, Nov 8, 2022

I’m interested in this feature

1reaction
souravjamwal77commented, Aug 4, 2022

Yeah sure below is my Dockerfile code let me know if you need anything else

FROM amazon/aws-lambda-python:3.8




ARG FUNCTION_DIR="/var/task/"

COPY ./ ${FUNCTION_DIR}

RUN pip install wheel
RUN pip install -r requirements.txt

# Grab the zappa handler.py and put it in the working directory
RUN ZAPPA_HANDLER_PATH=$( \
    python -c "from zappa import handler; print (handler.__file__)" \
    ) \
    && echo $ZAPPA_HANDLER_PATH \
    && cp $ZAPPA_HANDLER_PATH ${FUNCTION_DIR}


CMD [ "handler.lambda_handler" ]

@elip-OE ping me if you need any further help

If you need help with deployment script (and that’s not perfect, but works) let me know

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure endpoints for the ASP.NET Core Kestrel web server
Configure a mapping between host names and HTTPS options in Configuration. For example, JSON in the appsettings.json file. SNI with ...
Read more >
Lambda::Function EphemeralStorage - AWS CloudFormation
Use the AWS CloudFormation AWS::Lambda::Function.EphemeralStorage resource for Lambda.
Read more >
How to persist my appsettings.json to host machine from ...
So basically since I am using Docker Toolbox for windows the host folder available to it by default is /c/Users you can check...
Read more >
ConfigMaps | Developer Guide - OpenShift Documentation
... or coarse-grained information like entire configuration files or JSON blobs. ... The Kubelet only supports use of a ConfigMap for pods it...
Read more >
Ephemeral Volumes - Kubernetes
The advantage of using third-party drivers is that they can offer functionality that Kubernetes itself does not support, for example storage ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found