Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't get running in Lambda #374

Open
TechDH opened this issue Jan 2, 2025 · 1 comment
Open

can't get running in Lambda #374

TechDH opened this issue Jan 2, 2025 · 1 comment

Comments

@TechDH
Copy link

TechDH commented Jan 2, 2025

I've followed a few YouTube videos on this and while FastAPI works, I can not get FastUI working despite investing significant hours of trial and error but no luck. I want to build and a web app and preferably host in Lambda but can not get a simple demo app working from a Lambda despite my best effort. Is this a futile effort? Has someone out there done this and got it working? I've done a tremendous amount of leg work making sure I have the python modules deployed. I've tried both approaches, as lambda layer and in with the main.py lambda file but no luck either way. I've tried Lambda using Function URL mode and with API gateway. no luck either way. I keep reading it should work but have yet to find a working configuration. I've configured CORS and enable headers and method calls, etc. I've tried guided assistance form Amazon Q and Google's AI but still neither knows a working configuration, though they gave me plenty of attempts at it.

@Kilo59
Copy link

Kilo59 commented Jan 8, 2025

@TechDH I would suggest that you provide at least some minimal detail about the errors you are having.

And also...

  • Python version
  • Pydantic, FastAPI & FastUI versions
  • Example, or proof that the application works locally (without the Lamda complication).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants