Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Kubernetes on Azure

You're reading from  Hands-On Kubernetes on Azure

Product type Book
Published in Mar 2019
Publisher Packt
ISBN-13 9781789536102
Pages 258 pages
Edition 1st Edition
Languages
Authors (2):
Shivakumar Gopalakrishnan Shivakumar Gopalakrishnan
Profile icon Shivakumar Gopalakrishnan
Gunther Lenz Gunther Lenz
Profile icon Gunther Lenz
View More author details

Table of Contents (16) Chapters

Preface 1. Section 1: The Basics
2. Introduction to Docker and Kubernetes 3. Kubernetes on Azure (AKS) 4. Section 2: Deploying on AKS
5. Application Deployment on AKS 6. Scaling Your Application to Thousands of Deployments 7. Single Sign-On with Azure AD 8. Monitoring the AKS Cluster and the Application 9. Operation and Maintenance of AKS Applications 10. Section 3: Leveraging Advanced Azure PaaS Services in Combination with AKS
11. Connecting an App to an Azure Database - Authorization 12. Connecting to Other Azure Services (Event Hub) 13. Securing AKS Network Connections 14. Serverless Functions 15. Other Books You May Enjoy

Kubernetes on Azure (AKS)

Installing and maintaining Kubernetes clusters correctly and securely is hard. Thankfully, all the major cloud providers such as Google Cloud Platform (GCP) (of course, considering Kubernetes was founded in Google), AWS, and Azure facilitate installing and maintaining clusters. You will learn how to navigate through Azure Portal and launch your own cluster and a sample application. And all of the above from your browser.

The following topics will be covered in this chapter:

  • Navigating Azure Portal
  • Launching your cluster
  • Starting your first application

Technical requirements

You will need a modern web browser such as Firefox, Chrome, Safari, or Edge.

If you do not have an Azure account, you can create a free account here: https://azure.microsoft.com/en-us/free/?WT.mc_id=A261C142F.

If you do not want to run the sample application in Docker locally, then skip to the Entering the Azure portal section where we will show you how to do the same in Azure without installing anything locally.

In this section, we will show you how to run the Azure Voting application on your local machine. This requires the following:

Entering the Azure portal

Till we get to an all command-line method of operation (aka the DevOps way), we will be utilizing Azure Portal for most of our use cases. Even when we are using command-line functions for most of our operations, Azure Portal is where you can quickly check the status of your infrastructure. Familiarity with Azure Portal is essential for running your AKS.

Creating an Azure portal account

If you already have an account with Azure and/or are familiar with Azure Portal, you can skip this section.

Here we will show you how to get started with a free account.

In order to keep your trial account separate, you probably want to start the browser in Incognito or Private Browsing mode.
  1. Go to https://azure.microsoft...

Navigating the Azure portal

We are going to jump straight in by creating our Azure Kubernetes Service (AKS). By doing so, we are also going to familiarize ourselves with the Azure portal. Please note that we are going to ask you to blindly click here and there. We will explain the different concepts later in the appropriate context or as side notes. For now, trust us, we are engineers (at least we used to be).

Creating your first AKS

On the top center where the search icon is, type this:

aks

You will see Kubernetes services under SERVICES. Click on it:

You have to add a new Resource Group. Type handsonaks and myfirstakscluster for the cluster name:

Use the previous names for Resource Group and Cluster Name. We will be using...

Summary

By the end of this chapter, we are now able to access and navigate the Azure portal to perform all the functions required to launch AKS and also to use the free trial on Azure to your advantage while learning the ins and outs of AKS and other Azure services. We launched our own AKS cluster with the ability to customize configurations if required using Azure Portal. We also learned to use Azure Cloud Shell without installing anything on your computer. This is important for all the upcoming sections, where you will be doing a lot more than launching simple applications. Finally, we launched a publicly accessible service that works! The skeleton of this application is the same for the complex applications that you will be launching in the next sections.

lock icon The rest of the chapter is locked
You have been reading a chapter from
Hands-On Kubernetes on Azure
Published in: Mar 2019 Publisher: Packt ISBN-13: 9781789536102
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 $15.99/month. Cancel anytime}