azure,azure-worker-roles,azure-cloud-services
You can't refuse a shutdown within a role instance, but you can delay it, in OnStop() (I believe you can delay up to 5 minutes). You'd probably want to prevent the role instance from ingesting more queue messages, while it was finishing its current item(s), which should be pretty straightforward...
c#,azure,active-directory,azure-virtual-machine,azure-cloud-services
updated To rephrase the question... what is the best way to manage machine identities when you have PaaS based role instances that are being domain joined to an IaaS domain controller. IMHO, there are two approaches that can be taken: a passive approach where an inventory of the PaaS role...
azure,azure-worker-roles,azure-cloud-services
I have managed to resolve this issue after sleeping on the problem! A fresh pair of eyes etc. :-/ It turns out that Role #2 was referencing versions of the NuGet Packages Microsoft.WindowsAzure.ConfigurationManager and WindowsAzure.ServiceBus that were earlier than the versions referenced by Role #1. Updating these packages in the...
This is working now. 2 things happened on my end. Father Time eventually passed, I think it took some time from the Azure side to recognize that this Reserved IP was created and that my subscription had a reserved IP named MyIPName When I published my cloud service, I used...
asp.net,azure,asp.net-5,azure-cloud-services
It's not supported yet but if you really want to you can do something like create a worker role setup script (which installs the kvm, kre etc.), then follow steps like this http://www.codeproject.com/Articles/331425/Running-an-EXE-in-a-WebRole-on-Windows-Azure to run it and bootstrap your aspnetcore50 app. It's not pretty or easy but it's the only...
c#,azure,azure-worker-roles,azure-cloud-services
If your role is unhealthy and recycling I would recommend the troubleshooting steps at http://blogs.msdn.com/b/kwill/archive/2013/08/09/windows-azure-paas-compute-diagnostics-data.aspx. That blog includes all the relevant logs and troubleshooting steps to diagnose pretty much all unhealthy role issues.
azure,azure-virtual-machine,azure-webjobs,azure-cloud-services
A general data processing job like this, should be achievable through both Web Jobs, Cloud Services and VMs. These solutions represents different levels of control in the Azure platform, and it depends on how much control over the process you need. Web Sites only lets you run code inside IIS...
azure,azure-virtual-machine,azure-cloud-services
In your conrete scenario - no. First, because you cannot deploy VM and PaaS Roles in the same cloud service. This is by design. Secondly, as per documentation here, there a few limitations to the Reserved IP Address as of today: You must reserve the IP address first, before deploying....
You should look into Role, RoleInstance, RoleInstanceEndpoint classes in Microsoft.WindowsAzure.ServiceRuntime Namespace. Using these you should be able to find the IP address and Port of all the role instances.
.net,visual-studio,wcf,azure,azure-cloud-services
The following Microsoft Azure MSDN article seems to address your scenario: https://msdn.microsoft.com/en-us/library/azure/hh420322.aspx In summary, you need to: Enable a web application for deployment to Azure by opening the shortcut menu for a web project in your solution and choose Add Azure Deployment Project Publish your web application to Azure by...
You could use: RoleEnvironment.CurrentRoleInstance.Id This should give you the name of the cloud service, project and role instance (As a concatenated string). You could extract your service from that - presuming that code has different names for each service / project....
That is correct. You can increase your instance count by updating the configuration for the role. In Visual Studio, you can do this in the Properties window for the role and increase the Instance count setting. Then, redeploy the service. A faster way is to download the configuration file (.cscfg)...
Yes, if your Role does not make any request to other resources, then this setting does not matter to you. You can learn more about this setting at the following link. http://blogs.msdn.com/b/jpsanders/archive/2009/05/20/understanding-maxservicepointidletime-and-defaultconnectionlimit.aspx What to set ServicePointManager.DefaultConnectionLimit to -Nithin...
c#,azure,windows-services,azure-cloud-services
Both web and worker roles will unconditionally recycle whenever there's an unhandled exception in RoleEntryPoint Run() method or the role entry point process exits. If there's a new exception it will recycle again. The recycle process includes restarting the role process and optionally cleaning up the "local storage" resources. Maybe...
azure,tfs2012,visual-studio-online,continuous-deployment,azure-cloud-services
The build template activity DeployAzureCloudApp from Microsoft.TeamFoundation.Deployment.Worflow.dll references Microsoft.WindowsAzure.StorageClient.dll 1.7.0.0. To work around this - we must copy the assembly to the TFS Build Controller folder on the server (where the TFSBuildServiceHost.exe resides). Another option would be to GAC the assembly. Source: Microsoft.WindowsAzure.StorageClient.dll Azure SDK Path: c:\Program Files\Microsoft SDKs\Azure.NET SDK\v2.5\bin...
azure,azure-virtual-machine,azure-cloud-services
The cloud service is the logical container for the VM and a VM can only be in one cloud service. There is no way to get 2 different *.cloudapp.net URLs to point to the same VM. What you can do is register 2 custom domain names (www.mydomain1.com, www.mydomain2.com) and use...
I had the same error occurring today on Visual Studio Online's Host Build Controller. I assume you are using the same thing by your talk of Azure & Continuous Integration. I noticed that they just released Azure SDK 2.6 support on the build controller in the last day or so....
azure,msbuild,continuous-integration,azure-web-roles,azure-cloud-services
CI template TfvcContinuousDeploymentTemplate.12.xaml will not use your publishing profile. Relevant settings (deployment slot, storage account name, ...) are configured in 6. Deployment > Deployment > Windows Azure Deployment Environment /p:TargetProfile=Development specifies service configuration only (selects correct .cscfg file), not a publishing profile. If you need to configure additional features like...
c#,asp.net-mvc-4,azure,azure-cloud-services
I eventually solved the problem by using an Azure Storage table. I queried the worker role locally using GetProcesssByName() and stored the result in an Azure Storage table. I subsequently accessed this table from the web role to read the result. Care must be taken to delete the older entries...
asp.net,asp.net-mvc,azure,azure-cloud-services
Unfortunately there's no straight forward way to accomplish this. One thing obviously you should do is implement proper control mechanisms so that users are not making these kind of changes through the portal so that you can keep a tab on the changes (may be in your version control system)....
azure,website,windows-azure-storage,azure-web-roles,azure-cloud-services
I'm trying to reproduce the behavior you are seeing, and this is what I have observed. I created an empty solution and added two projects following different approaches: Project 1. File > New > Project > ASP.NET Web Application > ASP.NET Web API Project 2. File > New > Project...
css,jssor,azure-cloud-services
I tried the above suggestion but it set the image to less than a half of the screen so I tried: jssor_slider1.$ScaleWidth(Math.min(bodyWidth, 2100)); 2100px is the resolution of the largest monitor I have tried this on, the problem only seems to exhibit when it is deployed to azure and not...
wcf,azure,azure-cloud-services
If you RDP to the instance of your cloud service, created some folders and installed some applications, it will be lost some days in the future. The virtual machine cloud service was located is NOT persistent. All your customization would be lost if the VM was migrated to another rack...
wcf,azure,ssl,azure-web-roles,azure-cloud-services
Go to your .CSDEF and add these 3 tags (change accordingly): <WebRole name="CertificateTesting" vmsize="Small"> ... <Certificates> <Certificate name="SampleCertificate" storeLocation="LocalMachine" storeName="CA" /> </Certificates> ... <Endpoints> <InputEndpoint name="HttpsIn" protocol="https" port="443" certificate="SampleCertificates" /> </Endpoints> ... <Sites> <Site name="Web"> <Bindings> <Binding name="HttpsIn" endpointName="HttpsIn" /> </Bindings>...
azure,deployment,powershell-v2.0,azure-cloud-services
It appears that you you cannot include the subscription name as a named parameter Try this once Set-AzureSubscription $subscription -CurrentStorageAccount $service instead of Set-AzureSubscription -CurrentStorageAccountName $storageAccountName -SubscriptionName $selectedsubscription ...
mysql,azure,azure-virtual-machine,azure-cloud-services
This question might get closed and moved to ServerFault (where it really belongs). That said: ClearDB provides MySQL-as-a-Service in Azure. It has nothing to do with what you can install in your own Virtual Machines. You can absolutely do a VM-based MySQL install (or any other database engine that you...
Since the endpoints are defined in csdef file which goes into the package, one possible solution would be to create two separate cloud projects - one for local and other for cloud and define ports which needs to be opened according to the environment. In fact, this is what we...
azure,tfs,visual-studio-online,continuous-deployment,azure-cloud-services
Turns out the Azure Portal/VSO error message needs updated to reflect new Azure Continuous Deployment updates for TFS 2013 (Microsoft.TeamFoundation.Build.Client). Proper Error Message Unable to find TfvcContinuousDeploymentTemplate.12.xaml in [TeamProject] see [Link] The fix is to upload the TFS 2013 Azure CD template and create a build definition to register the...
azure,azure-cloud-services,azure-diagnostics
I had to remove the element from my csdef file to get my project to compile. I then followed this http://msdn.microsoft.com/en-us/library/azure/dn186185.aspx#BK_Migration
azure,azure-cloud-services,azure-deployment,azure-management-api
When you use Create&Delete deployment the process simply deletes an existing deployment, then creates new one. The other two options do upgrade deployment. The difference between automaticupdate and blastupgrade are in the value of Mode element of the Upgrade Deployment operation. As their name suggests, automaticupdate sends Auto for that...
active-directory,vpn,azure-cloud-services
I believe you can use Azure BizTalk Service, to setup a secure connection to your on-premise resources, including SQL Server, Active Directory and etc. This way will have several benefits as once the connection is set, you can code like you are connecting to an on-premise resource, but it is...
c#,asp.net,iis,azure,azure-cloud-services
I didn't get it to work using IPSecurity and Web.config either. What DID work for cloud services was using ACLs in ServiceConfiguration.Cloud.cscfg See this post for details: http://blogs.msdn.com/b/walterm/archive/2014/04/22/windows-azure-paas-acls-are-here.aspx...
azure,azure-web-roles,paas,azure-cloud-services
Cloud Services run on Windows Server, so as a general rule, the answer is "Yes", COM Interop is supported. More specifically though, it is likely your PHP solution requires the installation of a component that requires COM Interop to work - you would need to automate the installation of this...
powershell,azure,azure-cloud-services,azure-powershell
Adilson - you can deploy to Azure without a deployment project but you'd struggle as you would need to hand craft the necessary package (files to deploy) and configuration elements. As kwill said there are PowerShell Cmdlets for creating cloud services (New-AzureService) that are at that point an empty container...
azure,azure-web-roles,azure-cloud-services
See http://blogs.msdn.com/b/kwill/archive/2012/10/05/windows-azure-disk-partition-preservation.aspx for information about what is preserved on an Azure PaaS VM in different scenarios. In short, the only things that will truly persist are things packaged in your cscfg/cspkg (ie. startup tasks). Anything else done at runtime or via RDP will eventually be removed....
.net,visual-studio,azure,msbuild,azure-cloud-services
After playing around with this for some time, I think I've found a strategy that achieves more or less what I want. You can add content files to the CloudService Role that are packaged and deployed along with the cloud service like so: In Visual Studio, right click the WebRole...
azure,visual-studio-2013,configuration-files,azure-cloud-services
My coworker stumbled across a solution while he was creating a new cloud service. If I add a reference from project B (the one that contains the cloud service role) to project D (the one that contains the config file as content), then D.dll.config is included in the approot directory...
wcf,azure,azure-cloud-services
You have a few options: Why are your cloud services themselves not responsible for refreshing their own data on a schedule? Why do they have to be told to do this from external? Using a scheduled task or timer inside the role instances themselves would be the easiest and most...
c#,.net,azure,azure-cloud-services
You can try using blob lease mechanism to control your instances. All of your instances are trying to acquire a lock and the first one gets it. The rest is backing off and checking later. Processing instance can renew a lock. This way if your processing instance will fail (even...
azure,azure-web-roles,azure-worker-roles,azure-cloud-services
The answer is, it depends... A web role is essentially a Worker role with IIS installed + configured. You could host a WebApi/MVC, WCF AND process events all from the same web role if you really wanted to, reducing costs. Remember that each role is a separate VM that you...
azure,azure-web-roles,azure-cloud-services,azure-caching,azure-in-role-cache
Yes, CacheService.exe is the executable for In-Role cache. If this is causing bottleneck for your application, you should consider using dedicated In-Role cache instead of an In-Role one.
You can actually do this in two ways: You can edit the ServiceDefinition.csdef configuration file in your cloud project and set the vmsize attribute to ExtraSmall (or the size you wish to use for your service). By using the graphic interface: double click on the role you want to modify...
azure,visual-studio-online,azure-cloud-services
We finally succeeded with "Azure PowerShell" generic build step and the custom PS script that uses Azure API to create/update Azure deployment (New-AzureDeployment, Set-AzureDeployment). The great article that contains the full script is here: http://www.kenneth-truyers.net/2014/02/06/deploying-cloud-services-to-azure-with-powershell/....
azure,lucene,azure-worker-roles,azure-cloud-services
MS understands the Importance of your data/service so its highly unlikely that your service will be removed automatically. In order to check about your service you can go to Management Service and check out operation logs within the timeframe when your service was up and now you can filter your...
c#,azure,windows-authentication,azure-cloud-services
When you setup the MVC project as the startup project, you are essentially running the project locally on your machine through IIS. IIS will automatically use your current NT credentials as the currently logged in user, which makes sense. As hinted by Parv Sharma in his comment, when you set...
node.js,azure,azure-cloud-services
With only a single instance of your web role, there's really not much you can do when your app is down (or rebooting), regarding redirection to a static web page. This could be done at the dns level, and you could take advantage of something like Traffic Manager to redirect...
The data-transfer-In\out for a cloud service will be part of monthly Azure bill. There is an API available for Enterprise Azure customers (https://automaticbillingspec.blob.core.windows.net/spec/UsageDownloadRestfulSampleClient.zip) but not yet for Credit Card (CC) Customers\non-EA. For CC customer the bill is downloadable as CSV from the management portal