vnet

How can I get active address space of tagged Azure VNets inside Terraform?

三世轮回 提交于 2021-02-08 11:15:27
问题 I would like to get with Terraform the active address space of VNets for Azure in Terraform that have a certain tag. For this I thought I could use Resource data source for virtual networks: data "azurerm_resources" "vnets"{ type = "Microsoft.Network/virtualNetworks" required_tags = { tag_name = "tag" } } Then I realized that required attribute "address_space" belongs actually to the Virtual Networks Data Source (https://www.terraform.io/docs/providers/azurerm/r/virtual_network.html). Still I

Static ip for azure app service using vnet integration

谁说我不能喝 提交于 2021-01-29 18:11:26
问题 I trying to assign a static ip-address ,or at least control the out bound traffic, for an azure app service with out having to invest in app service environment (it’s very expensive and not very flexible option). Reading up on "vnet integration"( https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet ) in the offical azure doc there exist options to force traffic to the vnet. From there it should be possible to route the all traffic using UDRs through NAT-gateway.

VNet Integration For Azure Web App and Azure SQL Server

牧云@^-^@ 提交于 2020-07-05 20:53:44
问题 I have an Azure Web App and an Azure SQL Server, both in the same subscription. Both of them are connected to the same VNet Subnet as shown in the below snapshots. The SQL Server is configured not to Allow Azure Resources and Services to access the server, as it should only permit access from either the connected subnet or a set of IP rules. Unfortunately, the SQL Server is actively refusing any connection from the web app stating that the web app IP is not allowed to access the server. The

VNET Integration for Azure function using Consumption plan

纵饮孤独 提交于 2020-06-26 12:37:12
问题 My azure function is running on a Consumption plan and it needs to access a resource running on a VM on a Azure VNET. The resource cannot be exposed via http. Is there a solution other then switching to App Service Plan? 回答1: Currently, it is impossible. The VNet Integration feature requires a Standard, Premium, or Isolated pricing plan. Now, Consumption plan is not supported. If it's very import for you, you could vote up this feedback. 回答2: Azure Functions Premium was announced in Oct 2018

Azure container instances with VNET creation error

若如初见. 提交于 2020-06-16 17:26:08
问题 I am attempting to create a Container Instances as a private network attached to an existing VNET and subnet. I managed to get this running yesterday, but doing updates or refreshing the image was painfully slow. I am consuming a private image on dockerhub. Now when I attempt to create an ACI with the same VNET, subnet and image I get the error: The requested resource is not available in the location 'westeurope' at this moment. Please retry with a different resource request or in another

Azure container instances with VNET creation error

独自空忆成欢 提交于 2020-06-16 17:25:08
问题 I am attempting to create a Container Instances as a private network attached to an existing VNET and subnet. I managed to get this running yesterday, but doing updates or refreshing the image was painfully slow. I am consuming a private image on dockerhub. Now when I attempt to create an ACI with the same VNET, subnet and image I get the error: The requested resource is not available in the location 'westeurope' at this moment. Please retry with a different resource request or in another

Azure Function Failing to Start - “Didn't respond to HTTP pings on port X” (Docker/VNet)

笑着哭i 提交于 2020-05-28 03:57:46
问题 I'm really struggling to figure out how to setup an Azure Function that uses a Docker container image and is connected to a VNet. I cannot find any examples of this setup anywhere. The main issue I'm running into is that after my container is up and running, it does not seem to be responding to the HTTP pings the underlying framework uses to determine if the function is up and running. I believe the primary issue is that when you setup a Linux service that uses Docker and connect it to a VNet

Azure Function Failing to Start - “Didn't respond to HTTP pings on port X” (Docker/VNet)

安稳与你 提交于 2020-05-28 03:57:18
问题 I'm really struggling to figure out how to setup an Azure Function that uses a Docker container image and is connected to a VNet. I cannot find any examples of this setup anywhere. The main issue I'm running into is that after my container is up and running, it does not seem to be responding to the HTTP pings the underlying framework uses to determine if the function is up and running. I believe the primary issue is that when you setup a Linux service that uses Docker and connect it to a VNet

Cannot deserialize JSON array into type 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Templates.Schema.TemplateResourceCopy'

妖精的绣舞 提交于 2019-12-24 10:45:29
问题 The aim of the template is to add subnets to an existing Vnet but when executing it using the powershell command New-AzureRmResourceGroupDeployment -Name testing -ResourceGroupName rgname -TemplateFile C:\Test\deploy.json -TemplateParameterFile C:\Test\parameterfile.json The following error is displayed and I really cant understand what it means.Here is the error * "Error: Code=InvalidRequestContent; Message=The request content was invalid and could not be deserialized: 'Cannot populate JSON

Azure Vnet peering with public IP load balancer

心已入冬 提交于 2019-12-11 16:11:26
问题 I got two Vnets: Vnet #1: 1 VM with Public (internet facing) IP load balancer - internet connected App VMs. Vnet #2: 3 VMs with public (internet facing) IP load balancer - internet and private DB servers (the load balancer is using public ip so that I could access the DBs). I set up a peering between Vnet1 & Vnet2 so that the communication between them will be private/internal and fast with no internet routing. I want to access the DBs (using a load balancer) in Vnet2 from Vnet1 - so in the