{"id":18433,"date":"2020-08-28T06:37:41","date_gmt":"2020-08-28T06:37:41","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=18433"},"modified":"2020-08-28T06:37:42","modified_gmt":"2020-08-28T06:37:42","slug":"deploying-an-aks-cluster-using-the-azure-portal","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/","title":{"rendered":"Deploying an AKS cluster using the Azure portal"},"content":{"rendered":"\n<p class=\"has-text-align-right\"><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\">Return to AZ-104 Tutorial<\/a><\/strong><\/p>\n\n\n\n<p>Here you&#8217;ll learn AKS, Azure Kubernetes Service is a managed Kubernetes service that allows you to quickly deploy and manage clusters. On this page, you deploy an AKS cluster with the help of the Azure portal. A multi-container application that incorporates a web front end and a Redis instance. So, let&#8217;s begin.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"sign-in-to-azure\"><strong>Signing in to Azure<\/strong><\/h3>\n\n\n\n<p>First of all, sign in to the Azure portal at\u00a0https:\/\/portal.azure.com.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"create-an-aks-cluster\"><strong>Creating an AKS cluster<\/strong><\/h4>\n\n\n\n<p>In order to create an AKS cluster, follow these steps:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/aks\/media\/kubernetes-walkthrough-portal\/create-cluster-basics.png\" alt=\"Create AKS cluster - provide basic information\" width=\"724\" height=\"843\"\/><figcaption>Image Source: Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<ol class=\"wp-block-list\"><li>First of all, select\u00a0<strong>Create a resource<\/strong>.<\/li><li>Secondly, select\u00a0<strong>Containers<\/strong>\u00a0>\u00a0<strong>Kubernetes Service<\/strong>.<\/li><li>Now, configure the following possibilities:<ul><li><strong>Project details<\/strong>: Select an Azure\u00a0<strong>Subscription<\/strong>, then create an Azure\u00a0<strong>Resource group<\/strong>.<\/li><li><strong>Cluster details<\/strong>: Enter a\u00a0<strong>Kubernetes cluster name<\/strong>, and later select a\u00a0<strong>Region<\/strong>,\u00a0<strong>Kubernetes version<\/strong>, and\u00a0<strong>DNS name prefix<\/strong>\u00a0for the AKS cluster.<\/li><li><strong>Primary node pool<\/strong>: Select a VM\u00a0<strong>Node size<\/strong>\u00a0for the AKS nodes. <\/li><\/ul><\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\"><li>Click <strong>Next: Scale<\/strong>\u00a0when complete.<\/li><li> At the bottom of the screen, click\u00a0<strong>Next: Authentication<\/strong>.<\/li><li>On the\u00a0<strong>Authentication<\/strong>\u00a0page, do the following steps:<ul><li>Creating a new service principal by leaving the\u00a0<strong>Service Principal<\/strong>\u00a0field with\u00a0a <strong>(new) default service principal<\/strong>. <\/li><li>Enabling the option for Kubernetes role-based access control (RBAC). <\/li><\/ul><\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/aks\/media\/kubernetes-walkthrough-portal\/aks-portal-dashboard.png\" alt=\"AKS\" width=\"650\" height=\"402\"\/><figcaption>Image Source: Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<p>By default,\u00a0<em>Basic<\/em>\u00a0networking is required, and Azure Monitor for containers is enabled. After then, click\u00a0<strong>Review + create<\/strong>\u00a0and then\u00a0<strong>Create<\/strong>\u00a0when validation completes.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-free-practice-test\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/06\/practice-test-2.png\" alt=\"AKS\"\/><\/a><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"connect-to-the-cluster\"><strong>Connecting to the AKS cluster<\/strong><\/h4>\n\n\n\n<p>To maintain a Kubernetes cluster, use\u00a0kubectl, the Kubernetes command-line client. The\u00a0<code>kubectl<\/code>\u00a0the client is pre-installed in the Azure Cloud Shell.<\/p>\n\n\n\n<p>Open Cloud Shell using the\u00a0<code>>_<\/code>\u00a0button on the top of the Azure portal.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/aks\/media\/kubernetes-walkthrough-portal\/aks-cloud-shell.png\" alt=\"azure\" width=\"750\" height=\"863\"\/><figcaption>Image Source: Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"run-the-application\"><strong>Running the application<\/strong><\/h4>\n\n\n\n<p>A Kubernetes manifest file describes the desired state for the cluster. This includes two\u00a0Kubernetes deployments\u00a0&#8211; one for the sample Azure Vote Python applications. Also, two\u00a0Kubernetes Services\u00a0are created &#8211; an internal service for the Redis instance. And external service to reach the Azure Vote application from the internet.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/testpreptraining.ai-2-750x117.png\" alt=\"AKS\"\/><\/figure><\/div>\n\n\n\n<p class=\"has-text-align-right\"><strong>Reference:\u00a0<a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/aks\/kubernetes-walkthrough-portal\" target=\"_blank\" rel=\"noreferrer noopener\">Microsoft Documentation<\/a><\/strong><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\">Return to AZ-104 Tutorial<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Return to AZ-104 Tutorial Here you&#8217;ll learn AKS, Azure Kubernetes Service is a managed Kubernetes service that allows you to quickly deploy and manage clusters. On this page, you deploy an AKS cluster with the help of the Azure portal. A multi-container application that incorporates a web front end and a Redis instance. So, let&#8217;s&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-18433","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Deploying an AKS cluster using the Azure portal - Testprep Training Tutorials<\/title>\n<meta name=\"description\" content=\"Increase your skills by learning about AKS with configuring containers using Microsoft Azure AZ-104 online course. Try practice Test now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Deploying an AKS cluster using the Azure portal - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"Increase your skills by learning about AKS with configuring containers using Microsoft Azure AZ-104 online course. Try practice Test now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-28T06:37:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.microsoft.com\/en-us\/azure\/aks\/media\/kubernetes-walkthrough-portal\/create-cluster-basics.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/\",\"name\":\"Deploying an AKS cluster using the Azure portal - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2020-08-28T06:37:41+00:00\",\"dateModified\":\"2020-08-28T06:37:42+00:00\",\"description\":\"Increase your skills by learning about AKS with configuring containers using Microsoft Azure AZ-104 online course. Try practice Test now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deploying an AKS cluster using the Azure portal\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Deploying an AKS cluster using the Azure portal - Testprep Training Tutorials","description":"Increase your skills by learning about AKS with configuring containers using Microsoft Azure AZ-104 online course. Try practice Test now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/","og_locale":"en_US","og_type":"article","og_title":"Deploying an AKS cluster using the Azure portal - Testprep Training Tutorials","og_description":"Increase your skills by learning about AKS with configuring containers using Microsoft Azure AZ-104 online course. Try practice Test now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-08-28T06:37:42+00:00","og_image":[{"url":"https:\/\/docs.microsoft.com\/en-us\/azure\/aks\/media\/kubernetes-walkthrough-portal\/create-cluster-basics.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/","name":"Deploying an AKS cluster using the Azure portal - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2020-08-28T06:37:41+00:00","dateModified":"2020-08-28T06:37:42+00:00","description":"Increase your skills by learning about AKS with configuring containers using Microsoft Azure AZ-104 online course. Try practice Test now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/deploying-an-aks-cluster-using-the-azure-portal\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Deploying an AKS cluster using the Azure portal"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/18433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=18433"}],"version-history":[{"count":6,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/18433\/revisions"}],"predecessor-version":[{"id":18447,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/18433\/revisions\/18447"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=18433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=18433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=18433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}