azure-virtual-machine

Vnet between Virtual Machine and App Service in Azure

我怕爱的太早我们不能终老 提交于 2019-12-10 15:59:15
问题 I cannot figure out how to connect a Web App ( App Service ) to a Virtual Machine in Azure. I've create a VNet from the Web App configuration panel. All items are created using the Resource Management model, are in the same subscription and are at least of the Standard pricing tier. Apparently a Web App cannot be connected to a V2 VNet. (Looks like these terms are used interchangeably, or is it something different). I've create a classic Vnet (V1?). But I cannot seem to find out how to

How to verify an Azure virtual machine RDP certificate?

点点圈 提交于 2019-12-10 15:40:00
问题 My VM's RDP certificate fingerprint changed for some reason. Is there a way for me to verify the new certificate fingerprint in Azure? Type: Virtual Machine (classic), Machine: Basic_A3, OS: Windows Server 回答1: There are boot diagnostic logs available in Azure, enabled by default, when you boot a virtual machine. You can find them by selecting the virtual machine in the Azure portal; in the menu section 'Support + troubleshooting', select 'Boot diagnostics' and then the tabpage 'Serial log'.

Can you do in-place updating/upgrading of Azure VM Operating System?

限于喜欢 提交于 2019-12-10 12:57:18
问题 Is there a way to do in-place update the OS of an Azure VM, from within the Azure Portal? i.e. from Windows Server 2012 R2 to Windows Server 2016 回答1: Nope. As per official article: Microsoft does not support an upgrade of the operating system of a Microsoft Azure virtual machine. Instead, you should create a new Azure virtual machine that is running the supported version of the operating system that is required and then migrate the workload. https://support.microsoft.com/en-us/help/2721672

How do I transfer my build output files to an Azure VM using PowerShell DSC?

陌路散爱 提交于 2019-12-10 11:17:41
问题 I've been toying around with DSC and I think it's an awesome platform. I made a few tests to automate the deployment of our TFS build outputs and to automatically install the web applications and configure an environment. This was relatively easy, as I could pass my drop folder path to the DSC script using a file share on our internal network, and use relative paths inside the configuration to select each of our modules. My problem now is in how to expand this to Azure virtual machines. We

Why doesn't my Azure virtual machine show up in Visual Studio's Publish feature, for an ASP.NET MVC app?

纵饮孤独 提交于 2019-12-09 02:39:40
问题 I'm trying to publish my ASP.NET MVC4 web application, using Visual Studio 2013, to a virtual machine that I have up and running in Azure. The virtual machine has IIS installed on it. I'm not using the Azure Web Sites feature because it does not support virtual networks, yet, and thus cannot be configured to connect to a SQL Server database, running on an Azure VM, using a private LAN IP. So, this publish question does not pertain to the simpler publish-to-azure-websites feature. The GUI for

Cannot connect to azure VM. CredSSP issue

爷,独闯天下 提交于 2019-12-08 12:56:18
问题 After I received a windows update on my PC I cannot connect to my azure vm via RDP. How can I connect to Azure in order to install the update? 回答1: This is a known issue. Root Cause Analysis To resolve a vulnerability issue with Credential Security Support Provider protocol (CredSSP), a monthly Windows update in May was applied which does two things: Correct how Credential Security Support Provider protocol (CredSSP) validates requests during the authentication process Change the group policy

Reserved IP's for Azure Resource Manager based Virtual machines

大兔子大兔子 提交于 2019-12-08 06:45:17
问题 The Question is twofold. Firstly, What is the way to assign a reserved IP address as a public IP to a resource manager based virtual machine. Does it only involve setting IP allocation method to static in template file (then assigning that to NIC hence the VM of course) or there is some other way to do this, i have read over the internet about load balancers but i am not getting how to use them using a template file, please refer any links. Secondly, does any rest api or .net sdk exist to

Azure Virtual Machine Size Information on Powershell

泪湿孤枕 提交于 2019-12-07 20:14:49
问题 I wondering if there are any method (query) on Powershell to retrieve/get the specs of the different VM sizes on Azure besides the Role Size Name. I need: number of cores and disk, RAM, S.O, and the price per month or per min, any other information is welcome :D. Something like the picture show: 回答1: Try Get-AzureRoleSize. This will give you some of the information you're looking for. It won't include the pricing as pricing depends on a number of other factors like the kind of subscription

Azure VM custom script extension SAS token support

十年热恋 提交于 2019-12-07 19:44:29
问题 I am trying to deploy add a custom script extension to an Azure VM using an ARM template, and I want to have it download files from a storage account using a SAS token. Here is the template (simplified): { "name": "CustomScriptExtension" "type": "Microsoft.Compute/virtualMachines/extensions", "location": "eastus", "properties": { "publisher": "Microsoft.Compute", "type": "CustomScriptExtension", "typeHandlerVersion": "1.8", "settings": { "fileUris": [ "https://{storage-account}.blob.core

How to get list of Azure VMs (non-classic/Resource Managed) using Java API

别来无恙 提交于 2019-12-07 10:08:36
问题 How to get list of VMs (non-classic) using Java API, which are created using resource Manager? Why we need tenant id, client id and client key to create 'com.microsoft.azure.management.compute.ComputeManagementClient' object? Can it be done using subscription id and Azure Portal credentials? Sample provided with azure-mgmt-compute project needs these tenant id, client id where as we don't need these details when we create VM (selecting Resource Manager) on Azure Portal. 回答1: Why we need