Skip to Content
Migrating Applications to the Cloud with Azure
book

Migrating Applications to the Cloud with Azure

by Sjoukje Zaal, Amit Malik, Sander Rossel, Jason Marston, Mohamed Waly, Stefano Demiliani
December 2019
Intermediate to advanced content levelIntermediate to advanced
494 pages
11h 41m
English
Packt Publishing
Content preview from Migrating Applications to the Cloud with Azure

Deploying with the Azure CLI

In the previous section, we looked at deploying a Kubernetes cluster via the portal. Using the Azure CLI, you can launch an AKS cluster using just a single command. Follow these steps to learn how to deploy using the CLI:

  1. Launch the Azure CLI on your computer or launch Azure Cloud Shell. You can use az login to log in to your subscription (not required if you're using Cloud Shell).
  2. Create a resource group using the following command:
az group create --name packt-4thchapter --location eastus 

You can skip this step if you want to use an existing resource group for AKS deployment. 

  1. Create an AKS cluster using the following command:
az aks create --resource-group packt-aks --name packt-4thchapter --node-count ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Migrating Applications to the Cloud

Migrating Applications to the Cloud

Steve Swoyer
Microsoft Azure: Planning, Deploying, and Managing the Cloud

Microsoft Azure: Planning, Deploying, and Managing the Cloud

Julian Soh, Marshall Copeland, Anthony Puca, Micheleen Harris

Publisher Resources

ISBN: 9781839217470Supplemental Content