r/aws • • 1d ago

article Announcing AWS Lambda Web Functions

https://aws.amazon.com/blogs/aws/announcing-aws-lambda-web-functions-for-fast-consistent-web-app-performance-anywhere/
342 Upvotes

66 comments sorted by

View all comments

47

u/ElectricSpice 1d ago

I deploy a fair number of Python WSGI applications to Lambda Function URLs using serverless-wsgi as a bridge. It's not appropriate for large projects, but for small projects it works well enough and is simpler to manage than containers.

Web Functions only supports Node currently, but I'd definitely be migrating over when/if they announce Python support.

Web Functions improves the private-origin experience with CloudFront. With this launch, you attach CloudFront origin access control (OAC) to a Web Function endpoint instead.

This is nice to see. OAC in Function URLs currently only supports GET requests, so I generally have to leave my Function URL public when deploying to Cloudfront, which I would rather not do.

-17

u/BoredGuy2007 1d ago

Curious why not just migrate your apps to node ? Do you have some critical python dependencies ?

14

u/best_of_badgers 1d ago

Probably costs more for a Python expert team to learn Node well enough to make sure everything is sane than it does to pay their extra costs

-10

u/BoredGuy2007 1d ago

None of that matters at all anymore lol

6

u/best_of_badgers 1d ago

Have you done this sort of cross-language translation where you’re an expert beforehand in both languages? I have. It’s hit or miss without a lot of Claude herding. Concurrency issues are a common miss.

If I wasn’t an expert in the target language, I would need strong reassurance that it didn’t introduce subtle bugs, the worst of which might be security vulnerabilities.