Questions tagged [zappa]

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.

https://github.com/Miserlou/Zappa/#about

203 questions
0
votes
0 answers

GraphQL on AWS lambda: The request could not be satisfied. How to solve 403 error?

I have deployed an GraphQL API to AWS Lambda using the Zappa Framework. If I do a request from my local machine to the local server version like this everything works fine: import requests url = 'http://127.0.0.1:8000/graphql' token = '...' headers…
Peterhack
  • 651
  • 1
  • 8
  • 22
0
votes
1 answer

Zappa doesn't work with Flask Blueprint

I have a Flask app and I'm using flask_restful and blueprint to serve up my APIs. After deploying my app with Zappa, Zappa gives me Error like below: Error: Warning! Status check on the deployed lambda failed. A GET request to '/' yielded a 502…
Kazaka Nelson
  • 148
  • 1
  • 14
0
votes
0 answers

AWS S3 boto download error

I'm using AWS S3 with the help of the boto3 client in flask. I'm able to upload my files successfully to the s3 bucket. Deployed Appliation https://k8m00unpc6.execute-api.us-east-1.amazonaws.com/dev I've been getting an error…
0
votes
1 answer

Facing issue in Zappa when try to access the API with Authorization token

I have implemented an API server using Django and Django-REST-Framework with Zappa in AWS Lambda. I use Auth0 for identity. When I try to signup or login from localhost it works well and good but when I try to do the same from the AWS domain it…
Rohan
  • 337
  • 4
  • 21
0
votes
1 answer

Determine if we run under AWS Lambda + Zappa?

Is there a way to determine if we run under AWS Lambda + Zappa? Maybe some environment variable? (I want to load different settings if my Python app starts under Zappa.)
porton
  • 4,482
  • 7
  • 32
  • 66
0
votes
1 answer

Uploading Files instead of Zipfile?

EDIT: Zappa does not use EC2 and not Beanstalk, but Amazon Api Services. So probably there ist no way. I have a question for Zappa EC2 Serverless Services. Launching zappa update dev creates one Zip-File and uploads this. Because my upload is slow,…
flaschenpost
  • 2,155
  • 1
  • 12
  • 27
0
votes
1 answer

Did I get aws CloudFront right? labmda, s3, cloudfront

I was reading and watching videos about aws lambda, s3 and CloudFront(CF). I'd like to confirm here, that I understand (or not) the concept of aws cloudfront and more generaly CDNs. aim: I'd like to serve images from my app via CF. I intend to…
scagbackbone
  • 441
  • 5
  • 14
0
votes
0 answers

Running Docker lambda image on local

This is the Dockerfile: FROM lambci/lambda:build-python3.6 # Copy in your requirements file ADD requirements.txt /requirements.txt # Copy your application code to the container RUN mkdir /code/ WORKDIR /code/ ADD . /code/ ENV PS1 'zappa@$(pwd |…
Diego Jancic
  • 6,605
  • 6
  • 46
  • 76
0
votes
2 answers

Can I disable autocreate S3 Bucket in Zappa Init?

I want to get started with zappa framework, but when I'm running init zappa I got this notification: How to disable autocreate s3 bucket?
0
votes
1 answer

Forbidden Error on get_thing_shadow with boto3, aws iot and alexa

I am running a custom alexa skill with flask-ask that connects to aws iot. Using same credentials work when running the script on local machine and using ngrok to assign to Alexa skill endpoint. But when I use zappa to upload as lambda, I get the…
thekindlyone
  • 499
  • 5
  • 17
0
votes
0 answers

Running Neo4j via a AWS lambda function error: [Errno 104] connection reset by peer

I have deployed a flask app via zappa. The flask app makes a call to graphene, a service running neo4j db instances. I can connect to graphene through the terminal like this from neo4j.v1 import GraphDatabase, basic_auth driver =…
pauld
  • 361
  • 1
  • 3
  • 17
0
votes
1 answer

deploy web application using zappa

I was following the steps here: https://github.com/Miserlou/Zappa to try to deploy my web app to AWS. My app is using flask as server side and it also uses flask to host client-side JavaScript, html and css files. I can successfully host it on my…
0
votes
1 answer

What is in the folder "src: '/zappa/" - what are these files

What is '/zappa/full.js' I have some code with a /zappa/zappa.js file (ethercalc) and the tutorial has /zappa/full.js and there is even a /zappa/simple.js in the examples. What are these files, what is the difference, any docs? e.g. /zappa/full.js…
eddyparkinson
  • 3,502
  • 4
  • 24
  • 46
0
votes
1 answer

Coffee not working on Zappa install (Mac OSX 10.9)

I'm following the zappa guide here: http://zappajs.github.io/zappajs/docs/crashcourse, but I can't seem to get coffee to work - on Mac OSX 10.9 - as demonstrated into the guide. If I type: coffee cuppa.coffee I get: -bash: coffee: command not…
James Jeffery
  • 10,301
  • 16
  • 70
  • 98
0
votes
1 answer

Zappa ( Express JS ) - Configurable Path to Deliver Assets

I am needing to respond to http get requests to serve assets. I am needing help to write a route that matches the following description. Path Info Has a configurable prefix ( basePath ) Has a segment that maps to a real file in the public folder (…
Ziyan Junaideen
  • 2,914
  • 5
  • 38
  • 67
1 2 3
13
14