英文:
Static IP of Logic App Standard using Virtual Network, NAT Gateway
问题
I've a Logic App which needs to post a SFTP site outside of the Azure environment. The owner of the SFTP site needs the IP from which the route will come, so that they can whitelist the IP for access
我有一个逻辑应用需要将数据发送到 Azure 环境之外的 SFTP 站点。SFTP 站点的所有者需要知道请求的源 IP 地址,以便将该 IP 地址添加到白名单中以允许访问。
I try to follow the Logic App public IP address and this MSFT article)
我尝试遵循逻辑应用公共 IP 地址 和这篇 MSFT 文章)。
In the article, once author created Logic App and Virtual Network, they were able to integrate VNet in Logic App.
在文章中,作者创建逻辑应用和虚拟网络后,他们能够将虚拟网络集成到逻辑应用中。
When I tried I got this error
当我尝试时,我遇到了以下错误:
[]
即使所有资源都位于同一区域。(如何检查以确保所有使用的资源都位于同一区域,除了手动查看每个资源?)
So, I did create Virtual Network with Address space
因此,我创建了具有地址空间的虚拟网络
subnets
子网
and NAT gateway (assigned the Virtual Network) with public IP.
以及 NAT 网关(分配给虚拟网络)和公共 IP 地址。
and Virtual Network Gateway with Point-to-site configuration and assigned the Virtual Network
还创建了具有点对站配置的虚拟网络网关,并分配了虚拟网络。
I then assigned the Virtual Network in the Logic Apps, Vnet Integration. I do not see the Subnets from the Virtual network
然后,我在逻辑应用的 Vnet 集成中分配了虚拟网络。但是我看不到来自虚拟网络的子网
Also, I don't see the IP's of the outgoing Logic app to the one from the NAT Gateway's Public IP address.
此外,我看不到逻辑应用发出的 IP 地址与 NAT 网关的公共 IP 地址之间的关联。
I'm struggling with for the last three days and an wondering if someone will tell me what is the issue might be. Also, VNet Integration asks for Virtual Network Gateway (The article referenced above does not reference it and it was published on Feb 27th 2023).
我已经苦苦挣扎了三天,不知道问题可能是什么。此外,VNet 集成需要虚拟网络网关(上面引用的文章没有提到它,该文章发布于 2023 年 2 月 27 日)。
I think, I'm doing something wrong or missing configuration.
我认为,我可能做错了一些事情或者缺少配置。
Please help
Thanks
请帮助
谢谢
英文:
I've a Logic App which needs to post a SFTP site outside of the Azure environment. The owner of the SFTP site needs the IP from which the route will come, so that they can whitelist the IP for access
I try to follow the Logic App public IP address and this MSFT article)
In the article, once author created Logic App and Virtual Network, they were able to integrate VNet in Logic App.
When I tried I got this error
[]
Even though all the resources are in the same region. (How do I check to make sure all the resources used are in the same region expect manually looking at each resource?)
So, I did create Virtual Network with Address space
subnets
and NAT gateway (assigned the Virtual Network) with public IP.
and Virtual Network Gateway with Point-to-site configuration and assigned the Virtual Network
I then assigned the Virtual Network in the Logic Apps, Vnet Integration. I do not see the Subnets from the Virtual network
Also, I don't see the IP's of the outgoing Logic app to the one from the NAT Gateway's Public IP address.
I'm struggling with for the last three days and an wondering if someone will tell me what is the issue might be. Also, VNet Integration asks for Virtual Network Gateway (The article referenced above does not reference it and it was published on Feb 27th 2023).
I think, I'm doing something wrong or missing configuration.
Please help
Thanks
答案1
得分: 1
终于,在经过4天的努力后,我能够找到这个问题的解决方案。
我不需要虚拟网络网关。我所需要的只是虚拟网络和NAT网关,正如文章中所提到的,但是VNet集成是通过Azure Cli集成的,像这样:
az webapp vnet-integration add --resource-group xxxx --name xxxx --vnet xxx --subnet default
它运行得非常顺利。我相信,通过Azure Cli而不是Azure Portal执行会更好。
英文:
Finally after struggling for 4 days, I was able to figure out the solution for this.
I didn't need Virtual Network Gateway. All I needed was Virtual Network and NAT gateway as mentioned in the Articles, but the VNet Integration was integrated with Azure Cli like
az webapp vnet-integration add --resource-group xxxx --name xxxx --vnet xxx --subnet default
And it worked like charm. I believe, it is better do it thru Azure Cli than Azure Portal
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论