Book Image

Implementing Azure Solutions - Second Edition

By : Florian Klaffenbach, Markus Klein, Sebastian Hoppe, Oliver Michalski, Jan-Henrik Damaschke
Book Image

Implementing Azure Solutions - Second Edition

By: Florian Klaffenbach, Markus Klein, Sebastian Hoppe, Oliver Michalski, Jan-Henrik Damaschke

Overview of this book

<p>Microsoft Azure offers numerous solutions that can shape the future of any business. However, the major challenge that architects and administrators face lies in implementing these solutions. </p><p>Implementing Azure Solutions helps you overcome this challenge by enabling you to implement Azure Solutions effectively. The book begins by guiding you in choosing the backend structure for your solutions. You will then work with the Azure toolkit and learn how to use Azure Managed Apps to share your solutions with the Azure service catalog. The book then focuses on various implementation techniques and best practices such as implementing Azure Cloud Services by configuring, deploying, and managing cloud services. As you progress through the chapters, you’ll learn how to work with Azure-managed Kubernetes and Azure Container Services. </p><p>By the end of the book, you will be able to build robust cloud solutions on Azure.</p>
Table of Contents (14 chapters)

Working with the CLI

A third option to operate Azure Stack is the Command Line Interface (CLI), which is available for:

  • Windows
  • Linux
  • Mac

Now, let's have a look at how to create a virtual machine using the CLI. At first, we would need to register the corresponding environment:

  • As administrative environment, you would need to run the following script:
az cloud register \
-n AzureStackAdmin \
--endpoint-resource-manager
"https://adminmanagement.local.azurestack.external" \

--suffix-storage-endpoint "local.azurestack.external" \
--suffix-keyvault-dns ".adminvault.local.azurestack.external" \
--endpoint-vm-image-alias-doc <URI of the document which
contains virtual machine image aliases>

az cloud set \
-n AzureStackAdmin
  • As user environment, the following script could help:
az cloud register \
-n AzureStackUser...