CLOUD CONCEPT

Multiprotocol Label Switching (MPLS)

Multiprotocol Label Switching (MPLS) is a packet-forwarding technology that uses labels to carry traffic along established paths through a network.

Cloud Concepts Hub →

What is Multiprotocol Label Switching (MPLS)

MPLS separates packet forwarding from repeated destination-IP lookups in a provider network, supporting applications such as private wide-area networks, traffic engineering, and service isolation. In cloud architectures, it commonly provides the enterprise WAN that reaches a cloud connectivity service, rather than a protocol configured directly on cloud virtual networks.

Multiprotocol Label Switching (MPLS) forwards packets using short labels within an MPLS-enabled network. An ingress router classifies traffic into a forwarding equivalence class and applies a label. Intermediate label-switching routers use their forwarding tables to swap labels and select the next hop, while labels are removed before traffic leaves the MPLS domain. Labels have local significance rather than acting as globally unique destination addresses. Label-switched paths can follow routing-derived paths or paths selected through traffic-engineering mechanisms.

A common enterprise application is a carrier-managed MPLS Layer 3 VPN. Customer edge routers connect to provider edge routers, which maintain separate virtual routing and forwarding instances for different customers or routing domains. In a typical BGP/MPLS Layer 3 VPN, provider edge routers exchange VPN routes using multiprotocol BGP, and label stacks distinguish transport through the provider network from the destination VPN context. This supports separation over shared infrastructure, but the separation is not encryption.

In a cloud deployment, an organization might connect branches and data centers through a carrier MPLS WAN, then have that carrier deliver connectivity to AWS Direct Connect. The carrier terminates the MPLS service and presents the appropriate Ethernet and IP connectivity toward AWS. AWS Direct Connect is not itself an MPLS VPN service, and engineers do not configure MPLS labels on VPC route tables. The cloud-facing connection uses VLANs and BGP sessions on virtual interfaces, while the provider manages its own MPLS forwarding.

For example, a company with branches in several countries can use its MPLS WAN to reach a Direct Connect transit virtual interface, a Direct Connect gateway, and regional Transit Gateways. Each Transit Gateway can connect VPCs belonging to multiple AWS accounts. Transit Gateway route-table associations and propagation control which attachments can communicate. Transit Gateway peering can provide inter-Region connectivity, with routes configured for the peering path; attaching gateways to the same Direct Connect gateway does not itself create transit connectivity between them.

The routing design must work across every boundary. Branch routers need routes toward cloud prefixes, and AWS needs valid return routes toward branch prefixes. Engineers must coordinate BGP advertisements, route filtering, address allocation, and failover policy with the carrier. Overlapping address ranges can remain isolated in separate MPLS VPNs, but connecting those networks to shared cloud resources still requires address translation, renumbering, or another deliberate overlap-handling design. MPLS does not automatically solve overlapping VPC CIDRs.

MPLS services can offer managed quality-of-service classes and contractual performance targets, but these depend on the provider and purchased service. Provider QoS markings do not establish an end-to-end priority guarantee across AWS networking. Costs, provisioning lead times, carrier dependencies, and limited visibility into the provider core are important trade-offs. Private connectivity also does not imply confidentiality: use IPsec or application-layer encryption when required, and account for tunnel overhead and path MTU.

For resilience, use genuinely diverse access circuits, devices, and connection locations, rather than assuming two logical connections have independent physical paths. An internet-based Site-to-Site VPN can provide a separate backup path, subject to available bandwidth and routing policy. SD-WAN can select paths across MPLS and internet transports; it is not synonymous with MPLS. Likewise, VPC peering and Transit Gateway provide cloud routing connectivity, not an extension of the carrier's MPLS control plane.

Key aspects of Multiprotocol Label Switching (MPLS)

MPLS provides label-based transport and supports isolated WAN services, while cloud integration still requires explicit routing, segmentation, encryption decisions, and resilient connectivity.

Label-based forwarding

Ingress routers classify traffic and apply labels; transit routers forward using label operations. Labels identify forwarding behavior within the MPLS domain rather than replacing IP addressing throughout the end-to-end network.

Private routing domains

MPLS Layer 3 VPNs commonly use provider-edge VRFs and BGP VPN routes to separate customer routing. This logical isolation does not encrypt traffic or automatically authorize communication with cloud networks.

Cloud-edge handoff

A carrier can extend an enterprise MPLS WAN to a cloud interconnect location and present an Ethernet/IP handoff. Engineers configure the cloud-facing VLANs, BGP sessions, and routes rather than MPLS labels inside VPCs.

Controlled multi-account connectivity

Cloud routing hubs can distribute connectivity from an MPLS-connected WAN to VPCs across accounts and Regions. Route-table segmentation and explicit propagation policies remain necessary to prevent unintended access.

Traffic engineering and QoS

MPLS networks can support engineered paths and provider-defined traffic classes. Validate the carrier's service commitments and the behavior of each cloud segment instead of assuming uniform end-to-end QoS.

Independent security and resilience

Encryption and physical path diversity must be designed separately from MPLS forwarding. Test failover, return-path routing, and effective MTU when combining private connectivity with VPN backup.

Cloud services for Multiprotocol Label Switching (MPLS)

A carrier can carry branch traffic across its MPLS WAN to AWS Direct Connect, where the cloud-facing connection exchanges IP routes using BGP. A transit virtual interface connects through a Direct Connect gateway to regional Transit Gateways, which distribute traffic to authorized VPCs across accounts. Transit Gateway route tables enforce the intended connectivity boundaries, while peering and explicit routes enable selected inter-Region paths. Site-to-Site VPN can supply encrypted backup connectivity over an independent internet path or encryption over Direct Connect using a supported private IP VPN design. Route advertisements, return paths, address overlap, and physical diversity must be coordinated across all components.

AWS Direct Connect image AWS Direct Connect

Provides a private connectivity boundary through which a carrier can connect an enterprise MPLS WAN to AWS. The AWS-facing virtual interface uses BGP and VLAN tagging; Direct Connect does not expose a customer-configurable MPLS service.

Open AWS Direct Connect →
AWS Transit Gateway image AWS Transit Gateway

Acts as a regional routing hub for VPCs and on-premises connectivity, including traffic arriving from an MPLS WAN through Direct Connect. Shared attachments and separate route tables support multi-account connectivity and segmentation; inter-Region peering requires explicit routing.

Open AWS Transit Gateway →
AWS Site to Site VPN image AWS Site-to-Site VPN

Provides IPsec connectivity that can serve as an alternative or backup to an MPLS-connected Direct Connect path. Private IP VPN over Direct Connect can also add IPsec encryption using a transit virtual interface and Transit Gateway, but it does not create an independent physical backup path.

Open AWS Site-to-Site VPN →