Convert Azure VM to Cloud Service - azure

We are putting up a asp.net webapi project on azure. It also does a few other things so it couldnt go up as an azure website. Our IT guy set it up on a Azure Virtual machine.
I've read we'd be more beneficial to run it as a cloud service (cost wise and also maintenance wise).
I'm just wondering if anyone knows if there is a way to convert an azure virtual machine to an azure cloud service?
Thanks

You can't really convert an Azure VM into an Azure Cloud Service. What you could do is deploy your application as a cloud service. Once everything's working well, you can then deploy that application into a cloud service.

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/

Deploy Azure Cloud Service using Azure Automation Powershell DSC

We are using Azure Automation DSC and were able to do simple things like create Automation account, create Resource group, VM creation and even able to deploy a web site on the target VM. All using powershell scripting.
How can we deploy Azure Cloud Services (web role / worker role)? what are the cmdlets? Any pointers? Please help.
What more things can be achieved using this? Moreover what limitations we can expect here.
Best Regards
Azure DSC is really focused on Azure's Infrastructure as a Service (IaaS) offering. Basically you can configure virtual servers (Windows and Linux) hosted on Azure.
To manage configurations for other services in Azure it is recommended to utilize Azure Resource Manager (ARM) which will allow you to define and configure Azure services in JSON.
Microsoft offers a lot of Quick Start ARM templates that can be accessed at the Azure Quickstart site.

Moving Azure Instance to AWS

I have received $200 credit to host my 2 Windows Azure Cloud projects on AWS. Just wondering what the quick and dirty process is to migrate my Visual studio projects to being published on the AWS cloud?
I could seem to find much documentation available, with the exception that apparently it's possible.
Are you using Cloud Services (web role), an Azure Web Site, or a VM? Depending on how the ASP.NET MVC code is written, you could provision whatever compute capability you need in AWS and deploy there.
The blob storage would likely be the problem. That is unless the code has an abstraction layer to isolate the app from storage implementation details. Azure blob storage and whatever you using in AWS have different platform APIs.

I can't find cloud service in azure publish

I did the listed steps in this page
http://msdn.microsoft.com/en-us/library/windowsazure/ff683676.aspx
I downloaded the file and import it, after that I copied the certificate path and upload it under settings/ Management certificates.
then I am trying to use the created subscription to publish the web application, in the cloud service drop down I see no service , although in management portal there is a cloud service created,
Plz help me if I missed up anything,
You should create a Windows Azure Project, then select Web / Worker Role. (.NET Azure SDK)
PS: In case you already have a project, right-click on roles and add from existing web project.
So, you will publish this azure project to a cloud service.
more info:
http://msdn.microsoft.com/en-us/library/windowsazure/ee405487.aspx
Some cloud services can NOT be deployed to through the publish wizard in Visual Studio for a Cloud Service Project. For example, any Service that already has a VM deployed to it, and is an IAAS VM. Any empty Cloud Service or a cloud service that only has PAAS deployments would show up.
Look at the list of cloud services that are available to you in you Server Explorer ->Windows Azure ->Cloud Services.
Is this an empty Cloud Service? If not make an empty one blank one and you should find it in the dropdown.

Is it normal for Azure to create a web service with the same name when creating virtual machine?

I just created a windows 2012 datacenter VM in azure, however I notice in management portal that Azure also created a cloud service with same name. Is this normal?I don't want to be double charged..
This is normal. You are not charged for Cloud Services. You're only charged for actual VM's deployed in them. Cloud Service is just a record in a database and a concept that is used to group Azure resources together

Resources