Configure a public load balancer Azure CLI help!!!

%3CLINGO-SUB%20id%3D%22lingo-sub-1124812%22%20slang%3D%22en-US%22%3EConfigure%20a%20public%20load%20balancer%20Azure%20CLI%20help!!!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1124812%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20on%20an%20exercise%20on%20the%20cloud%20architect%20learning%20path%20that's%20given%20me%20a%20headache.%20I'm%20trying%20to%20run%20the%20git%20command%20below%3B%3C%2FP%3E%3CP%3E''git%20clone%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmslearn-improve-app-scalability-resiliency-with-load-balancer.git%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmslearn-improve-app-scalability-resiliency-with-load-balancer.git%3C%2FA%3E%3CBR%20%2F%3Ecd%20mslearn-improve-app-scalability-resiliency-with-load-balancer''%3C%2FP%3E%3CP%3EThe%20attached%20is%20the%20result%20I%20get%20on%20CLI%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166770iBA924CB18547ECC7%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_1.png%22%20title%3D%22clipboard_image_1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20script%20is%20ran%20from%20Github%20and%20then%20I'm%20meant%20to%20change%20the%20directory%20of%20the%20cloned%20repo.%3C%2FP%3E%3CP%3E1.%20How%20do%20I%20do%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1124812%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hi,

 

I'm on an exercise on the cloud architect learning path that's given me a headache. I'm trying to run the git command below;

''git clone https://github.com/MicrosoftDocs/mslearn-improve-app-scalability-resiliency-with-load-balancer.git
cd mslearn-improve-app-scalability-resiliency-with-load-balancer''

The attached is the result I get on CLI; 

clipboard_image_1.png

The script is ran from Github and then I'm meant to change the directory of the cloned repo.

1. How do I do this?

2 Replies

@obinnaihenacho 

These scripts are meant to run directly in azure sand boxes. but, if you want to run them in your own environment then you can either use cloud shell directly from the portal or if you want to run them on your local then make sure you configure azure cli and set a proper subscription on where you want to run this command.

 

1) az login 

2) az account clear

3) az account list

4) az account set 

Hi @sramadugu

Thanks for the feedback. I actually ran it through the sandbox first before trying it in my own environment to test it and see if i'll have a similar outcome. I had a similar outcome and question is how do i proceed after that, as i am meant to create VMs after that but cannot seem to be able to do that.