Skip to content

Commit dcef70b

Browse files
authored
Document ports should be avoided (#187)
1 parent 81cc567 commit dcef70b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ The readiness check port/path and traffic port can be configured using environme
8282
| AWS_LWA_TLS_SERVER_NAME | override server name for TLS SNI | "localhost" |
8383
| AWS_LWA_TLS_CERT_FILE | override server certificate file | None |
8484

85+
**PORT** - Lambda Web Adapter will send traffic to this port. This is the port your web application listening on. Inside Lambda execution environment,
86+
the web application runs as a non-root user, and not allowed to listen on ports lower than 1024. Please also avoid port 9001 and 3000.
87+
Lambda Runtime API is on port 9001. CloudWatch Lambda Insight extension uses port 3000.
88+
89+
8590
**ASYNC_INIT** - Lambda managed runtimes offer up to 10 seconds for function initialization. During this period of time, Lambda functions have burst of CPU to accelerate initialization, and it is free.
8691
If a lambda function couldn't complete the initialization within 10 seconds, Lambda will restart the function, and bill for the initialization.
8792
To help functions to use this 10 seconds free initialization time and avoid the restart, Lambda Web Adapter supports asynchronous initialization.

0 commit comments

Comments
 (0)