Antony please how can I add flask app to a website hosting not on the root for example www.example/app , i tried many solutions but all routes except "/" and all static files are not loading :(
The issue I have now is the file size is too large, even after deleting all unnecessary code: Here is the message: "raise error_class(parsed_response, operation_name) botocore.errorfactory.InvalidParameterValueException: An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: Unzipped size must be smaller than 262144000 bytes". Please tell me how to resolve this.
Thanks for the great video! Do you happen to know the minimum permissions to deploy this? It seems like many of the Zappa and Chalice guides just go straight to admin policy, and not the minimum needed with security in mind.
Great tutorial! How about putting the bash commands you used in the readme in the github repo? Otherwise we have to look thru the video and pick them out...
How does zappa treat project files and folders. I realise that when I do from .models import something, that is when I get the error "Error: Warning! Status check on the deployed lambda failed. A GET request to '/' yielded a 502 response code."
That’s actually great Zappa : for fast deployment or magnum(pypi.org/project/magnum/) Which gives ya a zip file Ans you go Ans deploy it (do all the settings you need) Didn’t know python had great environment for server-less thought I had to work with JS
can you please show how to serve static files from cloudfront with zappa. I have been stuck with this problem for months now. i am currently serving them from s3.
Awesome. Can u make some videos about Docker, and maybe say something about virtual environment, and why is smart to use one and when. I will like half of your chanel, and rest after video :) , lol blackmailed :)
just loss the past 2 days trying to deploy a lambda with Zappa... believe me if you are trying to deploy something serious (not a hello world app), stay away from this thing.
Univ Univeral 1 second ago Again, you run just what works after yoiu have fixed all the errors but you have not shown us how you actually got there: I followed all your instructions I got " in add_auth raise NoCredentialsError botocore.exceptions.NoCredentialsError: Unable to locate credentials"
@@prettyprinted Yeah. But solved. The` issue was that I had to update the credentials by running "aws configure" on the command line and entering the new credentials
Again, you run just what works after yoiu have fixed all the errors but you have not shown us how you actually got there: I followed all your instructions I got " File "c:\users\user\docume~1\progra~4\test_d~1\myenv\lib\site-packages\botocore\auth.py", line 357, in add_auth raise NoCredentialsError botocore.exceptions.NoCredentialsError: Unable to locate credentials"
Join my free course on the basics of Flask-SQLAlchemy: prettyprinted.com/flasksql
It's like you read my mind...this is exactly what I need right now! Thanks a million
You're welcome! Thanks for watching.
Fantastic. Could you please make one about Docker?
Thanks so much! I was able to get Zappa working for the first time!
That's an impressive level of pedantry to put a comma in Hello World haha, good form
Cheers mate, audio sounding very nice.
Thanks for watching!
Antony please how can I add flask app to a website hosting not on the root for example www.example/app , i tried many solutions but all routes except "/" and all static files are not loading :(
The issue I have now is the file size is too large, even after deleting all unnecessary code: Here is the message: "raise error_class(parsed_response, operation_name)
botocore.errorfactory.InvalidParameterValueException: An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: Unzipped size must be smaller than 262144000 bytes". Please tell me how to resolve this.
Thanks for the great video! Do you happen to know the minimum permissions to deploy this? It seems like many of the Zappa and Chalice guides just go straight to admin policy, and not the minimum needed with security in mind.
Great tutorial! How about putting the bash commands you used in the readme in the github repo? Otherwise we have to look thru the video and pick them out...
How does zappa treat project files and folders. I realise that when I do from .models import something, that is when I get the error "Error: Warning! Status check on the deployed lambda failed. A GET request to '/' yielded a 502 response code."
I got exactly same error. Did you manage to sort it out? Thanks
@@juanfcgb No. I am not using Zappa anymore, because that skill does not even appear on job descriptions. I resorted to AWS.
Hey Anthony., Can you create a video on deploying flask on IIS?
Could you use Django with an relational database in the serverless environment?
I'd say they got you covered!
Yeah, the database would be separate from your app, so it wouldn't have any issues calling the database on each request.
Is this using EventBridge (as trigger for the lambda function) or API Gateway?
I am interested how the approach works with EventBridge. How do I get access to the payload?
while moving the credentials file, it gives mv : Cannot create a file when that file already exists. Error. Please help
Try using the move command on that location first to move the old file out of the way so you can try again.
Love you man
I love you too!
That’s actually great Zappa : for fast deployment
or
magnum(pypi.org/project/magnum/)
Which gives ya a zip file Ans you go Ans deploy it (do all the settings you need)
Didn’t know python had great environment for server-less thought I had to work with JS
can you please show how to serve static files from cloudfront with zappa. I have been stuck with this problem for months now. i am currently serving them from s3.
I'll look into it.
@@prettyprinted thanks
Tq sir.its really awesome ♥️
What are your thoughts on the FastApi framework
I haven't used it yet, but I'll take a look at it.
@@prettyprinted okay bro
Can aws lamda listen to twitter webbooks?
How to stop the deployed one
Awesome. Can u make some videos about Docker, and maybe say something about virtual environment, and why is smart to use one and when. I will like half of your chanel, and rest after video :) , lol blackmailed :)
I'm considering making a video about Docker.
很好,我喜欢这个 加油!
just loss the past 2 days trying to deploy a lambda with Zappa... believe me if you are trying to deploy something serious (not a hello world app), stay away from this thing.
Did you end up nuking the website?
For this example yeah.
Awesome
Thanks for watching!
do a django one!
It's pretty much the same, but I'll consider making it.
Univ Univeral
1 second ago
Again, you run just what works after yoiu have fixed all the errors but you have not shown us how you actually got there: I followed all your instructions I got " in add_auth
raise NoCredentialsError botocore.exceptions.NoCredentialsError: Unable to locate credentials"
Did you move your credentials to the .aws folder?
@@prettyprinted Yeah. But solved. The` issue was that I had to update the credentials by running "aws configure" on the command line and entering the new credentials
Again, you run just what works after yoiu have fixed all the errors but you have not shown us how you actually got there: I followed all your instructions I got " File "c:\users\user\docume~1\progra~4\test_d~1\myenv\lib\site-packages\botocore\auth.py", line 357, in add_auth
raise NoCredentialsError
botocore.exceptions.NoCredentialsError: Unable to locate credentials"
how did u resolve this error? can u pls suggest.. i m struggling with this
@@aanchalb6163 No I discontinued. I am not using Zappa anymore, because that skill does not even appear on job descriptions. I resorted to AWS.
@@univuniveral9713 oh ok.. but i want to deploy my api to aws lambda.. so dnt know what to use? can u assist
Is the service free?
I believe AWS offers a free trial for low use accounts.