youtube image
From YouTube: Gloo Platform - Core API Gateway: AWS Lambda Demo

Description

Welcome to an exciting demonstration of the seamless integration between Gloo Platform and AWS Lambdas. With Gloo Platform's native integration, AWS Lambdas can be effortlessly integrated into your application architecture. What's even better is that the Gloo Platform Lambda integration is payload compatible with AWS API Gateway and AWS Application Load Balancers, making the transition to Gloo Platform a zero-charge experience.

In this demo, we will showcase how Gloo Platform treats AWS Lambdas as any other workload type, providing a unified control plane for all supported workload types, including Lambdas, Kubernetes services, and virtual machines.

First, we'll introduce a Lambda function that has already been deployed to AWS. This Lambda returns the native AWS API Gateway payload format, ensuring seamless compatibility with Gloo Platform. Additionally, the Lambda includes a log statement, which we'll be able to view in the AWS console later to confirm that the Lambda was successfully invoked in AWS.

Before invoking the Lambda, let's take a closer look at a Gloo Platform resource that is configured to route to the Lambda. This resource specifies a route under the prefix "/Lambda" and points to the already deployed Lambda function in AWS.

Now, let's make a curl request to the Gloo Platform installation hosting the Lambda route. As you can see, the request returns the payload that we previously viewed in the Lambda source code, confirming the successful integration.

To further validate the Lambda invocation, we'll quickly navigate to the AWS CloudWatch console. Here, we can observe the log entry that was generated by the Lambda during its execution. You'll notice that the log statement we saw earlier in the source code is displayed here, providing concrete evidence that the Lambda was indeed invoked in AWS.

Stay tuned for more integrations and powerful capabilities from Gloo Platform. Thank you for joining us in this demo!