AWS deployment using Docker? #533
Unanswered
guidocioni
asked this question in
Q&A
Replies: 1 comment 4 replies
-
We have not tried Lambda yet and it may not be the best fit from the AWS product line. Lambda is designed for running short-lived, stateless functions in response to events. NiceGUI on the other hand gains its power from a long living backend service which serves dynamic html/js which is manipulated via websocket. Here are some suggestions from ChatGPT 4 (not asking about brand new NiceGUI which is unfortunately unknown yet, but rather the underlying FastAPI framework):
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As a long-term user of Dash, Flask and Bootstrap I don't know why it took me so long to find out about this amazing package.
I loved Dash for prototyping and created so many applications with it but the problem is that it took me always too long to deploy it on cloud architectures like AWS without using a dedicated virtual machine instance.
As
nicegui
has a dedicated Docker image I'd suppose this is far easier to deploy on AWS as a dockerized Lambda.Unfortunately the section on the documentation (https://nicegui.io/reference#server_hosting) doesn't really expand on this possibility.
Did anyone try to do that?
I think it would also be helpful to have a full repo example with Docker (right now there is only a link to the official image and a docker compose yaml).
Beta Was this translation helpful? Give feedback.
All reactions