Slide 1

Slide 1 text

Global Azure Bootcamp Singapore 2023

Slide 2

Slide 2 text

$whoami { “name” : “Nilesh Gule”, “website” : “https://www.HandsOnArchitect.com", “github” : “https://GitHub.com/NileshGule" “twitter” : “@nileshgule”, “linkedin” : “https://www.linkedin.com/in/nileshgule”, “YouTube” : “https://www.YouTube.com/@nilesh-gule” “likes” : “Technical Evangelism, Cricket”, “co-organizer” : “Azure Singapore UG” }

Slide 3

Slide 3 text

How to build Secure & Portable applications using AKS and its ecosystem

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Native integration with Dapr

Slide 6

Slide 6 text

Dapr Components

Slide 7

Slide 7 text

Azure-Singapore-cluster demo-azure-singapore-rg ngacrregistry acrResourceGroup TechTalks with Dapr - AKS

Slide 8

Slide 8 text

Generate Workload – AKS

Slide 9

Slide 9 text

aci-dev-env azure-container-app-rg ngacrregistry acrResourceGroup TechTalks with Dapr – Azure Container Apps

Slide 10

Slide 10 text

Generate Workload – Container App

Slide 11

Slide 11 text

AKS Best Practices – Cluster Operator Multi-Tenancy Authentication and Authorization • Azure AD • Kubernetes RBAC • Azure RBAC • Pod Identities Cluster Isolation • Multi-tenancy and logical separation using namespaces Basic scheduler • Resource Quotas • Pod Disruption Budget Advanced scheduler • Taints & Tolerations • Node selectors and affinity • Inter-pod affinity and anti-affinity

Slide 12

Slide 12 text

AKS Best Practices Security • Cluster Security & Upgrades • Secure API Server • Limit container access • Manage upgrades & node reboots • Container Image Management • Secure images and runtimes • Automate builds on base image updates • Pod Security • Secure access to resources • Limit Credentials exposure • Use Pod Identities and Digital Key Vaults Network & Storage • Network Connectivity • Different network models using ingress and WAF • Secure node SSH access • Storage & Backup • Appropriate storage type & node size • Dynamically provision volumes • Data Backups Developer • Manage resources • Resource Requests & Limits • Pod Security • Secure access to resources • Limit credentials exposure • Use Pod Identities & Digital Vaults

Slide 13

Slide 13 text

Summary • Modern applications are loosely coupled and highly portable • AKS provides native integrations to Dapr and KEDA • KEDA helps to auto scale on metrics external to Kubernetes • Dapr tries to simplify the Microservices development and deployment • Dapr Components help to extract underlying functionality and provides abstractions • Best practices related to AKS • Make app portable to run in serverless as well as managed cloud services

Slide 14

Slide 14 text

References https://www.youtube.com/@nilesh-gule https://dapr.io/ Dapr Publish and Subscribe Kubernetes Event Driven Autoscaling Serverless - Dapr and Azure Container Apps AKS best-practices

Slide 15

Slide 15 text

Containerize Apps Resources https://github.com/NileshGule/cloud-native-ninja https://github.com/NileshGule/techtalks-azure-container-apps-demo Slides https://www.slideshare.net/nileshgule/ https://speakerdeck.com/nileshgule/

Slide 16

Slide 16 text

Nilesh Gule ARCHITECT | MICROSOFT MVP “Code with Passion and Strive for Excellence” nileshgule @nileshgule Nilesh Gule NileshGule www.handsonarchitect.com https://bit.ly/youtube-nileshgule

Slide 17

Slide 17 text

Q&A