Initialize/warmup extra cloud service instance before adding it to the pool

Is there a way to run a warm up for a new instance added to the production slot before traffic is directed to this new instance? I'd like to keep the new instance free from HTTP requests until it's fully initialized. Then, after the warm up is finished,
I need to let Azure know somehow that the server is ready for handling requests. Is this possible?
I've checked out the IIS 8
application-initialization-module feature but the features mentioned there don't really suite my needs.

Hi,
  Refer to the Following Stack Overflow
thread that discusses some workarounds.
  Although the feature you are looking for is not natively supported, you can vote or provide your feedback at the below site to the Product team.
http://feedback.azure.com/forums/169385-web-apps-formerly-websites/suggestions/6972595-application-initialization-to-warm-up-specific-pag
Regards,
Nithin Rathnakar

Similar Messages

  • Monitor Cloud service instances

    Hi,
    I have two questions:
    - is it possible to monitor the Cloud Service Instance past states, like when its restarted, and if this restart was from an error, in windows server i know it give the ability to create memory dump files, is this applicable in Azure, and if it is applicable
    is it recommended ?
    - in any way is it possible that Cloud service automatically roll bock it self and get an earlier version from the deployment, what i mean if we deployed a release 1.2 to cloud service and then after a few day we deployed release 1.4 is there any possibility
    that the cloud service roll back last deployment and redeploy release 1.2 ?? consider that 1.4 release deployed and been stable for 2 -3 days.
    Thanks,
    Khalid Abdlqader.

    Hi,
    As far as I know, we could get the roll past state from azure operation logs, refer to
    http://blog.ict.eu/2013/04/windows-azure-operation-logs/ for more information about the details, operation Logs is a Windows Azure Management portal feature which allows you to view historical
    logs of all Create/Update/Delete (CUD) operations performed on your Azure services.
    Please note, we usually define at least two instances of a role for that role running without downtime, if there are some issues in one of the role instances, Azure Fabric Controller will perform a roll back for this instance, and this issue
    will be fixed automatic, details on Rollbacks can be found here:
    http://msdn.microsoft.com/en-gb/library/windowsazure/hh472157.aspx#RollbackofanUpdate. If we do some change to this cloud service, such as redeploy a new version application, this cloud service will running with this new version, cloud service roll back
    will not let this applicaiton reback to the old version, if we only do something in azure cloud service instance, after the roll back, the changes we have made will disappear.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • In azure cloud service with Location West Europe, why the IP address shows the server is locate in United States?

    We have 9 projects in azure cloud service, and all are use West Europe location, but with different subscription, and we found that one of those cloud service which its IP address is United
    States(Why?) and others are all in Amsterdam(this is correct)
    Can someone explain why? the server which it's ip located in United
    States is very slow, BTW i'm in Amsterdam.

    Hi LH,
    I have saw the same problem on Brazil. There has some comments about this issue, you can refer to it:
    Microsoft owns large ranges of IP addresses which are typically registered in Redmond, so usually Azure IP addresses around the world show up as being
    physically located in Redmond when using these types of tools.
    It's more or less an issue with the way our IP are registered. They all "belong" to Microsoft in the US and Brasil
    IP locator tools like whatismyip are sometimes incorrect. Some will give the real location, some will give the location of the ISP, etc …
    IP geo lookup tools typically rely on a static database of IP address range registrations.
    It's a Microsoft issue in the sense that we may publish the correct location for our datacenters
    (eg. Amsterdam should locate in Europe and not in Redmond…) – but it's also a 3rd party tools issue.
    If you want to be sure – use
    http://msdn.microsoft.com/en-us/library/windowsazure/dn175718.aspx 
     And you could also  see this blog about this issue :
    http://azure.microsoft.com/blog/2014/06/11/windows-azures-use-of-non-us-ipv4-address-space-in-us-regions/
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can a Worker Role process call Antimalware for Azure Cloud Services programmatically?

    I'm trying to find a solution that I can use to perform virus scanning on files that have been uploaded to Azure blob storage.  I wanted to know if it is possible to copy the file to local storage on a Worker Role instance, call Antimalware for Azure
    Cloud Services to perform the scan on that specific file, and then depending on whether the file is clean, process the file accordingly.  If the Worker Role cannot call the scan programmatically, is there a definitive way to check if a file has been scanned
    and whether it is clean or not once it has been copied to local storage (I don't know if the service does a real-time scan when new files are added, or only runs on a schedule)?  

    Hi,
    I would suggest you have a look at this article:
    http://azure.microsoft.com/blog/2014/10/30/microsoft-antimalware-for-azure-cloud-services-and-virtual-machines/, please note the Microsoft Antimalware Client and Service is not installed by default in cloud service, please try to use the PowerShell
    cmdlet, Set-AzureServiceAntimalwareExtension to enable antimalware in your cloud service. Here's some more info:http://msdn.microsoft.com/en-us/library/azure/dn771718.aspx
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual Studio cannot remote debug Azure cloud service: There was a failure to launch the remote debugger

    I am trying to invoke remote debugger on an Azure worker role cloud service, following the example of
    http://msdn.microsoft.com/en-us/library/azure/ff683670.aspx
    But on attaching the remote debugger for the cloud service instance
    Microsoft Visual Studio
    There was a failure to launch the remote debugger.
    OK  
    According to somebody else's extra coverage on the topic, there are extra ports 4016/4017 that need to be taken care of (but do they have to be exposed externally)?
    http://developers.de/blogs/damir_dobric/archive/2014/02/04/behind-windows-azure-remote-debugger.aspx
    So servicedefinition.csdef gets
        <Endpoints>
          <InputEndpoint name="Endpoint1" protocol="http" port="80" />
          <InputEndpoint name="RemoteDebugger" protocol="tcp" port="4016" localPort="4016" />
          <InputEndpoint name="RemoteDebugger2" protocol="tcp" port="4017" localPort="4017" />
          <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector" protocol="tcp" localPort="30398">
            <AllocatePublicPortFrom>
              <FixedPortRange min="30400" max="30424" />
            </AllocatePublicPortFrom>
          </InstanceInputEndpoint>
          <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Forwarder" protocol="tcp" localPort="31398">
            <AllocatePublicPortFrom>
              <FixedPortRange min="31400" max="31424" />
            </AllocatePublicPortFrom>
          </InstanceInputEndpoint>
        </Endpoints>
    Serviceconfiguration.cscfg gets
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Enabled" value="true" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Version" value="2.3" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ClientThumbprint" value="THUMBNAIL" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ServerThumbprint" value="THUMBNAIL" />
        </ConfigurationSettings>
        <Certificates>
          <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.TransportValidation" thumbprint="THUMBNAIL" thumbprintAlgorithm="sha1"
    />
        </Certificates>
    But all these are to no avail; the same error still pops for Visual Studio 2013 Update 4; Azure SDK 2.3
    Anybody regularly perform remote debugging for Azure cloud services?
    The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral

    And, how do I control that in Visual Studio?
    All I get is the Attach Debugger... context menu option in the Azure cloud service nodes in Server Explorer. That is where it is failing. There are no customisable options.
    Because of that, the Attach to Process dialog box is unable to retrieve the list of processes (to debug) in the remote worker role instance server.
    I tested a blank-template worker role project and published to a new cloud project, and this simplistic copy had no problems with the Remote debugger.
    Now the question is, what is it about this real-world project/cloud service that is different from blank sample? From what I compare between what I think are the relevant settings, there are none.
    ServiceDefinition.csdef
    <Imports>
    <Import moduleName="Diagnostics" />
    <Import moduleName="RemoteAccess" />
    <Import moduleName="RemoteForwarder" />
    <Import moduleName="RemoteDebuggerConnector" />
    </Imports>
    <Contents>
    <Content destination=".\">
    <SourceDirectory path="D:\Projects\experiments\workerrole1\workerrole1\rcf\Debug\RemoteDebuggerContent\" />
    </Content>
    </Contents>
    <Endpoints>
    <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector" protocol="tcp" localPort="30398">
    <AllocatePublicPortFrom>
    <FixedPortRange min="30400" max="30424" />
    </AllocatePublicPortFrom>
    </InstanceInputEndpoint>
    <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Forwarder" protocol="tcp" localPort="31398">
    <AllocatePublicPortFrom>
    <FixedPortRange min="31400" max="31424" />
    </AllocatePublicPortFrom>
    </InstanceInputEndpoint>
    </Endpoints>
    ServiceConfiguration.cscfg
    <ConfigurationSettings>
    <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=storage;AccountKey=" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value="2015-12-31T23:59:59.0000000+08:00" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled" value="true" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Enabled" value="true" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Version" value="2.4" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ClientThumbprint" value="" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ServerThumbprint" value="" />
    </ConfigurationSettings>
    <Certificates>
    <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint="" thumbprintAlgorithm="sha1" />
    <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.TransportValidation" thumbprint="" thumbprintAlgorithm="sha1" />
    </Certificates>
    The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral

  • How do I tell my clients to configure the connectionstrings for a cloud service?

    I have an application that exists in two forms
    A Windows Service
    A Clouse Service with a Web Worker Role
    Both applications have an encrypted connection string in the app.config;
    for clients using the Windows Service I know how to tell them to change the config file.
    For a cloud service is it possible to edit the configuration file?
    I read something about Azure Settings, but I can't find any good information about that, is that the preferred method for setting environment settings in a Cloud Service?
    Can you remote in to a VM or whatever hosts the Cloud Service?
    Thank you for any help. I am writing the documentation about how to setup the Azure environment and I realized I don't know myself, I only know how to publish with Visual Studio to a cloud service with the values already set. That works, but I can't
    tell a client to use Visual Studio.

    Hi,
    For a cloud service, though it is possible to access instance VMs and do changes on their file system by RDP sessions, but it is not recommended, as you will end up loosing your changes if role instance VMs are restarted.
    If you really want to keep certain settings configurable and which will be shared by all your role instances, best way to do is to utilise the cloud service configurations, typically you mention these settings in .cscfg file and you can also edit those using
    azure management portal.
    You can also access those from your code 
    string settingValue = CloudConfigurationManager.GetSetting("SettingString");
    Read more about it here - http://msdn.microsoft.com/en-us/library/azure/ee405486.aspx
    http://haishibai.blogspot.in/2012/09/windows-azure-cloud-service.html
    Bhushan | Blog |
    LinkedIn | Twitter

  • How to enable diagnostics in cloud services and virtual machine

    Hi All,
    I need to enable diagnostics  for cloud services and virtual machine in our
    cloud environment. I referred the below link.
    https://convective.wordpress.com/2014/06/27/using-azure-monitoring-services-api-with-azure-cloud-services/
    Installed azure SDK 2.5 and cloud services instance is not displayed for cloud services in Visual studio 2013. Please provide the steps to enable at run time. 
    1) How to enable this diagnostics at run time.
    2) How to enable event logs for cloud and Virtual machine
    3) How to get the event log data's from REST API.
    Please help to resolve this.
    Thanks.
    Regards,
    Rathidevi

    hi Rathidevi,
    In addition, you could enable diagnostics feature on VM from this blog:
    http://azure.microsoft.com/blog/2014/09/02/windows-azure-virtual-machine-monitoring-with-wad-extension/
    Please refer to it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Cloud Service has suddenly started calling itself repeatedly.

    I have a cloud service.  I have an OperationContract method, the first line of which logs "START" to a database.
    The method is called from a web page (however after discovering the problem, I am now calling from a Unit Test method.  The web site logs only showed that it was calling the cloud service once anyway).
    The cloud service creates two appointment records in Dynamics CRM.  Recently we found that the service calendar was filing up.
    Looking at the SQL log I mentioned earlier, it appears that the OperationContract method is being called over and over again until an error is hit (calendar full or NULL exception) at which time the issue stops.  The method can be called 2 or 3 times
    a second.
    START is showing in the log over and over again as if the method is being called over and over again.  I have checked that I am not calling myself in a loop from inside the cloud service.
    It does FEEL like the web site is calling the method over and over but it is NOT.  IIS logs and Unit Test call show this.
    How can this method be running over and over again?
    My thought was perhaps the service was crashing and restarting and thus restarting a job that it has already done.  I don't understand this mechanism nor how to stop it if it exists.
    Does this behaviour make sense to anyone.  It is driving me mad. The behaviour goes away from time to time and then comes back without any code or config update so it is frustrating to debug.
    [OperationContract]
    AppointmentSearchResponse AppointmentSearch(AppointmentSearchQuery Query);
    public AppointmentSearchResponse AppointmentSearch(AppointmentSearchQuery Query)
    this._Log.InstanceId = Guid.NewGuid();
    this._Log.InfoFormat("{0} AppointmentSearch START \"{1}\"", Configuration.Platform.ToUpper(), Query.Postcode);
    try
    The creation of the appointments happens towards the end of the try catch so I know that the logic of the method is executed and reaches the end.  However AppointmentSearch looks to be called again and again and again.
    I should add that it happens in DEV and UAT azure environments with two 2015 CRM instances.  Live is using old code and is still 2013.  Have tried winding the cloud service code back but the behaviour still happens.  I cant see how CRM could
    feed back an error and cause a restart but I can't rule that out.
    Also, is there a way to examine the host server logs for a cloud service?

    Okay.  More info.
    I commented out a line that generates the appointment in CRM.  My logic needs a guid so I am mocking one.
    So far it looks like the problem has gone although it may return.
    UAT and DEV are CRM 2015 online wile LIVE is 2013 still.  I am wondering if this is a CRM issue.
    Even so, my logic is wrapped in a TRY CATCH and I know that the Appointments do get generated.  I am wondering if CRM returns some form of catastrophic error that circumvents the TRY CATCH and causes the cloud service to restart the method.
    I still do not understand the mechanism by which this could happen.
    CRM does have a number of Processes and Plugins hanging off the Appointment creation which may contribute to the problem.  It is a process of elimination now.
    However I wonder if there is a setting in the cloud to prevent this sort of thing.  Any ideas?

  • Cloud Services

    Hi,
    If I'm right (and read correctly earlier posts) Web Role(s) and Worker Role(s) in a Cloud Service can only be created in a Visual Studio project? What about a SQL Server (e.g. Web Edition) database in a Cloud Service? Can this also be created in Visual Studio?
    I suppose there's a difference between the Windows Azure SQL Database and the Windows Azure Cloud Service SQL Database?
    One additional question: besides that a Cloud Service (web/worker role) are managed (PAAS), I suppose I can use for a "worker role" and "web role" also a virtual machine, and for a "web role" eventually also a web application:
    in which case is it best to select which of the options?
    Thanks.

    Hi,
    >>Web Role(s) and Worker Role(s) in a Cloud Service can only be created in a Visual Studio project?
    We can use visual studio to create web role or worker role only click a few times, but visual studio is not the only way to create web role or worker role, we also can use command line to do this. see more at:
    http://www.windowsazure.com/en-us/documentation/articles/cloud-services-php-create-web-role/#AddRole
    >>What about a SQL Server (e.g. Web Edition) database in a Cloud Service? Can this also be created in Visual Studio?
    Base on your description, Windows Azure Cloud Service SQL Database may be the sql database on-premise, refer to
    http://stackoverflow.com/questions/3235164/what-is-the-difference-between-sql-azure-and-sql-server-2008 for more information about the difference, we can create azure table via visual studio, refer to
    http://stackoverflow.com/questions/15604413/gui-for-creating-azure-database-tables for more details.
    When we deploy one application to azure cloud service, we can see all instances in azure manage portal in cloud service "INSTANCE" tab, each instance was a vm, if we do some special things (such as configure IIS install server) we can choose
    azure vm, if we use cloud service instance, all your configure may be lose after restart.
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Question about Network In/Out in the Monitor of the Cloud Service

    Hi there
    My question is that what kind of data is the monitor monitoring? The monitor is in the cloud service.
    And what are network in/out  in the monitor stand for? The network in/out are in the monitor.
    The monitor had monitored a huge amount of data in my cloud, but I have no ides what are they.
    Thanks a lot!

    hi Tianchi,
    Thanks for your posting!
    >>what kind of data is the monitor monitoring? The monitor is in the cloud service
    From the concepts side, By default, minimal monitoring is provided for a new cloud service using performance counters gathered from the host operating system for the roles instances (virtual machines). The minimal metrics are limited to
    CPU Percentage, Data In, Data Out, Disk Read Throughput, and Disk Write Throughput.
    If you want to monitor other metrics, you could use the azure Diagnostic to custom
    performance counter in your cloud service or set
    Verbose setting on the azure portal. For this issue, I suggest you could refer to the concepts part of this page (http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-monitor/
    >>And what are network in/out  in the monitor stand for? The network in/out are in the monitor.
    Base on my understanding, Network in/out include the
    performance counter "Bytes receive" and "Bytes send". Maybe it seems that your data size of network in/out is huge amount. But only your outbound data
    can be charged. Of course, if you have some doubt about data or data billing, you could contact Azure Billing support for more details.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Add Operational Insights to Cloud Service during publish

    Hello,
    I have several Azure Services that I am already utilizing Application Insights on. What I would like to do is have Operational Insights added during the standard "Publish to Windows Azure" that I use from Visual Studio thereby removing the need
    to manually remote into the machine and then install Microsoft Monitoring Agent and configuring my account. Can you point me to some resources demonstrating or explaining how to accomplish this?
    A couple of notes:
    My group has dozens of services and workers so manual install/configure is not an option for us.
    All of our machines currently also have Application Insights setup and running so MMA already has a tab for Application Insights that displays if you open MMA however, there is no tab available in MMA for Operational Insights. The only way that I can add
    this tab is to uninstall and then re-install using the installer found on the Operational Insights site however, doing so removes Application Insights.
    Thanks!

    We are working on a VM Extension to push the agent into IaaS VMs from Azure Portal as a first class experience.
    The community has also come up with a DSC resource already anyway!
    http://www.powershellmagazine.com/2014/11/26/dsc-resource-module-for-microsoft-monitoring-agent-install-and-configuration-for-azure-operational-insights/
    For Cloud Services, we don't need/use the agent but support them already by pulling their logs from WAD - if the roles are configured to write to WAD (the usual way) we'll pick Windows Events and IIS logs (at the moment) - more data sources ideas pls see
    this category on the feedback forum
    http://feedback.azure.com/forums/267889-azure-operational-insights/category/88086-log-management-and-log-collection-policy
    We think a lot of the other scenarios/IP's don't make sense for PaaS:
    - System Updates: since PaaS roles are auto-updated
    - AntiMalware: we are investigating how to support Anti Malware scenario using logs - read the comment from Richard on this thread for queries using Windows Events you can do today for that scenario
    http://feedback.azure.com/forums/267889-azure-operational-insights/suggestions/6519202-support-other-antivirus-products-in-malware-assess#comments
    - Capacity is currently only focused on HyperV (private cloud) but we'll be able to support 'performance' type information thru WAD again
    http://feedback.azure.com/forums/267889-azure-operational-insights/suggestions/6662146-open-up-the-capacity-management-pack-for-other-sys so no agent needed either...
    - SQL Assessment: you don't install SQL in Cloud Services roles; you do in IaaS VMs.
    and so on...
    The agent for AppInsights and OpInsights at the moment are not compatible - see this
    http://feedback.azure.com/forums/267889-azure-operational-insights/suggestions/6660334-it-s-good-if-we-have-single-mma-file-for-appinsigh but again, you use Appinsights agent in your Web Roles, and you use OpInsights agent in your VMs, and for the
    web roles you get the info into OpInsights from WAD. that is the most common use case.

  • Windows requiring activation on Cloud Services

    With recent deployments of our cloud service I noticed that after a few days Windows displays an alert for activating it from Action Center (visible when connecting through RDP). This in itself is strange, but it gets worse: when I try to activate it it
    says that activation can't be carried out, see this screen shot:
    The event log is not very helpful, the relevant entry there says "The client has sent an activation request to the key management service machine.
    Info:
    0xC002001C, 0x00000000, kms.core.windows.net:1688, 7eac794e-4217-409b-a14a-bb366918df85, 2014/02/25 16:00, 1, 5, 0, d3643d60-0c42-412d-a7d6-52e6635327f6, 5".
    What can I do? It would be inconvenient to have downtime because Windows activation fails.

    Hi,
    Firstly, I suggest you could install this KB (http://support.microsoft.com/kb/974998/en-us ) in your cloud service instance.
    Secondly, If it doesn't work, I suggest you contact azure support ASAP, it may be the best choice for you.
    I would like you to try this support channel:
    Try the one that mentioned by Tabrez at:  http://social.msdn.microsoft.com/Forums/en-US/7a2acffb-6419-4a3d-8fb4-c8258790a2bb/why-cant-i-sign-up-for-the-1month-free-trial
    [quote]
    Contact support here:   https://support.microsoft.com/oas/?prid=14238.
    -tm
    [/quote]
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Cloud Service Billing Question

    We are in the process of creating some Virtual Machines in Microsoft Azure. We will only be using Virtual Machines in Azure and none of the programming or other hosting features. When you create a virtual machine, you must create a Cloud
    Service, or specify one that you've already created.
    So really I have 2 questions:
    1. Will I be billed for this Cloud Service AND a VM? My understanding is that the cloud service is a only container for the virtual machines.
    2. If I am being billed, how do I know the size of the Cloud Service that I deployed? There is no option to select a size, but all the pricing information I can find on Cloud Services requires that I specify a size (A1, A2, D3, etc).
    Any information at all would be very helpful. Thanks

    Hi,
    First, we need to know the difference between cloud service and Azure VM, here is an article:
    http://blogs.msdn.com/b/plankytronixx/archive/2014/04/24/i-m-confused-between-azure-cloud-services-and-azure-vms-what-the.aspx, hope it helps.
    As far as I know, the cloud service contains two types of instance: web role and worker role, each role could contains multiple instances, the computers (Windows Servers) that lived in these Roles were known as “instances”. So, you could think of the instance
    as a "Virtual Machine", for example, your cloud service has one web role with two instances A0, you will be charge $22*2/mo (http://azure.microsoft.com/en-us/pricing/details/cloud-services/),
    you could also find these pricing information from azure VM pricing (Standard tier) (http://azure.microsoft.com/en-us/pricing/details/virtual-machines/), as my first
    post, you will not be charged twice, please note:  Cloud Services now offers two hardware options for web and worker roles: A-series and D-series.
    More detail about instance sizes.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Virtual network, virtual machine and cloud service

    Hi everyone
    I am new to Microsoft Azure and very confused about Microsoft VM and Virtual network relationship.
    I have a cloud service project created which has two worker roles in it and its deployed to Azure portal successfully, the problem is they need to connect to SQL database (which is on our prod machine outside of Azure) and in the config file of both these
    worker roles I have the cluser IP address added ( I believe its an internal Ip address),
    Now we have a virtual machine and a virtual network created on azure too (Not by me, so I have no idea how that is created)
    Some how I need to connect my cloud service to either the virtual machine or virtual network to get the sql connection going. What do I need to do to make that happen?
    How does the cloud service connect to virtual machine?
    I am so confused .. Please help with this.
    Thanks
    -Sarah

    Hi Sarah,
    Once an Azure VM is created, it belongs to a cloud service.
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-connect-virtual-machine/
    Do you mean that you want to create a VM in a virtual network and a cloud service?
    If yes, please follow the steps below:
    1. Create a Virtual network.
    2. Create a VM and select "create a new cloud service", and choose the virtual network you have created.
    3. After the VM is running, you can create other VMs into that exsting VM, and they will share the same public IP address and in the same virtual network.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • What are Azure limitations for Websockets in Cloud Services (web and worker role)?

    A WebSocket Server should be built on Azure platform with OnPrem connections and have questions regarding limitations for Websockets in Azure Cloud Services - web and worker roles.
    Websockets can be configured for Web Sites and limitations are understood, but Azure Websites is not an option. 
    Nevertheless it is planned to run a web service (without UI - no web site) as a Cloud service which has secure websocket (WSS) connections to OnPrem machines. Websocket protocol is enabled for IIS8 on Cloud services web and worker roles. Azure Service Bus Relay
    is not an option.
    Questions:
    1) Are Websockets supported for Azure Cloud services web and worker roles? we assume yes
    2) What are potential limitations from Azure side to support concurrent Websocket connections? We are aware that CPU, memory etc are limitations, but are there additional limitations from MS Azure side? 
     

    Hi,
    As I know, azure cloud service web and worker role support Websockets, users can connect to the role via the special endpoint, if we use Azure cloud service, I think we can monitor the metrics such as CPU, memory, etc... and scale our cloud service via these
    metrics to keep the websockets working, refer to
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-scale/ for more information about how to scale a cloud service.
    Regards

Maybe you are looking for