azure-cloud-services

Antimalware for Azure Cloud Service

回眸只為那壹抹淺笑 提交于 2019-12-11 11:04:25
问题 I understand that there is way to enable Antimalware for Azure VM like below: But I don't see such option when creating a Cloud Service. There is a worker role running on Azure Cloud Service. The organization has a security rule of having Antimalware on the machines. Does a Cloud Service by default contain antimalware? 回答1: I Wish Microsoft were better at documenting their stuff. It seems that AntiMalware extension is also avialable for Cloud Services, not only Virtual Machines. But this can

Azure Cloud Service continuous integration with existing ccproj profile

烂漫一生 提交于 2019-12-11 09:49:43
问题 How do I get continuous integration to work using publish settings from a profile in our Cloud Project? When using the default TfvcContinuousDeploymentTemplate.12.xaml , the publish ignores some of my profile settings. It doesn't use the correct storage account and always publishes to the Staging environment. Here are the settings for my Development publish profile: Here is the current state of our build definition: "Path to Deployment Settings" sounds like it would be correct but it is only

HttpListener in Azure cloud service

拈花ヽ惹草 提交于 2019-12-11 07:05:55
问题 I am trying to develop a service to be deployed as an Azure Cloud Service. This service needs to listen for HttpRequests, and process them as they're received. Thus far, I have created a simple Azure Cloud Service project in VS2017 with a single worker-role, which handles requests sent to /Localhost:8080/ like so: public class WorkerRole : RoleEntryPoint { public override void Run() { this.runasync(this.cancellationTokenSource.Token).Wait(); } finally { this.runCompleteEvent.Set(); } public

To create the Log Analytics alerts using Azure Power Shell or Azure CLI

走远了吗. 提交于 2019-12-11 06:07:55
问题 I'm trying to create alerts in LogAnlytics in azure portal, need to create 6 alerts for 5 db's, so have to create 30 alerts manually and is time consuming. Hence would require an automated approach. Tried to create via Creating Alerts Using Azure PowerShell, but this creates the alerts in the Alerts Classic under Monitor but this is not what is required, require it to be created in Log Analytics. Next approach was via Create a metric alert with a Resource Manager template but this was metric

Determine Azure Web Role's instance IP address

家住魔仙堡 提交于 2019-12-11 03:46:50
问题 The IP address I am looking for is not the VIP, nor the private IP address that is given to the role instance, but the public IP address that you can assign to each instance using this configuration: <NetworkConfiguration> <AddressAssignments> <InstanceAddress roleName="WebRole1"> <PublicIPs> <PublicIP name="public" /> </PublicIPs> </InstanceAddress> </AddressAssignments> </NetworkConfiguration> Using Powershell Cmdlets, one is then able to find the IP address given to each instance like this

How to convert a ASP.NET 5 Preview Web Project to Cloud Service

扶醉桌前 提交于 2019-12-11 03:12:33
问题 I am working in VS2015 and want to add an ASP.NET 5 Preview Web Project to a Cloud Service Web Role. When I click on "Add Web Role Project in Solution" it does not list the new project type, only the old web projects (ASP.NET 4.6). When you click on the 4.6 project it has a "Convert to Microsoft Azure Cloud Service Project", however this is missing from the 5 project. How can I associate the Preview project with the Azure Cloud Service web role? 回答1: It's not supported yet. But, if you want,

Scaling Azure cloud services geographically across multiple data centers [closed]

柔情痞子 提交于 2019-12-11 03:05:24
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . I have a fairly typical common application deployed to Azure, with the following components: Two Cloud Services - Web and Worker Azure Service Bus Azure SQL Database Azure Storage In the Azure management console, you can choose to automatically scale out each cloud service

Setting up Redis on Azure cloud service worker role

佐手、 提交于 2019-12-11 02:19:20
问题 I'm creating a cloud service where I have a worker role running some heavy processing in the background, for which i would like a Redis instance to be running locally on the worker. What i want to do is set up the worker role project in a way that the Redis instance is installed/configured when the worker is deployed. The redis database would be cleared on every job startup. I've looked at the MSOpenTech redis for windows with nuget installation, but i'm unsure how i would get this working on

It is possible use the same sql azure instance from two different cloud service of two different subscription?

徘徊边缘 提交于 2019-12-11 01:56:19
问题 I have one Microsoft Azure subscription with one cloud service and one sql azure instance. Now I want create another cloud service with a different subscription (using a different microsoft account). With this second cloud service, can I use the same sql azure instance of the first subscription? (I need to share data between the two cloud service) Or there may be performance issues? Thanks in advance 回答1: Yes. Azure SQL DB instance can be accessed from different subscription as long as you

Azure - Virtual Network does not exist when deploy to Cloud Service

风格不统一 提交于 2019-12-11 01:21:36
问题 I tried to add Cloud Service (classic) to Virtual Network (classic), but an error appears when I deploy (new portal - Update your deployment): The update deployment operation failed for the domain 'developementtajgowebservicev1' in the deployment slot 'staging' with the name 'not working': 'The virtual network devvirtual-Network does not exist.'. I added this code after Role tag into config file. <NetworkConfiguration> <VirtualNetworkSite name="devvirtual-Network"/> <AddressAssignments>