Graphene-Python +私有Azure函数?

问题描述 投票:0回答:1

Context:我正在设计一个事件驱动的Python应用程序。各种利益相关者要求我提供调查选项,以便在Azure Functions上运行的无服务器环境中使用GraphQL终结点部署应用程序。最终目标是随着底层数据结构的增长,我们希望随时间轻松维护应用程序的使用能力和性能。根据以下资源,这似乎是可能的:

https://azure.microsoft.com/en-us/resources/videos/build-2019-build-scalable-apis-using-graphql-and-serverless/)(https://azure.microsoft.com/en-us/resources/videos/azure-friday-live-building-serverless-python-apps-with-azure-functions/)(https://graphene-python.org/

问题:用户要求表明,Azure函数必须仅供内部使用,不能公开公开。通读下面的文档,我没有找到有关私有终结点安全配置选项的任何资源。

https://docs.microsoft.com/en-us/azure/azure-functions/Private endpoint in Azure

有人能指出我正确的方向吗? Azure函数甚至能够做到这一点吗?如果不是,那么可以使用Azure应用服务之类的替代方法来实现吗?

python azure graphql azure-functions graphene-python
1个回答
0
投票
内使用GraphQL端点来部署应用程序的选项。

[Azure功能具有多个托管选项,包括Consumption PlanPremium PlanApp Service Plan

出于完整的VNET隔离,App Service Environment是目前唯一的解决方法,因为Private Endpoints for Azure Web Apps当前处于预览状态。

但是请注意,如果您已经有一个Kubernetes集群要部署,那么Azure Functions can be deployed into a Kubernetes cluster也可能是更好的选择。

© www.soinside.com 2019 - 2024. All rights reserved.