Azure News - 2026-05-15

2026-05-15
最終更新: 2026-08-27 21:13:50 JST

Azure Infrastructure Blog

Modernizing TCP Applications with Azure Application Gateway Layer 4 TCP/TLS Proxy

詳細を表示

Why TCP/TLS Proxy Matters

Modern cloud architectures commonly focus on HTTP/HTTPS traffic management, but many enterprise systems still rely on:

  • Proprietary TCP protocols
  • Financial transaction systems
  • Messaging platforms
  • Legacy middleware applications
  • Secure client-server communication

Traditionally, these workloads often required:

  • Network Virtual Appliances (NVAs)
  • Hardware load balancers
  • Custom reverse proxy solutions
  • Dedicated TCP ingress infrastructure

Managing these components across large environments can increase operational complexity and infrastructure maintenance overhead.

The Layer 4 proxy capability in Azure Application Gateway helps organizations standardize ingress management for both HTTP and non-HTTP workloads using Azure-native services.

 

Understanding Layer 4 TCP/TLS Proxy

Layer 7 vs Layer 4 Traffic Management

Layer 7 (HTTP/HTTPS)

Layer 7 routing focuses on application-aware traffic handling such as:

  • URL-based routing
  • Header inspection
  • Cookie affinity
  • Web Application Firewall policies

Layer 4 (TCP/TLS)

Layer 4 proxy focuses on connection-level traffic handling including:

  • TCP traffic forwarding
  • TLS traffic pass-through
  • Port-based routing
  • Backend load distribution

This approach is useful for applications that do not use HTTP protocols but still require centralized ingress architecture.

 

Key Feature Capabilities

TCP and TLS Traffic Support

The Layer 4 proxy capability supports:

  • TCP listeners
  • TLS listeners
  • Secure traffic forwarding
  • Backend connection management

This enables organizations to expose non-HTTP workloads through a centralized ingress layer.

TLS Pass-Through Support

In TLS pass-through scenarios, encrypted traffic remains encrypted between the client and backend application.

Potential advantages include:

  • End-to-end encryption support
  • Backend-managed certificate ownership
  • Reduced application-layer processing at ingress

This model can be useful for applications with strict encryption or compliance requirements.

Proxy Protocol v1 Support

One important capability available in TCP/TLS backend settings is support for Proxy Protocol v1.

Proxy Protocol v1 helps pass original client connection information to backend applications, including:

  • Source IP address
  • Destination IP address
  • Source port
  • Destination port

This capability can be valuable for:

  • Backend logging and auditing
  • Security analysis
  • Connection tracing
  • Applications requiring client IP visibility

Without Proxy Protocol support, backend applications may only see the Application Gateway frontend IP rather than the original client source.

When enabling Proxy Protocol v1, backend applications must also support parsing the Proxy Protocol header. Organizations should validate application compatibility before enabling this setting in production environments.

Backend Pool Integration

Layer 4 proxy supports backend pool integration with:

  • Virtual machines
  • Virtual machine scale sets
  • IP-based backends
  • Kubernetes workloads hosted on Azure Kubernetes Service

This flexibility allows organizations to standardize ingress architecture across different workload types.

 

Common Enterprise Use Cases

Legacy Application Modernization

Organizations migrating traditional applications to Azure may need TCP ingress without redesigning application communication protocols.

Kubernetes TCP Workloads

Applications running on Azure Kubernetes Service frequently expose TCP services such as:

  • Messaging brokers
  • Database endpoints
  • Streaming services
  • Proprietary application protocols

Layer 4 proxy can help centralize ingress management for these workloads.

Secure TLS Pass-Through

Some enterprise applications require end-to-end encryption where TLS termination remains on backend services rather than the ingress layer.

Hybrid Connectivity Patterns

Enterprises integrating on-premises applications with Azure workloads may also benefit from centralized TCP traffic management.

 

Architecture Pattern

A typical architecture pattern includes:

  1. Client application initiates TCP/TLS connection
  2. Azure Application Gateway receives inbound traffic
  3. Layer 4 listener forwards traffic to backend pool
  4. Backend applications process TCP traffic
  5. Traffic routing is managed based on backend availability

Core Azure services commonly involved:

  • Azure Application Gateway
  • Azure Kubernetes Service
  • Azure Virtual Network

Benefits of Azure-Native TCP Ingress

Potential advantages of using Azure-native Layer 4 ingress include:

AreaPotential Benefit
OperationsReduced infrastructure management overhead
ScalabilityManaged platform scaling capabilities
ArchitectureCentralized ingress management
IntegrationNative Azure networking compatibility
AvailabilitySupport for resilient deployment patterns

 

Key Recommendations

When implementing Layer 4 TCP/TLS proxy:

  • Validate backend application compatibility with Proxy Protocol v1 if enabled
  • Monitor long-lived TCP connections
  • Test backend scaling scenarios
  • Validate TLS handling requirements before deployment
  • Align ingress architecture with application connectivity requirements

For enterprise deployments, organizations should also evaluate:

  • Disaster recovery requirements
  • Capacity planning
  • Operational support models

Azure SDK Blog

From beta to stable: Announcing the Azure SDK for Rust 🎉🦀

Announcing the stable release of the Azure SDK for Rust. This release includes stable libraries for Core, Identity, Key Vault (Secrets, Keys, Certificates), and Storage (Blobs, Queues).

The post From beta to stable: Announcing the Azure SDK for Rust 🎉🦀 appeared first on Azure SDK Blog.

Exponential backoff and circuit breaker for Service Bus-triggered Azure Functions

Use exponential backoff and circuit breaker patterns in Azure Functions with Service Bus SDK bindings. Control retry storms, protect dependencies, and degrade gracefully under transient failures.

The post Exponential backoff and circuit breaker for Service Bus-triggered Azure Functions appeared first on Azure SDK Blog.