Slide 1

Slide 1 text

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

Slide 2

Slide 2 text

HELLO! I’m Tugberk I love crea1ng products and making an impact on people’s lives You can find me at @tourismgeek 2

Slide 3

Slide 3 text

I work at Redgate Technical Lead at the Data Privacy and Protec8on Solu8on Team Our team is called The Spiders h?ps://www.red-gate.com/our-company/careers

Slide 4

Slide 4 text

Microsoft MVP Visual Studio Development Technologies

Slide 5

Slide 5 text

Context So, why am I talking about this? h5ps://flic.kr/p/diX7Ar

Slide 6

Slide 6 text

I care about zero down/me deployments... h"ps://vimeo.com/171317249

Slide 7

Slide 7 text

And it’s HARD ™ h"ps://flic.kr/p/4hBu38

Slide 8

Slide 8 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 9

Slide 9 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 10

Slide 10 text

No content

Slide 11

Slide 11 text

A bit background, summary! Zero • -down)me 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 en)re team can understand and have a • chat about (good abstrac)on with clear concepts)

Slide 12

Slide 12 text

Kubernetes!

Slide 13

Slide 13 text

But, wait!

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

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

Slide 16

Slide 16 text

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

Slide 17

Slide 17 text

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

Slide 18

Slide 18 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 applica8on

Slide 19

Slide 19 text

All through Azure CLI and kubectl

Slide 20

Slide 20 text

Enable the service

Slide 21

Slide 21 text

Create the resource group

Slide 22

Slide 22 text

Creating the Cluster

Slide 23

Slide 23 text

Crea%ng the Cluster

Slide 24

Slide 24 text

Crea%ng the Cluster

Slide 25

Slide 25 text

Browse in K8s Dashboard

Slide 26

Slide 26 text

AKS Cluster in Azure Portal

Slide 27

Slide 27 text

AKS Cluster in Azure Portal

Slide 28

Slide 28 text

AKS Cluster in Azure Portal

Slide 29

Slide 29 text

AKS Cluster in Azure Portal

Slide 30

Slide 30 text

Run the Apps on AKS

Slide 31

Slide 31 text

Test the App

Slide 32

Slide 32 text

Test the App

Slide 33

Slide 33 text

Scaling the Nodes See h%ps://docs.microso1.com/en-us/azure/aks/scale-cluster

Slide 34

Slide 34 text

Upgrading the K8s cluster See h%ps://docs.microso1.com/en-us/azure/aks/tutorial-kubernetes-upgrade-cluster

Slide 35

Slide 35 text

Blog Post: h*ps://bit.ly/2qLQAwu

Slide 36

Slide 36 text

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