Azure Kubernetes Service
(AKS)
Introduction
• Azure Kubernetes Service (AKS) is a
managed Kubernetes service that
simplifies deploying, managing, and
scaling containerized applications
using Kubernetes. AKS handles most
of the complex aspects of
Kubernetes, such as health
monitoring and maintenance.
AKS Development Tools
Azure CLI: Command-line tool for managing Azure
resources.
kubectl: Command-line tool for interacting with
Kubernetes clusters.
Azure Dev Spaces: Enables rapid Kubernetes
development through collaborative spaces.
Helm: Kubernetes package manager to define, install,
and upgrade applications.
Draft: Tool that helps containerize applications.
Deploy Applications
on AKS
• Containerize Your Application: Use Docker to
create a container image.
• Create Kubernetes Manifests: Define your
application's deployment, service, and other
resources.
• Deploy to AKS: Use kubectl to apply the manifests
to your AKS cluster.
• Verify Deployment: Check the status of your
deployment and service.
• Monitor and Scale: Use Azure Monitor and kubectl
to manage and scale your application.
Benefits of Using AKS
• Ease of Management: AKS offloads the complexity
of managing Kubernetes infrastructure, allowing
developers to focus on application development.
• Cost Efficiency: AKS offers a pay-as-you-go pricing
model, enabling cost optimization by scaling
resources based on demand.
• Flexibility and Portability: AKS supports hybrid and
multi-cloud scenarios, allowing applications to run
consistently across different environments.
• High Availability: AKS ensures high availability and
reliability of applications through features like
automated node repairs and multi-region clusters.
Monitoring AKS
• Azure Monitor: Collects and analyzes
telemetry data from your AKS clusters.
• Azure Log Analytics: Collects and analyzes
logs using Kusto Query Language (KQL).
• Alerts: Set up alerts to notify you of specific
conditions.
• Dashboards: Create customizable
dashboards to visualize metrics and logs.
Azure Monitor and
Analytics
• Enable Azure Monitor: During or after AKS
cluster creation.
• View AKS Insights: Analyze cluster health
and performance.
• Collect Logs with Log Analytics: Query
logs using KQL.
• Set Up Alerts: Define conditions and
actions for alerts.
• Create Dashboards: Visualize metrics and
logs.
Prometheus and Grafana
Prometheus
Prometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud. It
is now a standalone open-source project and maintained independently of any company.
Grafana
Grafana is an open-source platform for monitoring and observability. It allows you to query, visualize,
alert on, and explore metrics from different data sources.
Prometheus and Grafana
• Install Prometheus: Helm install for metrics
collection.
• Install Grafana: Helm install for
visualization.
• Configure Grafana: Set up Prometheus as
a data source.
• Create Dashboards: Visualize metrics from
AKS clusters.
Questions & answers
Invite questions from the audience.
Thank you

Azure_Kubernetes_Services_(AKS)0111.pptx

  • 1.
  • 2.
    Introduction • Azure KubernetesService (AKS) is a managed Kubernetes service that simplifies deploying, managing, and scaling containerized applications using Kubernetes. AKS handles most of the complex aspects of Kubernetes, such as health monitoring and maintenance.
  • 3.
    AKS Development Tools AzureCLI: Command-line tool for managing Azure resources. kubectl: Command-line tool for interacting with Kubernetes clusters. Azure Dev Spaces: Enables rapid Kubernetes development through collaborative spaces. Helm: Kubernetes package manager to define, install, and upgrade applications. Draft: Tool that helps containerize applications.
  • 4.
    Deploy Applications on AKS •Containerize Your Application: Use Docker to create a container image. • Create Kubernetes Manifests: Define your application's deployment, service, and other resources. • Deploy to AKS: Use kubectl to apply the manifests to your AKS cluster. • Verify Deployment: Check the status of your deployment and service. • Monitor and Scale: Use Azure Monitor and kubectl to manage and scale your application.
  • 5.
    Benefits of UsingAKS • Ease of Management: AKS offloads the complexity of managing Kubernetes infrastructure, allowing developers to focus on application development. • Cost Efficiency: AKS offers a pay-as-you-go pricing model, enabling cost optimization by scaling resources based on demand. • Flexibility and Portability: AKS supports hybrid and multi-cloud scenarios, allowing applications to run consistently across different environments. • High Availability: AKS ensures high availability and reliability of applications through features like automated node repairs and multi-region clusters.
  • 6.
    Monitoring AKS • AzureMonitor: Collects and analyzes telemetry data from your AKS clusters. • Azure Log Analytics: Collects and analyzes logs using Kusto Query Language (KQL). • Alerts: Set up alerts to notify you of specific conditions. • Dashboards: Create customizable dashboards to visualize metrics and logs.
  • 7.
    Azure Monitor and Analytics •Enable Azure Monitor: During or after AKS cluster creation. • View AKS Insights: Analyze cluster health and performance. • Collect Logs with Log Analytics: Query logs using KQL. • Set Up Alerts: Define conditions and actions for alerts. • Create Dashboards: Visualize metrics and logs.
  • 8.
    Prometheus and Grafana Prometheus Prometheusis an open-source systems monitoring and alerting toolkit originally built at SoundCloud. It is now a standalone open-source project and maintained independently of any company. Grafana Grafana is an open-source platform for monitoring and observability. It allows you to query, visualize, alert on, and explore metrics from different data sources.
  • 9.
    Prometheus and Grafana •Install Prometheus: Helm install for metrics collection. • Install Grafana: Helm install for visualization. • Configure Grafana: Set up Prometheus as a data source. • Create Dashboards: Visualize metrics from AKS clusters.
  • 10.
    Questions & answers Invitequestions from the audience.
  • 11.