Azure Kubernetes Service: Use-Cases

What is Azure Kubernetes Service (AKS)?
πAzure Kubernetes Service (AKS) offers serverless Kubernetes, an integrated continuous integration and continuous delivery (CI/CD) experience, and enterprise-grade security and governance.
πUnite your development and operations teams on a single platform to rapidly build, deliver and scale applications with confidence.
πAzure Kubernetes Service (AKS) may be a controlled container orchestration service, maintained by the open-source Kubernetes system, which is obtainable on the Microsoft Azure public cloud.
πAzure Kubernetes Service provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
πAn organization can use AKS to deploy, scale, and handle Docker containers and container-based applications across a cluster of container hosts
Azure Kubernetes Service (AKS) Benefits:
π°π£πππ πΊπππππππππ πππππππ ππ πππππππππ’ πππππππππ π πππ ππππ π°πππ£ππ π΄ππππππ πΊπππππππππ πππππππ (π΄πΊπ) πππ πΆπππππ πΊπππππππππ π΄πππππ (πΆπΊπ΄). πΈπ ππππππ ππππππππ ππππππππ ππππ ππππππππ, ππππππππ, πππππππ, πππ ππππππππππ π°π£πππ πΊπππππππππ /π²πππππππ, π ππππ ππ ππππππππππ πππ πππππ ππ πΌππππππππ π°π£πππ. πππ ππππππππππ πππ ππππ ππππππππ πππππππ ππ’ π°πΊπ:
πEfficient resource utilization: The fully managed AKS offers easy deployment and management of containerized applications with efficient resource utilization that elastically provisions additional resources without the headache of managing the Kubernetes infrastructure.
πFaster application development: Developers spent most of the time on bug-fixing. AKS reduces the debugging time while handling patching, auto-upgrades, and self-healing and simplifies the container orchestration. It definitely saves tons of your time and developers will specialize in developing their apps while remaining more productive.
πSecurity and compliance: Cybersecurity is one of the foremost important aspects of recent applications and businesses. AKS integrates with Azure Active Directory (AD) and offers on-demand access to the users to greatly reduce threats and risks. AKS is additionally completely compliant with the standards and regulatory requirements like System and Organization Controls (SOC), HIPAA, ISO, and PCI DSS.
πQuicker development and integration: Azure Kubernetes Service (AKS) supports auto-upgrades, monitoring, and scaling and helps in minimizing the infrastructure maintenance that results in comparatively faster development and integration. It also supports provisioning additional computing resources in Serverless Kubernetes within seconds without fear about managing the Kubernetes infrastructure.
Azure Kubernetes Service Features:
πMicrosoft Azure offers Azure Kubernetes Service that simplifies managed Kubernetes cluster deployment in the public cloud environment and also manages the health and monitoring of managed Kubernetes service. Customers can create AKS clusters using the Azure portal or Azure CLI and can manage the agent nodes.
1. Open-source environment with enterprise commitment
Microsoft has inducted several employees in the last couple of years to make Kubernetes easier for the businesses and developers to use and participate in open-source projects and became the third giant contributor to make Kubernetes more business-oriented, cloud-native, and accessible by bringing the best practices and advanced learning with diverse customers and users to the Kubernetes community.
2.Nodes and clusters
In AKS, apps, and support, services are run on Kubernetes nodes and the AKS cluster is a combination of one or more than one node. And, these AKS nodes are run on Azure Virtual Machines. Nodes that are configured with the same configuration are grouped called node pools. Nodes in the Kubernetes cluster are scaled-up and scaled-down according to the resources are required in the cluster. So, nodes, clusters, and node pools are the most prominent components of your Azure Kubernetes environment.
3.Role-based access control (RBAC)
AKS easily integrates with Azure Active Directory (AD) to provide role-based access, security, and monitoring of Kubernetes architecture based on identity and group membership. You can also monitor the performance of your AKS and the apps.
4.Integration of development tools
Another important feature of AKS is the development tools such as Helm and Draft are seamlessly integrated with AKS where Azure Dev Spaces can provide a quicker and iterative Kubernetes development experience to the developers. Containers can be run and debugged directly in the Azure Kubernetes environment with less stress on the configuration
5.Removes complexities
AKS removes your implementation, installation, maintenance, and security complexities in Azure cloud architecture. It also reduces substantial costs where no per-cluster charges are being imposed on you
π²πππ πππππ’
πΉπ π€ππ ππππ£πππ€ππ€ π§ππππππ π€ππππ₯πͺ π¦π€πππ πππ‘-πππ₯πππππ ππππ π£ππ₯πππ€ πππ πΈπ«π¦π£π ππ¦πππ£πππ₯ππ€ πππ£π§πππ

Technical Story
β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 right way to solve the wrong-way problem
πBosch invests heavily in research and development (R&D), staffing more than 70,000 employees in R&D alone. These R&D staffers, along with 27,000 software and IT experts and 1,000 AI specialists, help maintain its position as Europeβs top provider of automotive solutions.
πWith headquarters in Stuttgart, Germany, Bosch has partnered closely with the worldβs automakers for decades. The company continues to develop networked safety and assistance systems that support drivers today and pave the way for fully automated driving.
πWhen the product team brainstormed the idea to solve the problem of wrong-way driving, they did not know whether it was technically possible. For such a service to work commercially, it had to locate vehicles in real-time with pinpoint precision.
πβWe were looking for a cloud option where we could run our core business logic with zero changes on top of a new infrastructure,β
πAlso, by running their solution on Azure and AKS, the average time to calculate whether a driver is going the wrong way could be improved to approximately 60 milliseconds.
πThe team was also interested in exploring other Azure services, such as solutions for managing APIs and security. βWe didnβt want to have to handle security from the outside, like a web application firewall or something like that. With Azure, we get that,β Rode says.
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.
Today the solution ingests approximately 6 million requests per day from devices emitting GPS data or from a partnerβs back-end system. Anyone can download the SDK and try it out. The APIs grant a free request quota for test accounts. For production use, service providers request permission and then use the WDW SDK to register themselves for their own API authentication keys via the Azure API Management developer portal. Within their application, they configure the serviceβs endpoints by authenticating with their key for ingress and push notifications. The WDW service on Azure does the rest.
π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.
An architecture for wrong-way driving
πThe point of ingress for the WDW service is Azure API Management, which works in combination with Azure App Gateway, a managed global load-balancing service that can perform Layer-7 routing and SSL termination. The gateway decouples clients from services and acts as a reverse proxy, routing requests from clients to services.
πBosch uses API Management to send observations to an ingress engine (sendObservationAPI) and to send push notifications to client devices (sendPushAPI). βWe use API Management like the entry door,β says Le. βIt handles quota management, authentication of customers, and also terminates HTTPS for us.β To connect the microservices inside the cluster with API Management, the WDW service uses Traefik, an open-source reverse proxy that acts as an ingress controller to ensure load balancing and dynamic discovery of the internal services by the Kubernetes API.
For years, Bosch developers had been using the Docker platform to containerize their code. For the first time, however, the WDW team hosted the Docker images in Azure Container Registry. βIt was easy, safe, and secured to the outside,β notes Le. Azure Container Registry is compatible with the open-source Docker Registry v2, so the developers could use the same Docker CLI tools they already knew.
Within the first AKS cluster, the following apps process the streaming data:
- The ingest app receives the data from the gateway and stores it in MongoDB.
- The detector app does the heavy lifting by matching the location data on a map and then making the initial decision about whether the trip is suspicious.
- The alert validator app is a post-validation component used to verify the differing road characteristics of various countries.
- The data pump is solely tasked to persist data asynchronously.
- The push registry app handles egress β the broadcast of the push notifications to the service providers. The WDW service supports Android, Google, and Apple push notifications and offers an option that service providers can use to configure custom alerts.
βWe really enjoyed having Azure on our side because we could just spin up the service and route. We can deploy the service worldwide.β
-π²ππππππππ πΉππππππ: πππππππ ππ πππ π±ππππ
Thank you for reading my articleπ
Keep Learningπ€©Keep Sharingπ€
Good Day!