PacktPublishing / Microsoft-Azure-Security-Technologies-Certification-and-Beyond

Microsoft Azure Security Technologies Certification and Beyond, published by Packt
MIT License
11 stars 13 forks source link

Script is not working... at all #1

Open dalewb2 opened 2 years ago

dalewb2 commented 2 years ago

When i use this script, I either get nothing in Azure in the resource group or I get an error during validation: {"code":"ServerTimeout","message":"The request timed out. Diagnostic information: timestamp '20220401T122053Z', subscription id '', tracking id '891ae30c-a57f-4d30-9ce2-405f071d23dd', request correlation id '891ae30c-a57f-4d30-9ce2-405f071d23dd'."}

I have tried the script about 10 times. A few of those I changed the resource group name, but that had no effect. At this point I am completely stuck at this part of the book, and must decide if I will just abandon the chapters that rely on this script and move on - I have studying to do!

dalewb2 commented 2 years ago

I've discovered that the region must be set to anywhere outside the United States, otherwise the vm will not populate with anything (none available for that region). As soon as a different locale is selected, e.g. Western Europe, the vm becomes available and auto-fills in.

While that is wonderful, there is an additional problem with this script in that the Apache azseclinvm/apacheinstall part errors out. I have attached the error from the Azure portal here. In all I am very frustrated with this part of the book. azuresec-c6-rg deployment error.txt

dalewb2 commented 2 years ago

Persistence pays off! I deployed the script for the 4th time and chose UK South as the region and everything worked flawlessly.

sarhansoft1 commented 1 year ago

After long hours of failed deployments, the Brazil South region worked fine for me.