Enables you to securely expose on-prem service to the public cloud (or another on-prem environment).
- The on-prem service doesn't need any inbound ports open on the firewall
- Comparing to VPN
- it can be scoped to a single application endpoint on a single machine
- not intrusive
Two features:
- Hybrid Connections - open standard web sockets, supports both WebSocket and HTTP protocols
- WCF Relays - legacy, Windows Communication Foundation (WCF) for remote procedure calls (RPC)
- On-prem service connects to the relay service through an outbound port
- It creates a bi-directional socket for communication tied to a paricular address
- The client can then communicate with the on-prem service by sending traffic to the relay service
- The relay service then relays data to the on-prem service via the bi-directional socket dedicated to the client
An implementation of this tutorial can be found at https://github.com/garylirocks/azure-relay-demo