Case Study: Azure Kubernetes Service

Nischal Vooda
4 min readSep 26, 2021

Azure Kubernetes Service(AKS) is Managed Kubernetes Services of Azure that many industries are benefitting. In this article, we are going to discuss what is AKS, how AKS works, and how industries are getting benefits from this.

What is AKS?

Azure Kubernetes Services(AKS) is a Managed Kubernetes Service provided by Azure. In AKS, you can deploy and manage containerized applications in s very easy manner.

Azure Kubernetes Service (AKS) offers serverless Kubernetes, an integrated continuous integration and continuous delivery (CI/CD) experience, and enterprise-grade security and governance.

Why use AKS?

  • Accelerate containerized application development: To accelerate the market use of modern application development. In AKS, you can easily define, deploy, and upgrade the most complex Kubernetes structures.
  • Increased Optional efficiency: AKS provides automated provisioning, repair, monitoring, and scaling.
  • Easily provision your cluster with Prometheus and other monitoring tools.
  • Azure Advisor helps in the real-time optimization of Kubernetes deployment.
  • Azure Spot saves your cost a lot by deeply discounted capacity.
  • Secured Foundation: Azure active directory help to get fine-grained identity and access control to Kubernetes.

Companies Currently Using Azure Kubernetes Service (AKS)

Humana

Tecolote Research Inc.

M&T Bank

Fiserv

loanDepot

Hitachi Data Systems

When Robert Bosch GmbH set out to solve the problem of drivers going the wrong way on highways, the goal was to save lives. Other services like this existed in Germany, but precision and speed cannot be compromised. Could Bosch get precise enough location data — in real-time — to do this? The company knew it had to try.

The result is the wrong-way driver warning (WDW) service and software development kit (SDK). Designed for use by app developers and original equipment manufacturers (OEMs), the architecture pivots on an innovative map-matching algorithm and the scalability of Microsoft Azure Kubernetes Service (AKS) in tandem with Azure HDInsight tools that integrate with the Apache Kafka streaming platform.

The Bosch team had to solve two major issues: first, to get the last piece of information out of the noisy sensor data; and second, to develop a highly scalable and ultra-flexible service to process the data in near real time. The question was how to build real-time data ingestion and processing pipeline capable of returning notifications to drivers within seconds.

The problem was speed. The team assumed that devices emitting location information, such as smartphone apps and automotive head units, could eventually send thousands of data points to the solution per second, from all over Europe and eventually other countries. Bosch needed lightning fast compute capable of filtering events and pushing a notification back to an end device within 10 seconds — the time estimated to make the solution viable.

A team of Microsoft cloud solution architects worked closely with Bosch engineers, who provided valuable feedback to Azure product teams. Microsoft continues to work with Bosch teams around the world. Working together, they devised a solution that produced the speed Bosch needed.

The key was orchestration. By orchestrating the deployment of containers using AKS, Bosch would get repeatable, manageable clusters of containers. Bosch already had a continuous integration (CI) and continuous deployment (CD) process to use in producing the container images and orchestration. The result: increased speed and reliability of deployments.

AKS provides the elastic provisioning that Bosch wanted, without the need to manage its own environment. The developers can deploy self-managed AKS clusters as needed, and they get the benefit of running their services within a secured network environment.

How does the solution work?

The wrong-way driver warning solution runs as a service on Azure and provides an SDK. Service providers, such as smartphone app developers and OEM partners, can install the WDW SDK to make use of the service within their products. The SDK maintains a list of hotspots within which GPS data is collected anonymously. These hotspots include specific locations, such as segments of divided highways and on-ramps. Every time a driver enters a hotspot, the client generates a new ID, so the service remains anonymous.

When a driver using a WDW-configured app or in-car system enters a hotspot, the WDW SDK begins to collect GPS signals and sensor events, such as acceleration and rotational data and heading information. These data points are packaged as observations and sent in the frequency of 1 Hertz (Hz) — one event per second — via HTTP to the WDW service on Azure, either directly or to the service provider’s back end, and then to Azure. The SDK supports both routes so that service providers stay in charge of the data that is sent to the WDW system.

If the WDW service determines that the driver is going the wrong way within a hotspot, it sends a notification to the originating device and to other drivers in the vicinity who are also running an app with the WDW SDK.

Getting accuracy from GPS Data

The team’s biggest technical challenge was to improve the reliability of the incoming GPS data. Bosch developed a custom sensor data-fusion and map-matching algorithm to verify a driver’s location and driving direction. Then the algorithm filters all suspicious trips and forwards them to the alert validator app. This multistep classification approach was used to reduce the computational complexity required for a cost-effective solution architecture.

Connect me on my LinkedIn as well.

--

--