azure-virtual-network

Azure container instances (ACI) deployment to virtual network fails (region: westeurope)

守給你的承諾、 提交于 2020-06-16 17:24:20
问题 my ACI deployment to a virtual network (target subnet is delegated to container instances) stopped working over the week-end with a strange error message: "The requested resource is not available in the location 'westeurope' at this moment. Please retry with a different resource request or in another location. Resource requested: '1' CPU '1.5' GB memory 'Linux' OS virtual network" Here is the deployment script: az container create --resource-group $(resourceGroupName) --name $(containerName)

How to get access token in Azure for Network Rest API?

我怕爱的太早我们不能终老 提交于 2020-06-13 06:21:29
问题 Following are the Points by reference to the Azure Network API: The following information is common to all tasks: Replace {api-version} with 2015-06-15. Replace {subscription-id} with your subscription identifier in the URI. Replace {resource-group-name} with the resource group. For more information, see Using Resource groups to manage your Azure resources. Set the Content-Type header to application/json. Set the Authorization header to a JSON Web Token that you obtain from Azure Active

Access a Cosmos DB in a virtual network from a Function app

纵然是瞬间 提交于 2020-01-06 07:10:25
问题 Apologies for the long post, but I've been working for days on this issue and I can't seem to find the solution. Situation I want to restrict access to a Cosmos DB in Azure by placing it in a Virtual Network (VNet) and only allow access via a Function app. Approach The first part is simple: Create a Cosmos DB and a VNet and configure the service endpoint of the database as described here. Connecting a Function app to a VNet can be done in two ways. Using a Gateway Following this guide, I've

Why does Azure Application Gateway require an empty subnet

一个人想着一个人 提交于 2020-01-01 11:45:11
问题 When I try to execute New-AzureRmApplicationGatewayIPConfiguration to create an application gateway, I get an exception: Subnet xxx cannot be used for application gateway yyy since subnet is not empty. I encountered this error when I tried to add the application gateway to the same subnet as the backend servers. Why is this not an option? Does each gateway require a separate subnet? What is the recommended configuration? Related questions: The documentation says backend servers can be added

Disable VPN gateway in Azure classic VM virtual network

爷,独闯天下 提交于 2019-12-25 07:38:03
问题 While trying Azure VM migration from ASM to ARM, I realized that "Configure point-to-site connectivity" is checked (so we can say VPN gateway is configured) to the network settings even though I does not have any connection to the VPN gateway. The network is in use description is displayed in old portal and it still remains after deallocating the VM. Unchecking then save action gives failure as expected by using PowerShell command and Portal. How to disable this setting? Do I have to recreate

How to create Azure Container Registry inside the Virtual Network?

爱⌒轻易说出口 提交于 2019-12-24 22:54:10
问题 I am managing K8s cluster with AKS. My main aim to keep all the resources which are required for K8s in the same Vnet. One of the resources is ACR. I want to make it private and also it should be only able to access within the Vnet. Please let me know if its possible or point me in the right direction. Thanks! 回答1: Unfortunately, the ACR is just a repository to create and maintain Azure container registries to store and manage your private Docker container images. It seems that there is no

Private endpoint in Azure

走远了吗. 提交于 2019-12-24 15:30:41
问题 I'm trying to create sql database with private endpoint (preview enabled). I'm getting following error: {"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"BadRequest","message":"{\r\n \"error\": {\r\n \"code\": \"PrivateEndpointCannotBeCreatedInSubnetThatHasNetworkPoliciesEnabled\",\r\n \"message\": \"Private endpoint /subscriptions

Accessing resources from connected Azure VNETS via VPN

我只是一个虾纸丫 提交于 2019-12-24 08:58:18
问题 I have two virtual networks that each have their own virtual network gateway (VNET1 and VNET2). I have connected them with VNET to VNET connections. All resources in each VNET can see each other via PING as well as RDP so I know the VNET to VNET connection is working properly. I also have a Point to Site configuration setup on VNET1 which allows me to VPN from my onsite premise. When I start up the VPN connection, I can see everything in VNET1, but I cannot see anything in the other VNET

Subdomain not working after changing the nameservers

我们两清 提交于 2019-12-18 09:22:54
问题 I have hosted my website in Microsoft Azure . I have purchased the domain from register.com . I have used a Linux VM for my project deployment. Suppose my website name is example.com . I have created a sub domain for it called app.example.com It was working fine but its not working when i created a DNS Zone resource in my azure account & updated those nameserver name in my register.com site. 回答1: According to your description, we can follow those steps to setup Azure DNS zone and your domain

How to secure access from App Service To Azure Sql Database using virtual network?

偶尔善良 提交于 2019-12-18 02:57:28
问题 Scenario I want to use virtual network in order to limit access to Azure Database only from my App Service, so that I can turn of "Allow access to App Services" in firewall settings What I have done: I went to App Service -> Networking -> VNET Integration -> Setup -> Create New Virtual Network I've created new VNET with default settings. When VNET was created I went to App Service -> Networking -> VNET Integration and ensured that the VNET is connected I went to SQL Firewall settigs ->