Corticon.js Decision Services with Function URL in AWS Lambda

Corticon.js Decision Services with Function URL in AWS Lambda

Posted on April 27, 2022 0 Comments
Corticonjs Decision Services with Function URL in AWS Lambda_1200x620

With Function URL in AWS Lambda, Progress Corticon.js users have an easy way to configure an HTTPS endpoint in front of their decision services.

Amazon recently announced support for Function URL.

This mechanism provides access to your Lambda functions with an HTTPS end point built-in. Until recently, your only choice was configuring HTTPS access via AWS API Gateway.

This is good news for Corticon.js users as it provides a simple way to configure an HTTPS endpoint in front of your decision services. You also do not require the functionality of API Gateway, such as request validation, throttling, custom authorizers, custom domain names, usage plans, or caching.

How Does It Work

Note: If you have not created a Lambda function before, see this blog on how to get started with Lambda, and see this blog on how to deploy Corticon.js decision services on Lambda in just a few clicks.

When you create your Lambda function, simply check the following option from the Advanced Setting:

create

If you have an existing Lambda function and want to add a function URL, simply use the Configuration tab as indicated below:

set

Either way, you will get the URL from the main screen:

get

>

Now you can invoke your decision service using an HTTPS request to the indicated URL.

What Version of Corticon.js Supports Function URL?

Any of the currently shipping versions of Corticon.js work with Function URL. You simply create a decision service using the Lambda target and deploy it as you usually do.

Pricing

There is no separate pricing as there is for API Gateway. The cost is built into the Lambda request.

I tried several invocations from the TEST function in the AWS console versus invoking using Postman and could not notice any differences in the duration I was billed between the two. So, at first sight it feels like it does not cost much, if anything, to use Function URL.

Conclusion

With a one click configuration option you will get an HTTPS end point to your Serverless Corticon.js decision service. AWS takes care of configuring a highly available, scalable, and secure HTTPS service.

Try Corticon.js Today

Thierry Ciot

Thierry Ciot

Thierry Ciot is a Software Architect on the Corticon Business Rule Management System. Ciot has gained broad experience in the development of products ranging from development tools to production monitoring systems. He is now focusing on bringing Business Rule Management to Javascript and in particular to the serverless world where Corticon will shine. He holds two patents in the memory management space.

Comments

Comments are disabled in preview mode.
Topics

Sitefinity Training and Certification Now Available.

Let our experts teach you how to use Sitefinity's best-in-class features to deliver compelling digital experiences.

Learn More
Latest Stories
in Your Inbox

Subscribe to get all the news, info and tutorials you need to build better business apps and sites

Loading animation