Cloud Service (Extended Support) ARM template with Standard SKU load balancer

Henrik Uffe Jensen 6 Reputation points
2022-08-14T16:51:02.2+00:00

I don´t know if I have maybe run into some scenario that I just can´t support through ARM template, so hope for some input.

The situation is that I want to deploy a Cloud Service (Extended Support) using ARM template but it need to be with a Static IP4 Public IP, so a Standard SKU Public IP. I have setup everything manually in a test environment, so it works fine, my problem is getting it all to be deployable through ARM template.

My problem is

  • If I let Microsoft.Compute/cloudServices resource setup the load balancer as part of deployment of the Cloud Service, it makes a load balancer with Basic SKU, and there is no settings in loadBalancerConfigurations to specify SKU. Then the load balancer cannot be used with my Standard SKU Public IP, as you can not use Standard SKU Public IP with Basic SKU load balancer.
  • If I try to setup load balancer separately in ARM template and then just use same name in Microsoft.Compute/cloudServices resource, then I get error that an external load balancer cannot be used when deploying cloud service.
  • If I try to setup load balancer separately in ARM template and then give it another name in Microsoft.Compute/cloudServices resource, then of course it just makes a secondary load balancer, and then I have do do a lot of manually tidying up after deployment anyway.

Am I missing something here, or run into some situation where I just have to accept that I have to manually deploy the Cloud Service?

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
651 questions
{count} vote

2 answers

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,612 Reputation points Microsoft Employee
    2022-08-17T18:33:32.877+00:00

    @Henrik Uffe Jensen

    Unfortunately, standard load balancer is not supported for Cloud Services Extended Support (CSES). CSES is a parity offering with Cloud services Classic, which also did not support it.
    As of now there is no update on this to be supported in future.

    However, I would request you to submit this feature to Azure Cloud Services - Feedback Community here.
    Also, search and follow feature announcements at Azure updates site here.

    Reference documents :

    Quickstart: Create an internal load balancer to load balance VMs by using an ARM template
    Deploy a Cloud Service (extended support)

    0 comments No comments

  2. Alex Riggs 6 Reputation points
    2023-01-25T21:23:04.9133333+00:00

    I am using a PowerShell script to accomplish this, but with PowerShell, I am able to first create the Public IP with a Basic IP with a static setting, then set the Load Balancer to use that Basic Static IP.

    $publicIp = New-AzPublicIpAddress -Name $publicIpName -DomainNameLabel $cloudServiceName -ResourceGroupName $rg -Location $location -Sku Basic -AllocationMethod Static
    

    Not sure how its accomplished in a Template, but I am able to accomplish this with PowerShell.

    0 comments No comments