Slide 1

Slide 1 text

Benefits of Managed Kubernetes in Azure (Azure Container Service, AKS) Tugberk Ugurlu http://tugberkugurlu.com @tourismgeek

Slide 2

Slide 2 text

A bit background...

Slide 3

Slide 3 text

Shameless plug: Zero downtime deployments... https://vimeo.com/171317249

Slide 4

Slide 4 text

example-api-v0-6327638 example-api-v0-7814219 example-api-v0-9528392 LB v0.example.com example-api- process example-api- process example-api- process example-api-v0-6786234 example-api-v0-3266280 example-api-v0-8429842 example-api- process example-api- process example-api- process

Slide 5

Slide 5 text

Internal LB-1 LB-1 Internal LB-2 server1 server2 server3 server4 server5 server6 server7 server8 server9 server10 client client client client client client #ABBDevDay

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

A bit background, summary! • Zero-downtime deployments are hard (no shit!) • I didn’t want to do it manually by coupling with a specific cloud provider • I wanted something that the entire team can understand and have a chat about (good abstraction with clear concepts)

Slide 8

Slide 8 text

Kubernetes!

Slide 9

Slide 9 text

But, wait!

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

“Managed Kubernetes container orchestration service in Azure! Azure Container Service (AKS) to the rescue!

Slide 12

Slide 12 text

“Removes the complexity of implementing, installing, maintaining and securing Kubernetes. Azure Container Service (AKS)

Slide 13

Slide 13 text

“Avoid being locked into any one vendor or resource. Azure Container Service (AKS)

Slide 14

Slide 14 text

Deploy an AKS Cluster and Run the Apps on It Create a resource group Enable AKS on Azure Create AKS cluster Connect to the cluster Run the application

Slide 15

Slide 15 text

All through Azure CLI and kubectl

Slide 16

Slide 16 text

Enable the service

Slide 17

Slide 17 text

Create the resource group

Slide 18

Slide 18 text

Creating the Cluster

Slide 19

Slide 19 text

Browse in K8s Dashboard

Slide 20

Slide 20 text

AKS Cluster in Azure Portal

Slide 21

Slide 21 text

AKS Cluster in Azure Portal

Slide 22

Slide 22 text

AKS Cluster in Azure Portal

Slide 23

Slide 23 text

AKS Cluster in Azure Portal

Slide 24

Slide 24 text

Run the Apps on AKS

Slide 25

Slide 25 text

Test the App

Slide 26

Slide 26 text

Test the App

Slide 27

Slide 27 text

Scaling the Nodes See https://docs.microsoft.com/en-us/azure/aks/scale-cluster

Slide 28

Slide 28 text

Upgrading the K8s cluster See https://docs.microsoft.com/en-us/azure/aks/tutorial-kubernetes-upgrade-cluster

Slide 29

Slide 29 text

Resources • AKS Docs: https://docs.microsoft.com/en-gb/azure/aks/ • Container Registry Docs: https://docs.microsoft.com/en-gb/azure/container-registry/ • Connect(); 2017 session: https://channel9.msdn.com/Events/Connect/2017/E101 • Launch blog post: https://azure.microsoft.com/en-gb/blog/introducing-azure-container-service- aks-managed-kubernetes-and-azure-container-registry-geo-replication/ • Sample app code: https://github.com/Azure-Samples/azure-voting-app-redis