I can't find cloud service in azure publish - azure

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.

Related

Understanding Azure Release Pipeline

I'm very new with Azure DevOps and I need some help to understand how to create a Release Pipeline. The Microsoft Doc is very extensive but I can't find what I'm looking for.
I've created a Build Pipeline with the sample python repository. Then I would like to create a Release Pipeline. I linked my account with my subscription, select the App type, but then I'm asking for App service name.
What is this App service ? How can I create it ?
On their documentation (here) they are just saying
App Service Name: Select the name of the web app from your subscription..
No more explanation.
Could someone please give me more information about that ?
Thanks a lot
An Azure DevOps release pipeline deploys the artifacts that are the output of a build pipeline to some environment that you define (Test, QA, Production, etc.).
For web apps the environment will be a "web hosting" (for other apps it could be something different).
The "web hosting" can be a 3rd party (you would deploy using tasks for FTP, WebDeploy, etc.) or it can be Azure "web hosting" PaaS offering, which is named Azure Web Apps.
Azure Web Apps require an Azure App Service Plan (which defines its characteristics and pricing): https://azure.microsoft.com/en-us/pricing/details/app-service/windows/
Note: an Azure App Service can be used not only to host web apps but also to host the back-end (Web APIs) of mobile apps, containers and serverless functions apps. See App Service overview and for high scale and security see Introduction to the App Service Environments
The template for the Release Pipeline that you have chosen (assuming is the one named "Deploy a Python app to Azure App Service and Azure database for MySQL") is intended to "Deploy a Python Django, Bottle, or Flask application to an Azure Web App and database to Azure Database for MySQL." Since it's deploying to an Azure Web App, the task asks you for its Azure Subscription and its App Service Plan within that subscription.
So, if you plan to deploy to an Azure Web App, create a Service Plan in your Azure subscription (you can use the Azure Portal, Azure CLI, etc.). Otherwise remove the task and use a different task to deploy to your 3rd party web hosting.
If you are new to Azure DevOps and want to try out all the cool things, I suggest you to follow Azure DevOps Labs which has a great content to get started from Zero to Advanced.

Create project for Windows application in Azure Devops

I want to move my WPF application project from a private Azure Devops account to an organization account.
So I thought I'd just create a new project in the Azure portal and push my code to that project instead.
But when I start to configure a new project I can't select "Windows application" or anything similar to that, only web applications are available. And it want's to deploy to an Azure service which you can't deselect! So here is where I want to close the window and move to AWS.
I don't want to deploy my application or set up any servers. I just want to start a new organization project. A totally empty if nothing else!
Thanks!
Create your project within your Azure DevOps web portal, (https://dev.azure.com/YourOrganization), not the Azure portal.
There's a lot of terminology confusion because Azure DevOps was/is an independent Microsoft service called "Visual Studio Team Services" up until recently. It's been brought under the Azure umbrella and rebranded, but an Azure DevOps account has its own totally separate interface, which is where you should do most day-to-day operations.

What should be configured on Azure before publishing an ASP.NET Core web application?

I have an ASP.NET Core MVC application along with Entity Framework Core. Now I would like to host that application in Azure. I am new to Azure, so I don't know what needs to be configured on Azure before publishing the application to Azure.
Like Sajeetharan said you can quickly publish your ASP.NET MVC Application in Azure easily from Visual Studio itself.
But you need to understand how this actually works within azure
WebApps
The service which is used to host every Web Application (PaaS) is called Azure Web
Web.
App Service Plan
An App Service plan is the container for your app. The App Service plan settings will determine the location, features, cost and compute resources associated with your app. The Cost is based on the App Service plan and not the WebApps
While publishing your web applications in Azure, is nothing but just deploying your code to WebApps.
Update 1
Happy Coding !
You do not have to configure anything, if you already have an Azure subscribe just connect to your azure account via visual studio and create a new Web App to publish your code.
Read more here
Create an ASP.NET Core web app in Azure

Setting up run-time Application Insights on a Cloud Service

According to Microsoft's documentation, Application Insights is best deployed both at build time and run-time, and can be installed at run-time by "select[ing] Application Insights on the app's control panel in Azure". But I don't see it on the configuration for Cloud services, at least not in the new portal:
Is the documentation incorrect (necessitating the long process laid out elsewhere on SO still required)? If not, where should I be looking?
EDIT 3 You can supposedly set it while publishing from Visual Studio (if you upgrade the Azure SDK to 2.9 and "Add Diagnostic Configuration" in Visual Studio for the project):
but it still insists I download the Status Monitor:
In the Azure Portal, currently there is no Application InSights on the Cloud Service control panel. We could find the Application InSights on the Azure App Service. Azure App Service and Cloud Service are different services in Azure. The difference between Azure AppService and CloudService please refer to Azure App Service, Virtual Machines, Service Fabric, and Cloud Services comparison.
"select[ing] Application Insights on the app's control panel in Azure"
In the document that you mentioned, it is for Azure App service
Select Application Insights in the Azure control panel for your web app
For Cloud Service, please refer to document, there are more detail steps about how to setup Application Insights for each role .

Azure cloud service (classic) scalability option not there

I am new to azure. I am publishing a azure cloud service to azure using Visual Studio. It is publishing properly but in azure portal, under cloud service (classic) option, i do not find any option to scale it (earlier it used to be there in older version of azure).
My WCF service is running just fine but in azure, i am not able to find on which resources it is running.
Please help
Tutorial for the portal here
In the new portal (portal.azure.com)
Click your cloud service
Select the appropriate slot (production or staging)
Click on the cloud service not the instance of the cloud service
This opens up a new blade that has the scale tile
Click on the scale tile

Resources