You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AWS Lambda Adapter supports AWS Lambda function triggered by Amazon API Gateway Rest API, Http API(v2 event format), and Application Load Balancer.
4
-
Lambda Adapter converts incoming events to http requests and send to web application, and convert the http response back to lambda event response.
3
+
AWS Lambda Web Adapter supports AWS Lambda functions triggered by Amazon API Gateway Rest API, Http API(v2 event format), and Application Load Balancer.
4
+
Lambda Web Adapter converts incoming events to http requests and sends to web application, and converts the http response back to lambda event response.
5
5
6
-
Lambda Adapter is a Lambda Extension (since 0.2.0). When the docker image is running inside AWS Lambda Service, Lambda will automatic start the Adapter and
7
-
the runtime process. When running outside of Lambda, Lambda Adapter does not run at all. This allows developers to package their web application
6
+
Lambda Web Adapter is a Lambda Extension (since 0.2.0). When the docker image is running inside AWS Lambda Service, Lambda will automatic start the Adapter and
7
+
the runtime process. When running outside of Lambda, Lambda Web Adapter does not run at all. This allows developers to package their web application
8
8
as a container image and run it on AWS Lambda, AWS Fargate and Amazon EC2 without changing code.
9
9
10
-
After Lambda Adapter launch the application, it will perform readiness check on http://localhost:8080/ every 10ms.
10
+
After Lambda Web Adapter launches the application, it will perform readiness check on http://localhost:8080/ every 10ms.
11
11
It will start lambda runtime client after receiving 200 response from the application and forward requests to http://localhost:8080.
Copy file name to clipboardExpand all lines: docs/development.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## How to build it?
2
2
3
-
AWS Lambda Adapter is written in Rust and based on [AWS Lambda Rust Runtime](https://github.com/awslabs/aws-lambda-rust-runtime).
3
+
AWS Lambda Web Adapter is written in Rust and based on [AWS Lambda Rust Runtime](https://github.com/awslabs/aws-lambda-rust-runtime).
4
4
AWS Lambda executes functions in x86_64 Amazon Linux Environment. We need to compile the adapter to that environment.
5
5
6
6
### Clone the repo
@@ -13,7 +13,7 @@ $ cd aws-lambda-adapter
13
13
```
14
14
15
15
### Compiling with Docker
16
-
On x86_64 Windows, Linux and macOS, you can run one command to compile Lambda Adapter with docker.
16
+
On x86_64 Windows, Linux and macOS, you can run one command to compile Lambda Web Adapter with docker.
17
17
The Dockerfile is [here](../Dockerfile). [AWS CLI v2](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html) should have been installed and configured.
18
18
19
19
```shell
@@ -24,7 +24,7 @@ Once the build completes, it creates two docker images:
24
24
- "aws-lambda-adapter:latest-x86_64" for x86_64.
25
25
- "aws-lambda-adapter:latest-aarch64" for arm64.
26
26
27
-
AWS Lambda Adapter binary is packaged as '/opt/bootstrap' inside each docker image. "aws-lambda-adapter:latest" is tagged to the same image as "aws-lambda-adapter:latest-x86_64".
27
+
AWS Lambda Web Adapter binary is packaged as '/opt/bootstrap' inside each docker image. "aws-lambda-adapter:latest" is tagged to the same image as "aws-lambda-adapter:latest-x86_64".
Lambda Adapter binary for x86_64 will be placed at `target/x86_64-unknown-linux-musl/release/bootstrap`.
67
-
Lambda Adapter binary for arm64 will be placed at `target/aarch64-unknown-linux-musl/release/bootstrap`.
66
+
Lambda Web Adapter binary for x86_64 will be placed at `target/x86_64-unknown-linux-musl/release/bootstrap`.
67
+
Lambda Web Adapter binary for arm64 will be placed at `target/aarch64-unknown-linux-musl/release/bootstrap`.
68
68
69
69
Finally, run the following command to package lambda adapter into two container images for x86_64 and aarch64.
70
70
@@ -86,4 +86,4 @@ When these commands complete successfully, you will have the following container
86
86
Please test with the following [commands](https://github.com/awslabs/aws-lambda-web-adapter/blob/ff2dc8bddd968e74d7dc2ec56a249c56e5a3c5a7/.github/workflows/pipeline.yaml#L46-L49) before submitting a pull request:
0 commit comments