Oracle Database@AWS: Connecting AWS Applications with Exadata
AWS application integration

Oracle Database@AWS: Connecting AWS Applications with Exadata

On Oracle AI Database@AWS the Exadata VM cluster lives in its own ODB network, not in your VPC. Every application, whether it runs on EC2, in an EKS pod, in a Lambda function or on premises, reaches the database through a deliberate network path. This post shows those paths, what each one needs and how to choose between them.

Exadata Multi-Cloud Series · AWS Application Integration
EC2 EKS Lambda On-prem ODB peering
On this page
  1. 01 · The Network Is the Integration
  2. 02 · Building Blocks: ODB Network and ODB Peering
  3. 03 · A Reference Topology
  4. 04 · Connection Paths in Practice
  5. 05 · DNS and Name Resolution
  6. 06 · Security Controls on Each Layer
  7. 07 · Choosing a Connectivity Pattern
  8. 08 · Beyond SQL*Net: AWS Service Integrations
  9. 09 · Key Takeaways
  10. 10 · Frequently Asked Questions

01 · The Network Is the Integration

Integration brief · AWS applications talking to Exadata

"The database is provisioned. Why can't the app connect?"

It is the most common first-week ticket on Oracle AI Database@AWS (launched as Oracle Database@AWS, GA July 2025). The Exadata VM cluster is up, the DBA can log in from the OCI console, and the application team's EC2 instances time out on port 1521. Nothing is broken. The database simply lives in an ODB network, a dedicated network that belongs to the Database@AWS service, and nothing reaches it until you connect a VPC, add routes, open security groups and make the host names resolvable.

That design is deliberate. It keeps the Exadata client and backup networks isolated, lets Oracle operate the infrastructure without touching your VPCs, and gives you explicit control over which applications can reach which database. The price is that connectivity becomes a design task. Done well, AWS applications get same-data-center latency to Exadata; done badly, they get timeouts, asymmetric routes and DNS failures.

01The Exadata VM cluster sits in an ODB network with its own client and backup CIDRs, inside one AWS Availability Zone.
02ODB peering connects the ODB network to your VPCs; transit options such as AWS Transit Gateway extend reach to more VPCs and on premises where supported.
03Every path needs four things: routes, security group rules, DNS resolution and a correct connect string.

02 · Building Blocks: ODB Network and ODB Peering

Answer: An ODB network is the private network the Oracle Database@AWS service creates for Exadata, with a client subnet for SQL*Net traffic and a backup subnet for backups. ODB peering is the connection that links an ODB network to a customer VPC so that routed traffic can flow between them.

When you create an ODB network in the AWS console, CLI or CloudFormation, you choose the Availability Zone and two CIDR ranges: one for the client subnet, where the VM cluster's client VNICs, virtual IPs and SCAN listeners live, and one for the backup subnet. The Exadata infrastructure and the VM cluster are then created into that ODB network. None of these addresses are inside your VPC, so you cannot simply attach an EC2 instance to them.

ODB peering behaves much like VPC peering from the application's point of view. You create the peering between the ODB network and a VPC, add a route for the client CIDR in the VPC route tables, and open the database ports in security groups. Traffic stays on the AWS network inside the region. As with VPC peering, plan as if peering is not transitive: a VPC peered to the ODB network does not automatically give other VPCs or on-premises networks a path.

Component Where it lives What you configure
ODB network Database@AWS service, one Availability Zone Client CIDR, backup CIDR, DNS settings
Client subnet Inside the ODB network Hosts VM cluster VNICs, VIPs and SCAN listeners
Backup subnet Inside the ODB network Used for backups, for example to Amazon S3
ODB peering Between ODB network and a VPC Peering, VPC route table entries
Security groups On application ENIs in your VPCs Egress to client CIDR on 1521 and 2484
Transit options AWS Transit Gateway or AWS Cloud WAN Attachments and route tables, where supported
Plan CIDRs before anything elseThe client and backup CIDRs must not overlap any VPC, on-premises range or other ODB network that will ever need to reach them. Overlaps cannot be fixed with routing later; they force a rebuild of the network and the VM cluster.

03 · A Reference Topology

Answer: A typical design peers the main application VPC directly to the ODB network for the lowest latency, connects other VPCs and on-premises networks through a transit hub, resolves database host names through Route 53 Resolver, and sends backups and telemetry to Amazon S3 and CloudWatch.

The topology below brings the pieces together in one AWS region. App VPC A holds EC2 and EKS workloads and is peered straight to the ODB network. App VPC B, which runs Lambda functions and batch jobs, reaches the database through a transit hub, as does the corporate data center over AWS Direct Connect. Route 53 Resolver answers queries for the database domain. On the right, the database writes backups to Amazon S3, feeds Amazon Redshift through zero-ETL and publishes metrics and events to CloudWatch and EventBridge.

AWS Applications to Exadata Through the ODB Network AWS region App VPC A (ODB peering) App VPC B (via transit) ODB network (one AZ) On-premises Client subnet Backup subnet EC2 apps Auto Scaling group EKS pods VPC CNI IPs SG: egress 1521 / 2484 Lambda VPC-attached Batch EC2 Route 53 Resolver rules Transit hub TGW or Cloud WAN ODB peering VM node 1 VM node 2 SCAN listeners :1521 / :2484 Automatic backups CloudWatch EventBridge, CloudTrail Amazon S3 Backups Redshift Zero-ETL Corporate DC Users, ETL, legacy apps Direct Connect App to database (SQL*Net) On-premises via Direct Connect Backups and zero-ETL DNS and telemetry
Figure 1 · AWS application VPCs, transit hub and on-premises network reaching the Exadata VM cluster in an ODB network

Follow the blue arrows: only the peered VPC has a direct hop to the ODB network, while everything else goes through the transit hub. The yellow tag on VPC A is the security group rule teams forget most often: outbound access to the client CIDR on 1521 and 2484.

Sizing the address plan

Range Purpose Planning tip
ODB client CIDR VM cluster VNICs, VIPs, SCAN IPs Leave room for more VM clusters and nodes later
ODB backup CIDR Backup traffic Keep separate from client; never route it to apps
App VPC CIDRs EC2, EKS pods, Lambda ENIs EKS with VPC CNI consumes many IPs; size subnets generously
On-premises ranges Users, ETL, legacy apps Reserve and document before creating the ODB network

04 · Connection Paths in Practice

Answer: EC2 in a peered VPC needs a route and a security group rule. EKS pods need routable pod IPs and pod or node security groups. Lambda needs VPC attachment, a route and connection pooling. On-premises clients need Direct Connect or VPN into a transit hub that routes to the ODB network, plus DNS forwarding.

The four examples below cover most AWS workloads. Each lane shows the hops a connection takes from the caller to the SCAN listener, and the box on the right lists what has to be in place for that path to work. Use it as a checklist when an application team asks for access.

Four Ways to Reach the SCAN Listener Hops from caller to database What this path needs EC2 in peered VPC EC2 instance VPC route: client CIDR to peering ODB peering SCAN :1521 / :2484 Route table entry; SG egress 1521/2484; SCAN name resolves EKS pod Pod with VPC CNI IP Node or pod security group ODB peering SCAN :1521 / :2484 Pod subnets routed; SG for pods; CoreDNS resolves DB domain; wallet as Secret Lambda function Lambda in private subnets ENI + security group Peering or transit hub SCAN + DRCP pool VPC attachment; small pool per environment; secrets from Secrets Manager On-premises app On-premises client Direct Connect or VPN Transit hub (TGW) SCAN :1521 / :2484 No CIDR overlap; BGP routes advertised; DNS forwarder to Resolver inbound The last hop is always the same. Everything that differs sits on the AWS side of the path.
Figure 2 · Four connection paths from AWS and on-premises callers to the Exadata SCAN listener

Notice that the last hop is identical in every lane: the SCAN listener on 1521 or 2484 in the client subnet. Everything that differs sits on the AWS side, which is why most connectivity issues are solved by the cloud team rather than the DBA team.

A connect string that survives failover

Use the SCAN name, not node IPs, and include retry settings so that a RAC node restart or Data Guard role change does not surface as an application error. Port 2484 with TCPS adds TLS on the wire.

ORDERS_TP =
  (DESCRIPTION =
    (CONNECT_TIMEOUT=5)(TRANSPORT_CONNECT_TIMEOUT=3)(RETRY_COUNT=3)(RETRY_DELAY=2)
    (ADDRESS = (PROTOCOL = TCPS)(HOST = <scan-host-name>)(PORT = 2484))
    (CONNECT_DATA = (SERVICE_NAME = orders_tp.<db-domain>)))

# Quick checks from an application host
nc -vz <scan-host-name> 1521
sqlplus app_user@ORDERS_TP

For Lambda, the main risk is connection storms: hundreds of concurrent invocations each opening a session. Keep a pool per execution environment, set a low maximum, and consider Database Resident Connection Pooling (DRCP) on the database side. The python-oracledb driver in thin mode needs no Oracle Client libraries, which keeps Lambda packages small.

05 · DNS and Name Resolution

Answer: Applications should connect by SCAN host name, so the VPCs and on-premises networks that reach the database must be able to resolve the ODB network's DNS domain. In AWS this is typically done with Route 53 Resolver rules or private hosted zone associations, and on premises with conditional forwarding to a Route 53 Resolver inbound endpoint.

The VM cluster registers its SCAN and VIP names in a private DNS domain that belongs to the ODB network. Peering gives you a network path but not necessarily name resolution. Check how your ODB network's DNS is exposed, then make sure every caller resolves it:

  1. Find the names. Read the SCAN DNS name and domain from the VM cluster details in the AWS or OCI console.
  2. Resolve from the peered VPC. From an EC2 instance, run dig <scan-host-name>. It should return the SCAN IPs in the client CIDR.
  3. Extend to other VPCs. Share the resolution through Route 53 Resolver rules or private hosted zone associations, ideally centrally from a shared services account.
  4. Extend to on premises. Create a Route 53 Resolver inbound endpoint and a conditional forwarder for the database domain on your corporate DNS servers.
  5. Test from Kubernetes. EKS pods use CoreDNS, which forwards to the VPC resolver. Confirm resolution from inside a pod, not only from the node.

06 · Security Controls on Each Layer

Answer: Control access in layers: AWS IAM decides who can create and change Database@AWS resources, VPC route tables and security groups decide which workloads have a network path, the database's own network rules and listener decide what reaches the VM cluster, and database users, roles and TLS protect the session.

Because the ODB network is separate from your VPCs, you have two sides to secure. On the AWS side you use familiar tools. On the database side, the VM cluster's network access rules are managed through the service, and Oracle Database security works exactly as it does anywhere else.

Layer Control Typical rule
Resource management AWS IAM policies, CloudTrail Only the platform team can create ODB networks and peering
Network path Peering, Transit Gateway route tables Only approved VPCs have a route to the client CIDR
Workload egress Security groups, network ACLs App security group allows TCP 1521 and 2484 to the client CIDR
Database network VM cluster network access rules Allow only known application CIDRs
Session TLS on 2484, database users, roles Separate users per application, no shared admin accounts
Secrets AWS Secrets Manager Passwords and wallets retrieved at runtime, rotated
Do not route the backup subnet to applicationsThe backup CIDR exists for backup traffic. Keep it out of application route tables and security group rules so that a compromised application host has no path to backup traffic.

07 · Choosing a Connectivity Pattern

Answer: Use direct ODB peering for one or a few application VPCs in the same region. Use a transit hub (AWS Transit Gateway or Cloud WAN, where supported) for many VPCs, multiple accounts and on-premises access. For other regions, prefer a local replica over long-haul SQL*Net, and for pure analytics prefer zero-ETL to Amazon Redshift.

The decision diagram puts the caller in the centre and shows the six situations that come up most often, each with the pattern that fits it. Start from where the caller runs and how many networks are involved, then follow the matching spoke.

Which Connectivity Pattern Fits the Caller? Where does the caller run, and how many networks? One or two app VPCs in the same region ODB peering per VPC Lowest latency, simplest Many VPCs or several AWS accounts Transit Gateway or Cloud WAN Where supported; central routes Lambda or bursty serverless callers VPC subnets + DRCP pooling Avoid connection storms On-premises users, ETL or apps Direct Connect to transit hub VPN as backup path Apps in another AWS region Local replica, not long SQL*Net Data Guard or GoldenGate copy Analytics and reporting only Zero-ETL to Amazon Redshift Keep scans off the OLTP DB Patterns combine: peer the main app VPC directly and add a transit hub for everything else.
Figure 3 · Six caller situations and the connectivity pattern that fits each one

The patterns are not exclusive. Many estates peer the main application VPC directly for the lowest latency and add a transit hub for everything else. The important rule is to avoid accidental paths: every route to the client CIDR should be one that someone designed and approved.

08 · Beyond SQL*Net: AWS Service Integrations

Connectivity is not only about applications sending SQL. Oracle and AWS name several native integrations for Oracle AI Database@AWS that reduce the custom plumbing you would otherwise build:

  1. Zero-ETL to Amazon Redshift. Replicate operational data into Redshift for analytics without building and running your own pipelines.
  2. Amazon S3 for backups. Send automatic database backups to S3 through the backup subnet.
  3. Amazon CloudWatch and AWS CloudTrail. Metrics and logs for the database service in CloudWatch, and an audit trail of API calls in CloudTrail.
  4. Amazon EventBridge. React to lifecycle events, such as maintenance or scaling, with rules and automation.
  5. AWS CloudFormation and IAM. Define ODB networks, peering and clusters as code, and control who may change them.
  6. Amazon VPC Lattice. Listed among the integrations for service-to-service connectivity; check the current documentation for supported directions and services in your region.

Oracle AI Database@AWS was listed in more than 20 AWS regions in 2026, and features arrive region by region. Confirm each integration in your region before you build on it.

On Database@AWS the database is never in your VPC. Design the path to it as carefully as the schema inside it.

09 · Key Takeaways

  1. Exadata lives in an ODB network, not your VPC. Client and backup CIDRs in one Availability Zone, reached only through paths you build.
  2. ODB peering is the low-latency default. Peer the main application VPC directly; treat peering as non-transitive.
  3. Use a transit hub for scale. Transit Gateway or Cloud WAN, where supported, for many VPCs, accounts and Direct Connect from on premises.
  4. Routes, security groups, DNS, connect string. Every path needs all four; DNS and missing egress rules cause most first-week failures.
  5. Use the native integrations. Zero-ETL to Redshift, S3 backups, CloudWatch, EventBridge and CloudFormation reduce custom plumbing.

10 · Frequently Asked Questions

What is an ODB network in Oracle Database@AWS?

An ODB network is the private network that the Oracle Database@AWS service creates for Exadata in one Availability Zone. It has a client subnet for application traffic and a backup subnet for backups, with CIDR ranges you choose when you create it.

How do EC2 applications connect to Exadata on Oracle Database@AWS?

Create an ODB peering connection between the ODB network and the application VPC, add a route to the client CIDR in the VPC route tables, allow outbound TCP 1521 or 2484 in the security groups, make the SCAN name resolvable and connect with the SCAN host name and service name.

Can EKS pods and Lambda functions reach Exadata on AWS?

Yes. EKS pods with VPC-routable IPs connect like EC2 once routes, security groups and DNS are in place. Lambda functions must be attached to VPC subnets that have a route to the ODB network, and should use connection pooling to avoid connection storms.

How do on-premises applications reach Oracle Database@AWS?

Use AWS Direct Connect or Site-to-Site VPN into a transit hub such as AWS Transit Gateway that routes to the ODB network where supported, and forward the database DNS domain from corporate DNS to a Route 53 Resolver inbound endpoint.

Which ports does Exadata use for application connections?

SQL*Net uses TCP 1521 on the SCAN listeners, and TCPS with TLS uses TCP 2484. Allow only these ports from approved application networks to the client subnet.

About the author. ExaGuru Oracle Cloud architects design and run Exadata, ExaCC and multi-cloud Oracle estates for enterprise customers, and teach the same architectures in live, hands-on labs.

Learn this hands-on

Practice Exadata, OCI and multi-cloud architectures in live labs with a practicing consultant.