In this section, we are going to create a public load balancer using the Azure CLI. You can copy the code snippets in Azure Cloud Shell, which is accessible from the Azure portal.
The full script for creating the public load balancer can be downloaded from GitHub as well. Refer to the location specified under the Technical requirements section at the beginning of this chapter.