The 2 a.m. call that started it all
An organization runs its customer-facing applications on Azure: containers, web apps, identity services. Its core business data lives in Oracle Database on OCI, tuned over many years and not going anywhere. Every transaction between the two crosses the public internet, through VPN tunnels held together by hope and a few well-meaning scripts.
Then peak-traffic week arrives. Latency spikes. Tunnels flap. The on-call engineer gets paged at 2 a.m. while the business watches users give up and leave.
The post-mortem asks the obvious question: why is our traffic between two world-class clouds traveling the public internet at all?
It doesn't have to. Microsoft and Oracle built a purpose-made private path between their clouds: the Oracle Interconnect for Microsoft Azure. In this walkthrough, I'll tell you how it works, how to build it step by step, and the mistakes I see teams make so you can avoid them.
What is the Azure–OCI Interconnect, really?
In plain language: it is a private, low-latency, high-throughput network connection between an Azure region and an OCI region, with no public internet in between. Traffic flows over a dedicated link between the two providers' networks, typically within the same metro area, and you configure it with technology you probably already know.
Two services meet in the middle:
- Azure ExpressRoute: Microsoft's private connectivity service. You create an ExpressRoute circuit and connect it to your virtual network through a virtual network gateway.
- OCI FastConnect: Oracle's private connectivity service. You create a virtual circuit and connect it to your VCN through a Dynamic Routing Gateway (DRG).
The interconnect pairs the two. You create the circuit on one side, hand its service key to the other side, and the clouds are joined by BGP-routed private peering.
Why teams choose it
- Latency you can plan around. Because paired regions sit in the same metropolitan area, round-trip times are typically in the low single-digit milliseconds. Always measure your own pair, but this is a different universe from internet-routed VPNs.
- Predictable throughput. Dedicated bandwidth (commonly 1 or 10 Gbps) instead of internet variability.
- Security by design. Traffic stays on private paths. It does not traverse the public internet.
- Simplicity. There is no third-party network provider or colocation cage to manage for the connection itself. The two clouds handle the physical link.
- Application unlocks. Run apps in Azure while keeping Oracle Database on OCI (including Exadata), or build multicloud DR, analytics, and migration paths.
Know your regions first
The interconnect is available only between specific region pairs. Historically these include combinations such as Azure East US with OCI Ashburn, Azure UK South with OCI London, Azure Canada Central with OCI Toronto, Azure West Europe with OCI Amsterdam, Azure Japan East with OCI Tokyo, and several others across the Americas, Europe, Asia-Pacific, and beyond. The list grows over time, so always check Oracle's and Microsoft's current documentation for supported pairs before you design anything. The pair you want may decide your architecture.
The architecture at a glance
Here is the mental model I use when explaining this to teams:
- Azure side: VNet → GatewaySubnet → ExpressRoute Virtual Network Gateway → ExpressRoute circuit.
- The link: private peering between the circuit and the OCI virtual circuit, with two redundant BGP sessions.
- OCI side: FastConnect virtual circuit → Dynamic Routing Gateway (DRG) → VCN attachment → subnets.
Two BGP sessions (primary and secondary) give you built-in redundancy. For routing identity, remember these two Autonomous System Numbers: Microsoft is 12076 and Oracle is 31898. They show up in both consoles and will save you from head-scratching.
Before you start: the pre-flight checklist
I have watched more interconnect projects stall on planning than on technology. Check these before touching a console:
- Non-overlapping IP address space. Your Azure VNet CIDR and OCI VCN CIDR must not overlap. This is the number one cause of rework. Fixing it later means re-IPing workloads.
- A supported region pair with the peering location you will use.
- Two /30 subnets for BGP peering, one primary and one secondary. Plan them in advance and keep them out of any address space you use for workloads.
- A VLAN ID for the private peering, shared by both sides.
- Permissions. On Azure, rights to create ExpressRoute circuits and gateways. On OCI, rights to manage virtual circuits, DRGs, and network resources.
- Bandwidth and SKU decisions. Choose the circuit bandwidth to match your traffic, and the gateway SKU to match your throughput and zone-redundancy needs.
- Budget awareness. Review current pricing on both sides. Azure bills for the ExpressRoute circuit and gateway, and OCI has its own FastConnect and data transfer pricing. Verify the current model rather than assuming.
Step 1: Prepare the Azure network
Start with the landing zone on Azure.
- Create or choose a resource group in the Azure region paired with your OCI region.
- Create a virtual network with address space that doesn't collide with your OCI VCN.
- Add a subnet named exactly GatewaySubnet. Azure requires this name. Size it generously; a /27 or larger is a safe choice so you aren't boxed in later.
- Create an ExpressRoute virtual network gateway in that VNet. Choose a SKU appropriate to your throughput needs, and prefer a zone-redundant SKU where your region supports it, for resilience.
Gateway creation can take a while, so kick it off early and let it run while you work on the next steps.
Step 2: Create the ExpressRoute circuit
Now the heart of the Azure side.
- In the Azure portal, create a new ExpressRoute circuit.
- For the service provider, select Oracle Cloud FastConnect.
- Choose the peering location that corresponds to your region pair (it must match the OCI region you're connecting to).
- Select the bandwidth (for example 1 Gbps or 10 Gbps) and the SKU tier (Standard or Premium, depending on whether you need global reach or additional route capacity).
- Create the circuit and copy the service key.
That service key is the handshake token between the clouds. Treat it with care, and note that the circuit will show as Not provisioned until the OCI side is complete. That is expected and not an error.
Step 3: Build the OCI side
Over on Oracle Cloud Infrastructure:
- Create a DRG (Dynamic Routing Gateway) if you don't already have one.
- Attach your VCN to the DRG. Without this attachment, packets have nowhere to go inside OCI.
- Open FastConnect and choose Create connection. Select the provider Microsoft Azure: ExpressRoute.
- Create a private virtual circuit and select your DRG.
- Paste the provider service key from Azure.
- Enter your BGP details: the primary and secondary /30 subnets you planned. The tool asks for your BGP IP addresses within those ranges. Oracle's ASN is 31898 and the customer BGP ASN for the Azure side is 12076.
- Create the virtual circuit.
Once OCI provisions the virtual circuit, it will move toward a Provisioned state and begin establishing BGP.
Step 4: Configure private peering on Azure
Back in Azure, finish the handshake.
- Open your ExpressRoute circuit and confirm its provider status now shows Provisioned.
- Configure Azure private peering with the same values you used on OCI: the same primary and secondary /30 subnets, the same VLAN ID, and the peer ASN 31898 (Oracle).
- Save the peering.
This is where mismatches bite. A single wrong octet in a /30, or a different VLAN ID, and BGP will refuse to come up. Copy values from a shared design sheet, not from memory.
Step 5: Link the circuit to your VNet
With the peering configured, connect your gateway to the circuit.
- In Azure, create a Connection from the ExpressRoute virtual network gateway to the ExpressRoute circuit.
- Wait for the connection to report as Connected.
On the OCI side, the virtual circuit should now show its BGP sessions as Up.
Step 6: Routes, security, and DNS (the part everyone forgets)
A connected circuit does not mean working applications. Three details remain.
Routing
- Azure: ExpressRoute learns OCI's routes through BGP and, with route propagation enabled, they appear in your subnet effective routes. If you use custom route tables or a hub-and-spoke design, confirm that the spokes can actually reach the gateway.
- OCI: Add route rules in the subnet route tables so Azure-bound traffic (your Azure VNet CIDR) targets the DRG.
Security rules
- Azure NSGs must allow the OCI CIDR on the ports your applications use.
- OCI security lists or Network Security Groups must allow the Azure VNet CIDR in return.
Be deliberate. Open only what you need, such as the Oracle listener port for database access, rather than "any to any."
DNS
If your apps resolve names across clouds, plan DNS now. Common patterns include Azure Private DNS Resolver forwarding to OCI's private DNS resolver endpoints (and the reverse), so each cloud can resolve the other's private zones. Skipping this step leads to the classic "it pings by IP but not by name" ticket.
Step 7: Validate like you mean it
Before announcing victory, prove it.
- BGP status: Verify both the primary and secondary sessions are up in each console.
- Learned routes: Check the Azure circuit's route table and the OCI DRG route table to confirm each side sees the other's prefixes.
- Connectivity: Ping and traceroute from a test VM in Azure to a test instance in OCI, and back.
- Latency: Record round-trip times as a baseline for future troubleshooting.
- Throughput: Use a tool like iperf3 between test machines to confirm you are getting what you paid for.
- Failover: Deliberately shut down the primary path in a maintenance window and confirm traffic moves to the secondary session.
Document the results. Your future self, or whoever is on call at 2 a.m., will thank you.
Troubleshooting: the usual suspects
When things don't work, the cause is nearly always one of these:
- Circuit stuck at Not provisioned: the service key is wrong, or the peering location doesn't match the OCI region.
- BGP session won't establish: mismatched /30 subnets, VLAN ID, or ASN values between the two sides.
- BGP is up but no traffic: missing route rules in OCI, route propagation disabled in Azure, or NSG and security list blocks.
- Overlapping CIDRs: routes learn but traffic goes to the wrong place or nowhere. This requires re-addressing or NAT.
- Name resolution failures: DNS forwarding wasn't configured.
- Throughput below expectations: the gateway SKU or circuit bandwidth is too small for the workload.
Designing for production
A lab success is not a production design. Before you carry real workloads, think about:
- Resilience. The two BGP sessions give you path redundancy, but a single circuit is still a single circuit. Mission-critical designs often use multiple circuits, ideally across different peering locations or regions, along with zone-redundant gateways.
- Hub-and-spoke integration. Place the ExpressRoute gateway in your Azure hub VNet and let spokes reach OCI through peering, and use a DRG with multiple VCN attachments on the OCI side.
- Governance and cost control. Tag circuits, monitor utilization, and right-size bandwidth rather than overbuying.
- Observability. Use Azure Monitor (including connection monitoring for ExpressRoute) alongside OCI monitoring and alarms on virtual circuit state and BGP status.
- Security layers. Private connectivity is not a substitute for application-layer security. Keep encryption in transit (TLS, Oracle Net encryption) where compliance requires it.
What can you build on top of it?
Once the network is in place, interesting architectures open up:
- Apps on Azure, data on OCI. Keep Oracle Database or Exadata where it performs best while front ends and microservices run on Azure.
- Multicloud disaster recovery. Replicate across clouds for a recovery posture that no single provider outage can take down.
- Analytics and AI. Combine Azure's analytics and AI services with data sitting in Oracle systems, without moving everything.
- Phased migrations. Move applications between clouds gradually, with private connectivity carrying traffic during the transition.
If your goal is to consume Oracle Database services inside Azure itself, also look at Oracle Database@Azure, which places Oracle database infrastructure in Azure datacenters. It is a different model from the interconnect, and the right choice depends on latency, operations, and procurement preferences. Both are worth understanding.
Key takeaways
- The Azure–OCI interconnect pairs ExpressRoute and FastConnect for private, low-latency multicloud connectivity.
- Plan first: supported region pair, non-overlapping CIDRs, two /30 subnets, one VLAN ID.
- Build in order: Azure VNet and gateway, ExpressRoute circuit, OCI DRG and virtual circuit, Azure private peering, gateway connection.
- Don't forget routes, security rules, and DNS. That's where most "it's connected but broken" tickets live.
- Validate and test failover before production traffic arrives.