将App Service连接到不同资源组中的负载均衡群集

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

我在Azure中有2个独立的资源组:

  1. 包含一些服务,包括托管Python Django的应用程序服务
  2. [包含我使用here中的ARM模板创建的ElasticSearch集群

我想从(1)中的App服务连接到(2)中的ElasticSearch服务负载均衡器

我尝试使用]创建虚拟网络对等

az network vnet peering create -g $webResourceGroup -n web2es --vnet-name vnet --remote-vnet $remote_vnet --allow-vnet-access

其中$webResourceGroup => (1)$remote_vnet => (2)

但是,当我尝试向ElasticSearch Service发出HTTP请求时,它不起作用。

如何解决或解决此问题?

[我在Azure中有2个独立的资源组:包含一些服务,其中包括托管Python的App Service Django包含一个ElasticSearch群集,该群集是我从此处使用ARM模板创建的...

azure elasticsearch networking elastic-stack
1个回答
0
投票

有一些requirements and constraints用于虚拟网络对等。

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