Zappa is a Python tool to build and deploy server-less, event-driven Python applications (including, but not limited to, WSGI web apps) on AWS Lambda + API Gateway.
Questions tagged [zappa]
241 questions
0
votes
0 answers
Processing events using Zappa and Django app
I'm trying to use Zappa to deploy a Django event-driven application that will process events
based on SQS and Kinesis.
I have the following as part of my zappa.settings file:
"django_settings": "myproject.settings",
"events": [
{
…

Itay Bleier
- 41
- 1
- 3
0
votes
2 answers
How do I set up a CI/CD pipeline using AWS CodePipeline for a Flask application deployed using Zappa?
I need a step by step guide on setting up a CI/CD pipeline using AWS CodePipeline for a Flask application deployed using Zappa.
Zappa is an open source framework that helps in building and deploying server-less, event-driven Python applications…

Rupam Kundu
- 271
- 1
- 3
- 10
0
votes
1 answer
Route53 route subdomain to AWS Lambda getting 404
I have a domain in aws route53.
My frontend is routed to that domain from cloudfront via alias and works perfectly.
My backend sits on aws lambda and I want to put it behind my domain so my users can authorize using jwt cookies.
I created…

yonadav bar ilan
- 550
- 6
- 10
0
votes
2 answers
Zappa deploy error deployed lambda failed. A GET request to '/' yielded a 502 response code
I have zappa setting json (zappa_settings.json) as below:
{
"dev": {
"app_function": "manage.app",
"aws_region": "ap-southeast-1",
"profile_name": "default",
"project_name": "digital-agency-ms",
"runtime":…

Selim Reza
- 683
- 1
- 11
- 31
0
votes
1 answer
how to pass config file to flask startup command to zappa
I am using python flask and using below command to start flask app but how do i pass this to zappa for aws lambda deployment.
python abc.py config/config.py

AniketGole
- 889
- 2
- 11
- 22
0
votes
1 answer
How to secure zappa `remote_env` bucket?
I am successfully deploy my Django and using remote_env in the zappa yml file. One concern here is security
I split into 2 buckets
env.json
Django
The concern right now is env.json in the remote_env is not public and Django on behalf of AWS Lambda…

joe
- 8,383
- 13
- 61
- 109
0
votes
0 answers
How to install OS dependent packages in Zappa (wkhtmltopdf)
I am using Weasyprint to convert html to pdf in my code. Everything runs fine locally. Weasyprint depends on wkhtmltopdfpackage.
This package needs binaries installed on system with
sudo apt install wkhtmltopdf which is dependancy else I get
No…

Yugandhar Chaudhari
- 3,831
- 3
- 24
- 40
0
votes
1 answer
Zappa async task results in 403 Bad Request Generated by Amazon Cloudfront
I am trying to use the Zappa Async task for the first time in my project. I keep getting 403 Bad request from Amazon cloudfront.
Here is the code -
@task
def send_email(email_id):
start = datetime.now()
sleep(120)
body = """zappa task…

Pratheek Ponnuru
- 87
- 1
- 7
0
votes
1 answer
scheduling lambda function in zappa to stop instances
Here I am I created a flask application and deploying using zappa .
While deployment I am facing no module found exception but same python code it working offline below is my stop.app application
import boto3
from flask import Flask,…

monica
- 11
- 3
0
votes
0 answers
Errno 30 when deploying pyhanlp to aws lambda
When I deploy a small python app to aws lambda which depends on pyhanlp to the aws labmda by zappa, I got following error
[ERROR] OSError: [Errno 30] Read only file system: '/var/task/pyhanlp/static/__init__.py/', line 61, in…

StereoMatching
- 4,971
- 6
- 38
- 70
0
votes
1 answer
Pipenv dependency error with PyYAML in Zappa
I am getting an error after updating zappa package on pip env
I have tried
pipenv lock --clear and then retry the install
and
pipenv install --skip-lock
following is a pipenv graph --reverse for PyYAML.
PyYAML==3.13
- awscli==1.16.177 [requires:…

mrhassan
- 196
- 1
- 10
0
votes
1 answer
Unknown parameter in input: "TerminologyNames", must be one of: Text, SourceLanguageCode, TargetLanguageCode
Anyone have any idea about this error. I am using AWS translate, boto3, and Zappa and made a script to convert the language which works fine in local and throw this error on AWS lambda. I seriously don't know why? Anyone face this error before?
Here…

Chirag Kalal
- 638
- 1
- 7
- 21
0
votes
1 answer
Mailing isn't working in Django AWS Lambda (Zappa) behind a VPC
I have an AWS lambda function (Django zappa) that is running inside a VPC thus I'm not able to send emails because Lambda isn't connected to the internet, I tried NAT Gatway but with no hope.
I created a NAT Gatway using one public subnet of the…

aldokkani
- 853
- 1
- 8
- 17
0
votes
1 answer
Connecting a Python/Zappa Project on AWS Lamba to Mongodb Atlas
Are there any gotchas I'm missing to set up a Zappa project on AWS with Mongodb Atlas? I started following the guide on this page and have branched out to various other resources since: https://docs.atlas.mongodb.com/security-vpc-peering/
I have a…

thekthuser
- 706
- 1
- 12
- 28
0
votes
0 answers
How to change 'timeout' in "zappa_settings.json" file
So i deployed my django project on AWS account through Zappa. Then i added the 'timeout_seconds' parameter and set it to 300 in zappa_settings.json. On running 'zappa update dev', it gives the following…

jonsnow
- 89
- 4