Quantcast
Channel: Azure Virtual Machines forum
Viewing all 12545 articles
Browse latest View live

Reserved instance

$
0
0
have purchased reserved instance size (D2/D3) for 3 years. But to create a windows VM from it of size DS2_V2/DS3_V2 from it.Will it be treated as chargeable VM or it is include in the reserved instance plan

AWS AMI Similar feature in Azure

$
0
0
What is the similar feature of AWS AMI in Azure.? I Want to create Standard Operating Environment in Azure

Daily password reset request

$
0
0

Hi,
I have created a Windows 10 Pro VM on Azure VM, and have configured Bitlocker encryption on the disks. Every day during my time on the VM, the VM will freeze and I would need to reconnect. This happens atleast 4-5 times a day. Out of the 5 times atleaset a couple of times, I am forced to reset my password through Azure console. I want to somehow disable the password reset request every day, but not sure how. Any help would be appreciated.

Thanks

SS

Cannot access Azure without VPN

$
0
0

I'm having trouble accessing my VM (hosted in East Asia, HK) after obtaining a new public IP address. I'm in mainland China (and thus behind the Great Firewall - not sure if this is relevant). I was able to RDP to it fine previously. But after getting the new public IP, there have been connection problems.

I still receive the prompt asking me if I want to connect given the invalid certificate. I say YES. And then RDP gives me the 0x204 error.

However, if I first use a HK VPN and then try to RDP to my VM it connects fine.

I have already tried obtaining a new IP address from my home ISP provider (in case Azure was blacklisting my IP for some reason). But this didn't help.

So my question is: is there any reason to think that Azure is preventing all IPs originating from China to connect o my VM? And if so, how can I stop this? As I said, I was able to use it fine previously

Azure reservation instances

$
0
0

Hi experts

I have 3 VMs, in the azure portal I have checked the advisor-cost and found the recommendation cost management as below :

'' This recommendation was calculated based on your VM usage trend over the last 30 days and the suggested quantity is based on what will maximize your savings. This quantity may not be the number of virtual machines deployed in that region. 

Recommended quantity: 3

Currently deployed virtual machines: 3

My question is: how to get the recommendation based on calculation based on VM usage over the last 60 days instead of 30 days?


AppGateway use backend SSL port

$
0
0

Hello,
Is there any way to force AppGateway/WAF to redirect requests to HTTPS (443) port of backend pool?

I just want to do the following:
WAF(:80) --> Backend(:80)
WAF(:443) --> Backend(:443)

And I just have
WAF(:443) -->Backend(:80).

I have an application in backend that whenever it receives the request at port 80, it redirects to 443 and I have an infinite 301 loop.
WAF(:443) --> Backend(:80) --> SSLRedirect --> WAF(:443) --> Backend(:80)...


Big response lag in Windows VPS with video

$
0
0
Hi, getting huge response lag in Windows VPS (Azure). I captured with a screen recording software - https://streamable.com/ohj7l

if u see when I am going up and down, u can see the lag.

I reduced the color to 24 bit, lowered the screen resolution, optimized the internet connection but still there is the lag.

How to fix? I am scratching my head now. :/

PEAP-MSCHAPv2 wifi 802.1x security

$
0
0

Is the PEAP-MSCHAPv2 NPS wifi 802.1x not a secure method of authentication what's the official stance from Microsoft for secure wireless connectivity?

Is the only secure option to Configure Certificate based authentication? (the smart card of certificate option on the client and server)


Can i set display size and resolution of VM same as Surface Go and Surface Pro?

$
0
0
Dear Azure Supporter,
I have a question about the Windows Virtual Desktop product.
Can I set display size and resolution of the VM to the same 
display size and resolution of surface go and surface pro or something like this.
I want to use it for manual testing and automation testing webapp on these tablet pc.

Best regards,
Tuan.

Resize VM A0 basic to A1 basic

$
0
0

Regards,

We have a virtual machine that has run out of RAM memory, we need to increase from a basic A0 to A1. We want to make this increase, but we are afraid that we lose the information stored in the VM, as I read we can lose all the information of this VM. 

Our disk is a standard HDD of 30 GB and this disk is safe on group resources

Thanks for the help


Cannot RDP to freshly provisioned WinServer 2019 VM

$
0
0

I have created and deleted 3 virtual machines.

Just a simple basic server 2019 instance. This is the template:

{"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion": "1.0.0.0","parameters": {"location": {"type": "string"
        },"networkInterfaceName": {"type": "string"
        },"networkSecurityGroupName": {"type": "string"
        },"networkSecurityGroupRules": {"type": "array"
        },"subnetName": {"type": "string"
        },"virtualNetworkName": {"type": "string"
        },"addressPrefixes": {"type": "array"
        },"subnets": {"type": "array"
        },"publicIpAddressName": {"type": "string"
        },"publicIpAddressType": {"type": "string"
        },"publicIpAddressSku": {"type": "string"
        },"virtualMachineName": {"type": "string"
        },"virtualMachineRG": {"type": "string"
        },"osDiskType": {"type": "string"
        },"virtualMachineSize": {"type": "string"
        },"adminUsername": {"type": "string"
        },"adminPassword": {"type": "secureString"
        },"diagnosticsStorageAccountName": {"type": "string"
        },"diagnosticsStorageAccountId": {"type": "string"
        },"diagnosticsStorageAccountType": {"type": "string"
        },"diagnosticsStorageAccountKind": {"type": "string"
        }
    },"variables": {"nsgId": "[resourceId(resourceGroup().name, 'Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName'))]","vnetId": "[resourceId(resourceGroup().name,'Microsoft.Network/virtualNetworks', parameters('virtualNetworkName'))]","subnetRef": "[concat(variables('vnetId'), '/subnets/', parameters('subnetName'))]"
    },"resources": [
        {"name": "[parameters('networkInterfaceName')]","type": "Microsoft.Network/networkInterfaces","apiVersion": "2019-07-01","location": "[parameters('location')]","dependsOn": ["[concat('Microsoft.Network/networkSecurityGroups/', parameters('networkSecurityGroupName'))]","[concat('Microsoft.Network/virtualNetworks/', parameters('virtualNetworkName'))]","[concat('Microsoft.Network/publicIpAddresses/', parameters('publicIpAddressName'))]"
            ],"properties": {"ipConfigurations": [
                    {"name": "ipconfig1","properties": {"subnet": {"id": "[variables('subnetRef')]"
                            },"privateIPAllocationMethod": "Dynamic","publicIpAddress": {"id": "[resourceId(resourceGroup().name, 'Microsoft.Network/publicIpAddresses', parameters('publicIpAddressName'))]"
                            }
                        }
                    }
                ],"networkSecurityGroup": {"id": "[variables('nsgId')]"
                }
            }
        },
        {"name": "[parameters('networkSecurityGroupName')]","type": "Microsoft.Network/networkSecurityGroups","apiVersion": "2019-02-01","location": "[parameters('location')]","properties": {"securityRules": "[parameters('networkSecurityGroupRules')]"
            }
        },
        {"name": "[parameters('virtualNetworkName')]","type": "Microsoft.Network/virtualNetworks","apiVersion": "2019-04-01","location": "[parameters('location')]","properties": {"addressSpace": {"addressPrefixes": "[parameters('addressPrefixes')]"
                },"subnets": "[parameters('subnets')]"
            }
        },
        {"name": "[parameters('publicIpAddressName')]","type": "Microsoft.Network/publicIpAddresses","apiVersion": "2019-02-01","location": "[parameters('location')]","properties": {"publicIpAllocationMethod": "[parameters('publicIpAddressType')]"
            },"sku": {"name": "[parameters('publicIpAddressSku')]"
            }
        },
        {"name": "[parameters('virtualMachineName')]","type": "Microsoft.Compute/virtualMachines","apiVersion": "2019-07-01","location": "[parameters('location')]","dependsOn": ["[concat('Microsoft.Network/networkInterfaces/', parameters('networkInterfaceName'))]","[concat('Microsoft.Storage/storageAccounts/', parameters('diagnosticsStorageAccountName'))]"
            ],"properties": {"hardwareProfile": {"vmSize": "[parameters('virtualMachineSize')]"
                },"storageProfile": {"osDisk": {"createOption": "fromImage","managedDisk": {"storageAccountType": "[parameters('osDiskType')]"
                        }
                    },"imageReference": {"publisher": "MicrosoftWindowsServer","offer": "WindowsServer","sku": "2019-Datacenter","version": "latest"
                    }
                },"networkProfile": {"networkInterfaces": [
                        {"id": "[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaceName'))]"
                        }
                    ]
                },"osProfile": {"computerName": "[parameters('virtualMachineName')]","adminUsername": "[parameters('adminUsername')]","adminPassword": "[parameters('adminPassword')]","windowsConfiguration": {"enableAutomaticUpdates": true,"provisionVmAgent": true
                    }
                },"licenseType": "Windows_Server","diagnosticsProfile": {"bootDiagnostics": {"enabled": true,"storageUri": "[concat('https://', parameters('diagnosticsStorageAccountName'), '.blob.core.windows.net/')]"
                    }
                }
            }
        },
        {"name": "[parameters('diagnosticsStorageAccountName')]","type": "Microsoft.Storage/storageAccounts","apiVersion": "2019-06-01","location": "[parameters('location')]","properties": {},"kind": "[parameters('diagnosticsStorageAccountKind')]","sku": {"name": "[parameters('diagnosticsStorageAccountType')]"
            }
        }
    ],"outputs": {"adminUsername": {"type": "string","value": "[parameters('adminUsername')]"
        }
    }
}

The firewall is open for TCP/3389. 

I have created a few of these without any issues. 

I can't understand what the problem could be. Must be a problem with Azure?

Anyone can confirm?

Azure Custom Image CentOS

$
0
0
I want to create a pre-encrypted custom image of CentOS. I am able to create a CentOS 7.6 VM and encrypt the OS disk using Azure Disk Encryption. When I capture that VM and create a new VM, the encryption is not enabled. Also I cannot encrypt. Indicates that OS and version is not supported. This happens only on custom images. How to solve this?

Can't install pip

$
0
0

I'm trying to install pip from shell doing this: sudo apt install python-pip

But I obtain this message "E: Unable to locate package python-pip"

Unable to elevate my permissions to add features

$
0
0

I just spun up a virtual machine and am unable to make any changes as administrator.

I'm the one who created the VM, I gave myself these roles: service administrator, Global Root Management Administrator
Managed Application Operator Role
User Access Administrator
Virtual Machine Contributor
Virtual Machine User Login

and still not able to elevate myself to administrator.

Obviously, I'm missing something here.

Please advise.

Thanks!

I cannot find gpu in Standard NC6_Promo (6 vcpus, 56 GiB memory) instance

$
0
0

Hi all. 

I just spun up an virtual machine (Standard NC6_Promo (6 vcpus, 56 GiB memory) instance) but I don't seem to find gpu on the machine. 

(cv_proj_1) kamoliddinov@elbek-gpu:~/cv-final$ sudo lshw -C display
  *-display                 
       description: VGA compatible controller
       product: Hyper-V virtual VGA
       vendor: Microsoft Corporation
       physical id: 8
       bus info: pci@0000:00:08.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: vga_controller bus_master rom
       configuration: driver=hyperv_fb latency=0
       resources: irq:11 memory:f8000000-fbffffff memory:c0000-dffff
  *-display UNCLAIMED
       description: 3D controller
       product: GK210GL [Tesla K80]
       vendor: NVIDIA Corporation
       physical id: 1
       bus info: pci@84c4:00:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: iomemory:100-ff iomemory:140-13f memory:41000000-41ffffff memory:1000000000-13ffffffff memory:1400000000-1401ffffff

Also pytorch confirms it:

(cv_proj_1) kamoliddinov@elbek-gpu:~/cv-final$ python
Python 3.6.7 |Anaconda, Inc.| (default, Oct 23 2018, 19:16:44) 
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.>>> import torch>>> print(torch.rand(2,3).cuda())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/kamoliddinov/miniconda3/envs/cv_proj_1/lib/python3.6/site-packages/torch/cuda/__init__.py", line 192, in _lazy_init
    _check_driver()
  File "/home/kamoliddinov/miniconda3/envs/cv_proj_1/lib/python3.6/site-packages/torch/cuda/__init__.py", line 102, in _check_driver
    http://www.nvidia.com/Download/index.aspx""")
AssertionError: 
Found no NVIDIA driver on your system. Please check that you
have an NVIDIA GPU and installed a driver from
http://www.nvidia.com/Download/index.aspx

I thought NC6 has a Nvidia gpu, what am doing wrong? 

Any help is appreciated, 


Throughput striping Premium disk issue

$
0
0

Hello,

I deployed SQL server on VM (size DS14-8_v2) in Azure and to improve performance enabled disk striping to storage using premium SSD (P30 * 4 pieces). But I don't see any changes in performance. The throughput is incredible low.

For my estimation throughput should be 200 MiB/s * 4 = 800 MiB/s. Why our throughput is so low?
I'm using next guideline to setup IT environment for SQL server: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-performance

Storage Pool:






Thank you!

  

Unable to download VHDs of VM using Classic Deployment

$
0
0

Hi,

I am trying to download the VHD of a (classic) VM.

I tried to download via the PowerShell. However, the old cmdlets does not work on the latest PowerShell 3.0 and the Az Module could not find the VHD.

Thus i try downloading it via the Azure Portal. But i got an error "Failed - Forbidden" after hours of waiting ...

I checked on the Disk status and it indicated that it is "leased".

Please advice on how i download the vhd without breaking the lease.

Thanks,

Alex Ang

Cannot run game app - DX 11 10.0 required error - Windows 10 VDI

$
0
0

I created a VM using the NV6_Promo build in order to take advantage of the GPU. I do a lot of photo editing and media creation as well as wanting to try this out for Cloud Gaming. It is probably more costly than other services, so this is mainly for testing to see how the new Windows 10 Pro build works.

I've seen a lot of people setting up the Server builds to work for gaming, and have used other services that offer Win10 VDIs like Shadow and had now issues. This leads me to think I am missing something, or using the wrong build - although it feels like it should work.

I got it composed and logged in and downloaded the game (Fortnite in this case) and get a Need DX11 option 10.0 error. I've seen this is an older error from back in the Win7 days, so was a bit surprised. I confirmed that the graphics driver was showing DX12 and 10.0 as an option as well all the others, but attempted to update the driver anyway. It installed the NVidia drivers through the extension, but when I attempted to play with those settings I got a message telling me that I'm not using an NVidia GPU for my display. I'd thought maybe this was due to RDP connection, but that doesn't appear to be a problem for most people.

I know I'm missing something, and I am hoping one of you can slap the sense into me and get this going.

Virtual machine for microclimatic simulation with ENVIMET

$
0
0

Hello,

I need a virtual machine to run Envimetsimulations. This software requires : 

CPU: modern 6 or 8 core CPU, Intel i5-8400 – Ryzen 5 1600X or better
RAM: 16 GB
OS: Windows 7 / Windows 8 / Windows 10 (64bit)
VIDEO CARD: no specific requirements
FREE DISK SPACE: more than 30 GB

What type of VM do you suggest me?

Thank you

Как удалить учетную запись удаленного рабочего стола.

$
0
0
Я удалила виртуальную машину. Как мне теперь удалить учетную запись удаленного рабочего стола, связанного с удаленной виртуальной машины ? Подскажите, пожалуйста.
Viewing all 12545 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>