We are AWS Serverless experts - Ask Us Anything - Sept 29th

Hi All, We are a group of Serverless Specialists Architects and Developer Advocates at AWS

We want to invite you to share you questions on Serverless services and related topics such as architecture, observability, governance and so on.

We are going to answer your questions in this thread on Thursday Sept 29th

We are very excited to engage with you. Questions of all levels are welcome.

Looking forward to read your questions


Related discussions:

will aurora v2 ever scale down to zero?

Will Aurora v2 ever feature the Data API ?

If not, how to properly migrate from Aurora v1 MySQL 5.6 with Data API to Aurora v2 MySQL 8 without Data API, in detail ?

How can I start learning serverless services? Do you guyed have ground? Im it GitHub? I want a mentor

when will i be able to deploy mediawiki as a llama function

How do I deploy a java-based lambda custom runtime (graal native image) that uses awt?

The current line up of base images (Node.js, Python, Java, .NET, Go, Ruby) has remained static; adding the ability to setup custom images was both a blessing and a curse; a blessing for the flexibility but also a curse because it appears that the concept of adding new officially supported and maintained base-images has completely fallen off the radar and that from here on out, everyone is on their own if it’s not a traditionally support base image.

Does AWS have a roadmap for expanding the stacks available in the base images beyond the current list; and if not, isn’t the concept maintaining your own container image a major drawback to further adoption?

Why a lambda function that is associated to a VPC won’t be associated with ephemeral public ip address?

If I associate an EIP to the lambda ENI it will work, it feels like there was intentional plan to force users to use NAT Gateway

As a Java developer I hear ‘never use Java for lambda functions, cold starts take forever’ and I understand where they’re coming from… But, in my case I like Java a lot and simply don’t want to learn Python or such solely for cold starts.

Is there potential for cold starts to be rethought or redesigned so that it is less an issue?

I’d love to keep designing my SAM’s in Intellij, I hope this becomes even more intuitive!

Thank you!

When will there be solid database connection proxy for lambdas?

FaaS is great expect for the connection limitations . RDS proxy is nice but does not provide solutions for externally hosted non-sql DBs like mongo (at least to my knowledge)

Just a curiosity question. How did you come up with the 15 minutes for Lambda execution timeouts? I know we can use something like Fargate to allow longer processing times, but why 15? not 10, not 20?

Also, is there a slight possibility of increasing this timeout in the future?

When will Lambda and SQS work in a sensible manner together?

See:

https://www.foxy.io/blog/we-love-aws-lambda-but-its-concurrency-handling-with-sqs-is-silly/

https://zaccharles.medium.com/lambda-concurrency-limits-and-sqs-triggers-dont-mix-well-sometimes-eb23d90122e0

Practical example of the problem:

https://zaccharles.medium.com/reproducing-the-sqs-trigger-and-lambda-concurrency-limit-issue-f4c09d384a18

The AWS documentation recommends setting various timeouts to higher values which is a ridiculous workaround for a service that doesn’t work properly imo.

When will Fargate ARM Spot be available?

Other java versions in lambda?

In Dynamo DB: is it always recommend that we use Single Table design for an application? Why? Also why not?

What’s the best lambda image handler for resizing with s3 and cloudfront?

YES! The current behaviour is so annoying. I have a very basic app just a lambda, consuming from sqs, doing API calls to a downstream service, and about 80% of the code is just to work around how poorly lambda interacts with sqs when you don’t want to overwhelm downstream services.

At what traffic levels do you usually see entities moving from API gateway to self managed on fargate. Take reddit architecture or amazon.com. at what point in their journey would they make the switch. Also from your experience, are most fargate self managed apis python, express or springboot? Would love to hear from your experiences

For step functions? Have you seen organisation running up to 500k synchronous express workflows per minute. Please share any high volume implementations you have seen customers use express step function workflows at scale. Also, curious to any implementations using qlbd and dynamodb direct integrations with state machines? Any caveats one should be aware of?

I think cold starts with Java are more related to Spring Boot functions, but it’s also a question I’d like to be answered.