Edge Functions Instances for Edge Firewall

By activating the Edge Functions module, you can instantiate serverless functions in your Edge Firewall at Azion, as well as set up the conditions for its execution. Available for Edge Application and Edge Firewall products, its use allows you to run serverless functions in our robust distributed network of Edge Nodes, responding to events closer to the end user, ensuring greater scalability and availability.

How it works

In Edge Firewall, you will have to activate the Edge Functions module, so it is possible to use existing functions provided by Azion. For example:

  • Shieldsquare Bot Manager
  • Secure Token
  • Function JWT

When instantiating an Edge Function, it is not possible to change its source code, just inform the arguments that will be passed to the context of the function’s execution, in JSON, through the Args tab.

go to instantiate edge functions guide

To associate an execution trigger, you simply need to associate the instance with a Behavior of a Rules Engine Rule, in Request. Thus, when a request meets the criteria defined in the Rules Engine rules, Edge Function will be invoked and executed directly on Azion’s Edges Nodes.

go to work with rules engine guide