Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Azure Container Apps: Endlich Serverless?!

Azure Container Apps: Endlich Serverless?!

Mit Azure Container Apps können Sie Container-basierte verteilte Anwendungen professionell in der Cloud betreiben, ohne sich selbst um den darunterlegenden Kubernetes kümmern zu müssen. Einfach und professionell zu automatisieren, ein konkurrenzfähiges Feature-Set, und dennoch einfach zu bedienen! Das ist das Versprechen, das Microsoft gibt.

Besuchen Sie diesen Vortrag von Thorsten Hans und lernen Sie Azure Container Apps kennen! Gemeinsam werden wir unterschiedliche Anwendungstypen bereitstellen, dienstspezifische Features einsetzen, Provisionierung und Deployment automatisieren, um festzustellen, ob das Versprechen von Microsoft eingehalten wurde. Am Ende des Vortrages haben Sie einen Überblick über das Leistungsspektrum von Azure Container Apps und können einschätzen, ob Ihre Anwendung dank Azure Container Apps Serverless betrieben werden kann, wodurch Sie um die Administration eines eigenen Kubernetes-Clusters herumkommen.

Thorsten Hans

June 28, 2023
Tweet

More Decks by Thorsten Hans

Other Decks in Technology

Transcript

  1. • Introduction • Azure Container Apps Capabilities • Hands-On Azure

    Container Apps • Inner-Loop performance with Azure Container Apps • Conclusion Agenda
  2. • Introduction • Azure Container Apps Capabilities • Hands-On Azure

    Container Apps • Inner-Loop performance with Azure Container Apps • Conclusion Agenda
  3. What is Azure Container Apps? • Serverless platform to run

    containerized and cloud-native applications • Built on top of battle-proven open-source projects • Kubernetes • Envoy • Dapr • KEDA • Hides most of the complexicity from us as customers Introduction
  4. Why do we need another service for containers? • There

    is no serverless pricing-model for AKS • Kubernetes itself is complex • It’s hard to find, hire, and keep people that really know Kubernetes • Azure Container Instances and Web App for Containers have some “glitches” and “gotchas” Introduction
  5. The new Azure landscape for containers* Introduction Azure WebApps for

    Containers Azure Container Instances Azure Container Apps Azure Kubernetes Service * Azure offers more services that can run containers, however those are typically more specialized
  6. • Introduction • Azure Container Apps Capabilities • Hands-On Azure

    Container Apps • Inner-Loop performance with Azure Container Apps • Conclusion Agenda
  7. • Introduction • Azure Container Apps Capabilities • Hands-On Azure

    Container Apps • Inner-Loop performance with Azure Container Apps • Conclusion Agenda
  8. Ingress (Envoy) • Envoy https://www.envoyproxy.io/ acts as Ingress controller for

    your workloads • Apps could be exposed to the internet • We can implement traffic split (see SMI Spec) https://github.com/servicemeshinterface/smi- spec/blob/main/apis/traffic-split/v1alpha4/traffic-split.md • Apps hosted in the same environment, can interact with each other • In this case, think of a regular Kubernetes service FQDN myservice.mynamespace.svc.cluster.local Azure Container Apps Capabilities
  9. Microservice (with Dapr) • Dapr (Distributed Application Runtime) https://dapr.io is

    part of Azure Container Apps • Dapr simplifies building distributed application architectures • Dapr components are injected automatically • leveraging Kubernetes sidecar-pattern • Dapr is 100% optional! Azure Container Apps Capabilitites
  10. Autoscaling with KEDA (Kubernetes Event Driven Autoscaling) • KEDA https://keda.sh

    allows you to scale workloads using scalers • Scalers define scaling-behavior due to external or internal signals • KEDA has 60+ built-in scalers like for example • Azure Service Bus Queue, Redis, Apache Kafka, • Container resource utilization e.g., CPU or memory • Scaling configuration is part of the overall deployment manifest Azure Container Apps Capabilitites
  11. • Introduction • Azure Container Apps Capabilities • Hands-On Azure

    Container Apps • Inner-Loop performance with Azure Container Apps • Conclusion Agenda
  12. • Introduction • Azure Container Apps Capabilities • Hands-On Azure

    Container Apps • Inner-Loop performance with Azure Container Apps • Conclusion Agenda
  13. Consuming Docker Images • Containers can be consumed from any

    kind of Container registry • Public and Private Container registries are supported • Authentication is supported via • Username and Password (or Tokens) • System-Assigned or User-Assigned Managed Service Identity (MSI) Hands-On Azure Container Apps
  14. How to deploy Azure Container Apps • Azure Container Apps

    are regular Azure Resource Manager (ARM) entities • Azure Container Apps can be provisioned using • Project Bicep • Pulumi • Terraform using the AzAPI provider • AzureRM provider supports Container Apps since January 2023 • Azure CLI integration is available via extension Hands-On Azure Container Apps
  15. Observability • Seamless Observability integration • Container logs will be

    streamed to Azure Log Analytics Workspace (or Azure Monitor) • Log Analytics workspace should be linked to the Azure Container App Environment • Logging agents enrich logs written to STDOUT and STDERR with data like • Container App Name • Revision & Environment Name • Container Image Repository & Tag Hands-On Azure Container Apps
  16. How to investigate and troubleshoot • Query Log Analytics Workspace

    for individual logs • Directly access log stream in your terminal or Azure Portal • Shell access to containers using your terminal or Azure Portal Troubleshooting
  17. • Introduction • Azure Container Apps Capabilities • Hands-On Azure

    Container Apps • Inner-Loop performance with Azure Container Apps • Conclusion Agenda
  18. • Introduction • Azure Container Apps Capabilities • Hands-On Azure

    Container Apps • Inner-Loop performance with Azure Container Apps • Conclusion Agenda
  19. Get up and running in minutes Starting form zero you

    can showcase an app running in Azure Container Apps in ~ 5 mins Inner-Loop performance with Azure Container Apps
  20. • Introduction • Azure Container Apps Capabilities • Hands-On Azure

    Container Apps • Inner-Loop performance with Azure Container Apps • Conclusion Agenda
  21. • Introduction • Azure Container Apps Capabilities • Hands-On Azure

    Container Apps • Inner-Loop performance with Azure Container Apps • Conclusion Agenda
  22. o Frictionless runtime for multi-container apps o Probably powerful enough

    for many use-cases o Azure Container Apps is long awaited addition to the Azure service landscape o It’s neither a replacement for AKS nor Web Apps for Containers o Track Azure Container Apps roadmap on GitHub https://github.com/microsoft/azure-container-apps/issues?q=label%3Aroadmap Conclusion