Azure-docs: How to use AWS lamda@edge like in Azure

Created on 14 Mar 2019  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

I am looking for a solution like AWS lamda@edge in Azure CDN but so far I have found anything close.

I am specifically looking for a scenario like Bot Mitigation at the Edge in the mentioned link:
https://aws.amazon.com/lambda/edge/


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

cdsvc cxp in-progress product-question triaged

Most helpful comment

It is very disappointing that Azure cannot compete with AWS in so many areas even today. Azure DDoS not going to help us here. We are running our own code for authorization and authentication using lamda@edge.

All 5 comments

@vikaskumawat80 Unfortunately Azure does not have a comparable product to AWS Lambda@Edge at this time. If you would like us to add this in the future, please leave your feedback Here.

For Bot Mitigation, Azure Fuctions is under the protection of Azure DDoS Protection Basic, which will provide some protection. DDoS Protection Standard will NOT apply to Azure Functions unless the traffic is routed through a VNET with DDoS Protection Standard enabled.

If you would like to implement a similar edge type function design in Azure, you would need to spin up functions in several different regions, and then use Azure Traffic Manager to route the traffic to the closest datacenter.

You can also provide additional bot mitigations by routing traffic through a VM or NVA first, and then to your Azure Functions.

If you want more information about any protections that Azure Functions give, your best bet is to ask on the MSDN Forums or create a GitHub Issue on a Azure Functions Doc.

@vikaskumawat80 , Any update on this? I will go ahead and close this for now and reopen if you have any further questions.

It is very disappointing that Azure cannot compete with AWS in so many areas even today. Azure DDoS not going to help us here. We are running our own code for authorization and authentication using lamda@edge.

@vikaskumawat80 , If you are looking for a solution which mitigates BOTs in edge, you can go with Azure Frontdoor which has WAF capabilities.

Azure frontdoor WAF is still in Public Preview. You can try that and let us know if you have any questions.

The Bot Mitigation just an example. Actually, we have the lambda functions which checks the user access for the CDN content.

Was this page helpful?
0 / 5 - 0 ratings