Disconnected AI at the edge with Azure Stack Hub

Azure Container Registry
Azure HDInsight
Azure Kubernetes Service (AKS)
Azure Machine Learning
Azure Stack Hub

Solution ideas

This article is a solution idea. If you'd like us to expand the content with more information, such as potential use cases, alternative services, implementation considerations, or pricing guidance, let us know by providing GitHub feedback.

This article outlines a solution for using edge AI when you're disconnected from the internet. The solution uses Azure Stack Hub to move AI models to the edge.

ApacheĀ®, Apache Hadoop, Apache Spark, Apache HBase, and Apache Storm are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. No endorsement by the Apache Software Foundation is implied by the use of these marks.

Architecture

Architecture diagram that shows an AI-enabled application running at the edge with Azure Stack Hub and hybrid connectivity.

Download a Visio file of this architecture.

Dataflow

  1. Data scientists use Azure Machine Learning and an Azure HDInsight cluster to train a machine learning model. The model is containerized and put into Azure Container Registry.
  2. The model is deployed to an Azure Kubernetes Service (AKS) cluster on Azure Stack Hub.
  3. End users provide data that's scored against the model.
  4. Insights and anomalies from scoring are placed into storage for upload later.
  5. Globally relevant and compliant insights are available in a global app.
  6. Data scientists use scoring from the edge to improve the model.

Components

  • Machine Learning is a cloud-based environment that you can use to build, deploy, and manage machine learning models. With these models, you can forecast future behavior, outcomes, and trends.
  • HDInsight is a managed, full-spectrum, open-source analytics service in the cloud for enterprises. You can use open-source frameworks with HDInsight, such as Hadoop, Spark, HBase, and Storm.
  • Container Registry is a service that creates a managed registry of container images. You can use Container Registry to build, store, and manage the images. You can also use it to store containerized machine learning models.
  • AKS is a highly available, secure, and fully managed Kubernetes service. AKS makes it easy to deploy and manage containerized applications.
  • Azure Virtual Machines is an infrastructure-as-a-service (IaaS) offer. You can use Virtual Machines to deploy on-demand, scalable computing resources like Windows and Linux virtual machines.
  • Azure Storage offers highly available, scalable, secure cloud storage for data, applications, and workloads.
  • Azure Stack Hub is an extension of Azure that provides a way to run apps in an on-premises environment and deliver Azure services to your datacenter.

Scenario details

With Azure AI tools and the Azure edge and cloud platform, edge intelligence is possible. AI-enabled hybrid applications can run where your data lives, on-premises. By using Azure Stack Hub, you can bring a trained AI model to the edge and integrate it with your applications for low-latency intelligence. With this approach, you don't need to make changes in tools or processes for local applications. When you use Azure Stack Hub, you can ensure that your cloud solutions work even when you're disconnected from the internet.

This solution is for a disconnected Azure Stack Hub scenario. Because of latency or intermittent connectivity issues or regulations, you might not always be connected to Azure. In disconnected scenarios, you can process data locally and aggregate it later in Azure for further analysis. For the connected version of this scenario, see AI at the edge.

Potential use cases

You might need to deploy in a disconnected state in the following scenarios:

  • You have security or other restrictions that require you to deploy Azure Stack Hub in an environment that isn't connected to the internet.
  • You want to block data (including usage data) from being sent to Azure.
  • You want to use Azure Stack Hub purely as a private cloud solution that's deployed to your corporate intranet, and you aren't interested in hybrid scenarios.

Next steps

For more information about Azure Stack solutions, see the following resources:

For more information about solution components, see the following product documentation:

For samples, see the following resource:

For related solutions, see the following articles: