Configure VM Role on Azure Emulator - azure-vm-role

How can we configure VM Role on Azure Emulator? Is this possible or do i need to do my testing on Windows Azure Management Portal.
Thanks,
Mrinal Jaiswal

On Azure F&Q its written that Emulator supports VM role but to much dismay it doesn't. I talked to Microsoft Tech team and got this answer.
One good thing they told me was, if i want to use VM on Azure it will be better if i use extra-small deployment it will increase my compute hours and i can host 2 extra-small VM role on azure in free trail account.

Related

how to configure Windows Service Program in azure portal (PaaS)

We have installed the windows service program in azure virtual machine. After installing the windows service that has been displayed in Services.msc - this is working fine without any issues.
But while we migrating the web application to Azure PaaS , how to configure the windows service in azure portal. Kindly provide the step by step process to achieve this.
Otherwise please provide if we have any alternate method to achieve this in azure PaaS.
Thank you in advance.
There is no "Windows Service" Paas on Azure, you need to migrate your Code to Azure Functions or Azure Appservice Webjobs.
Read more here https://mariankostal.com/2021/01/24/convert-windows-service-to-azure-function/

How to add user assigned managed identity to Azure Lab VM?

My goal is to have a VM to run builds for Azure DevOps with a user-assigned managed identity so we can keep everything connectionStringLess.
I have just created an Azure Lab and a VM in it.
The reason for this in the lab is so we can shut it down during nights and weekends.
However, I can't find the option to assign managed identities to it.
If possible, how do I do it?
Looks the lab VM (Microsoft.DevTestLab/labs/virtualmachines) does not support MSI currently, you need to use the azure VM(Microsoft.Compute/virtualMachines).
Reference - Services that support managed identities for Azure resources.
Besides, I notice you use the lab VM for auto-start/stop reason, actually the Azure VM also supports that, see Start/Stop VMs during off-hours solution in Azure Automation, not only schedule VMs to start and stop, but also other features.

How to determine if Azure VM is VM Role (preview) or Virtual Machines (GA)

The VM Role preview in Windows Azure ends on May 31, 2013 and Microsoft urges to migrate VM Roles to "proper" Virtual Machines that are in General Availability as described here:
http://msdn.microsoft.com/library/3dae01d2-2397-47ed-a134-f9ffe58a9b52.aspx
But how do I know which of the Virtual Machines running in Azure are VM Roles and which are Windows Azure Virtual Machines?
I wrote a blog post that may help: Do I have VM Roles that I should migrate? at http://blogs.msdn.com/b/benjguin/archive/2013/04/19/do-i-have-vm-roles-that-i-should-migrate.aspx
You probably see it easily in the portal, but an easy check could be to store something on your disk and stop/delete and recreate the machine. If the file is no longer there, that means it's a VM role.
I also believe you cannot see VMRole in the new portal (and only in the old portal)

Using LocalDB on Windows Azure VM

I have been reading about LocalDB and how it can not be used in Azure Roles (since they do not persist if the role stops working) and that you should move towards either Azure SQL or Azure Storage.
However, is it possible to use the LocalDB in a Windows Azure VM? Because I do not currently have access to a Azure Account I am not able to test this myself.
Kind regards
Tom
Azure VM should work fine, since it is fully persisted and largely compatible with regular Windows. Note that I'm referring to the new Azure VM feature, not the old Azure VM Role, since the VM Role was not fully persisted. Just clarifying the answer in case someone doesn't read the question too carefully.

Can i use Autoscaling Application Block to scale Azure VM role instances?

Can i use the Autoscaling Application Block for balancing/scaling the Azure VM role instances?
If this is possible, do i need to include Autoscaling Application Block in the service model definition which is for the virtual machine role?
Thanks a lot.
Yes, you should be able to target VM roles as Wasabi goes through the standard Windows Azure Management API. See the Design of Wasabi section for more info.
WASABi uses standard Diagnostics and Management API which are fully supported by the VM Role. However, if you're not able to get WASABi to work with your VM Role, you can try AzureWatch, a third-party SaaS monitoring & auto-scaling service
No WASABI is not supported for VM Role. It is primarily designed and tested with Web/Worker Roles only. The fact is that if you understood WASABI and plan to use WASABI in VM Role, you might be better of using Web/Worker role instead of using VM Role.
Visit link below for more info:
http://blogs.msdn.com/b/agile/archive/2011/08/23/autoscaling-windows-azure-applications.aspx

Resources