I've written a Windows Service in C# that does a whole bunch of background admin tasks on the database. Now my customer wants to migrate the whole shebang to Azure. I know next to nothing about Azure, and my customer says you can't run a Windows Service on Azure. I've googled for this topic and come out with a few very specific case studies of what somebody did to move their Windows Service to Azure, assuming a fairly high level of understanding of how Azure works, but no general articles about whether or not Windows Services can run under Azure, or what to do to adapt them.
I would really like to see a clear answer and explanation to the first question (can you run a Windows Service under Azure?), and if the answer is no, I'd love to find a step-by-step guide for converting a Windows Service to something Azure-compatible.
Thanks!
It IS now indeed possible to run a windows service in Windows Azure using the VM Role. However, a more ideal way to run a service in Windows Azure is to set it up as a Service Role and NOT as a Windows Service.
One of the best options for monitoring of services across Windows and Linux leverages off the Change Tracking solution in Azure Automation. The solution can track changes on both Windows and Linux. On Windows, it supports tracking changes on files, registry keys, services, and installed software.
Connect to the virtual machineGo to the Azure portal to connect to a VM. Search for and select Virtual machines. Select the virtual machine from the list. At the beginning of the virtual machine page, select Connect.
Yes you can do that - for a simple walkthrough see http://blogs.msdn.com/b/mwasham/archive/2011/03/30/migrating-a-windows-service-to-windows-azure.aspx
Other links with relevant information:
You can run whatever you want, including a Windows Service.
I think you'd be happier converting to a WorkerRole, though, which should be very straightforward.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With