Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn Microsoft Azure

You're reading from   Learn Microsoft Azure Build, manage, and scale cloud applications using the Azure ecosystem

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher Packt
ISBN-13 9781789617580
Length 354 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Mohamed Waly Mohamed Waly
Author Profile Icon Mohamed Waly
Mohamed Waly
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Microsoft Azure 101 2. Understanding Azure Storage FREE CHAPTER 3. Getting Familiar with Azure Virtual Networks 4. Understanding Azure Virtual Machines 5. Azure Web Apps Basics 6. Managing Azure Web Apps 7. Basics of Azure SQL Database 8. Managing Azure SQL Database 9. Understanding Azure Active Directory 10. Monitoring and Automating Azure Services Using OMS 11. Data Protection and Business Continuity Using OMS 12. Assessments 13. Other Books You May Enjoy

Azure automation tools

It is no surprise that we commonly face repetitive and time-consuming tasks. For example, you might want to create multiple virtual machines. You would have to follow the previous guide multiple times to get your job done. This is why Microsoft supports its Azure services with multiple ways of automating most of the tasks that can be implemented in Azure.

Azure PowerShell

PowerShell is commonly used with most Microsoft products, and Azure is no less important than any of these products. You can use Azure PowerShell cmdlets to manage most Azure services.

Installing the Azure PowerShell module

Installing the Azure PowerShell module from the PowerShell Gallery

The following are the steps required to get Azure PowerShell installed:

  1. Open PowerShell in an elevated mode.
  2. To install the Azure PowerShell module for the current portal, run the following cmdlet:
Install-Module AzureRM

If your PowerShell requires a NuGet provider, you will be asked to agree to install it, and you will have to agree to the installation policy modification, as the repository is not available in your environment, as shown in the following screenshot:

Azure CLI

The Azure CLI is an open source and cross-platform tool that supports implementing all the tasks you can do in the Azure portal with commands. This tool can be used to provide automation by writing all the tasks you want to configure in the Azure CLI and running it instead of manually doing it over and over again. It can be used to run on Windows, Linux, and macOS. The latest version is Azure CLI 2.0.

Installing Azure CLI 2.0

Perform the following steps to install Azure CLI 2.0:

  1. Download Azure CLI 2.0 from the following link: https://azurecliprod.azureedge.net/msi/azure-cli-2.0.47.msi.
  2. Once downloaded, you can start the installation:
  1. Once you click on Install, it will start to validate your environment to check whether it is compatible with it or not. Then, it starts the installation:
  1. Once the installation completes, you can click on Finish, and you are good to go:
  1. Once done, you can open Command Prompt and write az to access Azure the CLI commands:
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image