Hybrid Connection

Solution Idea

If you'd like to see us expand this article with more information (implementation details, pricing guidance, code examples, etc), let us know with GitHub Feedback!

Azure Stack enables you to deploy Azure services on-premises or in the cloud with a consistent application logic, development paradigm, and operations methodology.

Hybrid cloud applications are a single system that has components running in both Azure and Azure Stack. This solution blueprint is relevant to establishing connectivity for any application that involves communications between the Azure public cloud and on-premises Azure Stack components. Hybrid connectivity is a foundational blueprint that will be applicable to most Azure Stack solutions.

Note: This doesn't apply to Azure Stack deployments that are disconnected from the public internet.


Architecture diagram Download an SVG of this architecture.

Data Flow

  1. Deploy a virtual network in Azure and Azure Stack.
  2. Deploy a virtual network gateway in Azure and Azure Stack.
  3. Deploy virtual machines in each virtual network.
  4. Establish a VPN connection over the public internet between the network gateways.


  • Virtual Network: Provision private networks, optionally connect to on-premises datacenters.
  • Virtual Network Gateway: Learn how to configure VPN Gateway, a virtual private network gateway.
  • Virtual Machines: Provision Windows and Linux virtual machines in seconds.
  • Azure Stack is a hybrid cloud platform that lets you use Azure services on-premises.

Next steps