chore: bind lambda RIE to 0.0.0.0 for durable functions#8483
Merged
valerena merged 2 commits intoDec 3, 2025
Conversation
vicheey
reviewed
Dec 3, 2025
valerena
approved these changes
Dec 3, 2025
valerena
enabled auto-merge
December 3, 2025 17:11
vicheey
approved these changes
Dec 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue(s) does this change fix?
Why is this change necessary?
The Lambda RIE container gets bound to 127.0.0.1 (localhost) by default. The durable executions emulator needs to interact with the RIE endpoint directly - so we're making HTTP calls from within the emulator container across to the RIE endpoint.
In some environments, this isn't accessible by default, and we see errors like
Could not connect to endpoint: host.docker.internal... We need to bind the RIE container to 0.0.0.0 instead so it's accessible on any interface. Users can work around this by using--container-host-interface 0.0.0.0, but this should by default.How does it address the issue?
Updating the
DurableLambdaContainerclass to override the lambda containercontainer_host_interfaceparameter to 0.0.0.0.What side effects does this change have?
Lambda container is always bound to 0.0.0.0 for durable executions.
Mandatory Checklist
PRs will only be reviewed after checklist is complete
make prpassesmake update-reproducible-reqsif dependencies were changedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.