I have problem with validation of task 1 on Azure level 4 VM Setup and Configuration for Azure API Gateway.
When I validate the task, I receive the following error message:
“Round-robin behavior is not working as expected.”
However, when I test the Application Gateway either through a web browser or using the curl command, the load balancing works correctly across both VMs.
I have attached the JSON export of the Application Gateway configuration. AZ4-1.pdf (126.9 KB)
Could you please confirm if the issue is related to the Application Gateway configuration or if this is a platform-level problem?
The first issue above is more important to solve.
The secound issue I encountered is that I cannot create an Application Gateway through the CLI. It returns an error stating that the SKU is not valid. I tried with the following SKUs:
Standard_Medium
Standard_Small
Standard_v2
WAF_Large
WAF_Medium
WAF_v2
Basic
Each of these attempts resulted in the same error.
I can create all resources below through CLI:
Virtual network (VNet)
Subnets
Network Security Groups (NSGs)
Virtual Machines (VMs)
All of these resources are created using the Azure CLI.
Can you show the steps how did you completed the task.
Here is mine:
I created networks, NSG, VMs with script:
Variables
#variable V is for naming resources. In my case prefix for resources was datacenter, so Variable V is datacenter
V=“datacenter” #variable RG is for resource group
RG=$(az group list --query ‘[].name’ --output table | grep ‘kml’)
LOC=“EastUS”
VNET=“${V}-vnet”
SUBNET_VMS=“${V}-subnet”
SUBNET_APGW=“${V}-apgw-subnet”
APGW=“${V}-apgw”
APGW_PIP=“${V}-apgw-ip”
NSG=“${V}-nsg”
VM1=“${V}-vm1”
VM2=“${V}-vm2”
ADMIN=azureuser
PASSWORD=“ChangeMe1234!” # for quick demo only