Oracle Cloud Infrastructure (OCI) is Oracle's cloud platform offering compute, storage, database, networking, and security services. It is designed for enterprise workloads needing high performance, security, and compliance at a global scale.
- OCI has multiple Regions around the world
- A Region is a separate geographic area with independent infrastructure
- Choose based on latency, compliance, and business needs
- Examples: us-ashburn-1, eu-frankfurt-1, ap-mumbai-1, ap-sydney-1
- Each Region contains multiple ADs
- ADs are physically separate data centers within the Region
- Interconnected with high-bandwidth, low-latency network
- Each AD contains multiple Fault Domains
- FDs are isolated from each other to ensure fault isolation
- Distribute resources across FDs for high availability
- Brings OCI capabilities closer to users
- Includes: OCI DNS, CDN, WAF, Load Balancing
- Improves performance, availability, and security globally
- Region β multiple Availability Domains
- Availability Domain β multiple Fault Domains
- Fault Domains provide isolation within an AD
- Distribute resources across FDs and ADs
- Deploy resources across multiple ADs and Fault Domains
- Use OCI services like Load Balancer, DNS, CDN, WAF
- Choose Region based on users, compliance, and data residency
An individual who signs in to OCI. Users belong to one or more groups.
A collection of users. Permissions are assigned to groups, not individual users.
A way to organize and isolate resources in a tenancy. They form a hierarchy (root at top).
Rules that define what groups (or dynamic groups) can do on which resources.
Groups that contain resources (like instances) based on matching rules (tags, lifecycle state).
Adds an extra layer of security at sign-in using a second factor (e.g., authenticator app).
Allow = action type Β· group Developers = who Β· manage instances = what Β· compartment App = where
- Policies evaluated at authorization time
- Permissions flow down the compartment hierarchy
- Deny is implicit β if no policy allows it, access is denied
- Use groups, not individual users, in policies
- Organize tenancy with a clear compartment strategy
- Use dynamic groups for resource-based use cases
- Enforce MFA for all users
- Follow least privilege: grant only what is needed
- Review and audit policies regularly
Define the CPU, memory, and network resources of the instance.
Examples: VM.Standard.E4.Flex, VM.Standard3.Flex, BM.Standard.E4
Templates that include the OS and pre-installed software to boot the instance.
Examples: Oracle Linux, Ubuntu, Windows Server, Marketplace Images
Provide secure access. Public key added at launch; private key kept with you.
Virtual firewalls controlling inbound/outbound traffic at the VNIC level.
Optional. Allows internet access to your instance. Can be assigned at launch or later.
Instance is placed in a subnet within a Virtual Cloud Network for network isolation.
| Feature | Virtual Machines | Bare Metal |
|---|---|---|
| Infrastructure | Virtualized (OCI) | Dedicated physical |
| Tenancy | Shared hosts | Your tenancy only |
| Performance | High, flexible | Ultra-high |
| Virt Layer | Yes | None |
| Best For | General workloads | HPC, SW licensing |
| Scaling | Quick & easy | Manual |
- Use least-privilege NSG rules
- Access via SSH keys, not passwords
- Keep OS and software up to date
- Use Flexible Shapes to optimize cost
- Monitor instances and set alarms
- Store/retrieve data as objects
- Highly durable and scalable
- Use: objects, backups, data lakes
- Access: REST API / SDK / CLI
- Raw block storage attached to compute instance
- Low latency and high performance
- Use: compute storage, high performance workloads, databases
- Managed NFS file system
- Shared access over NFS
- Use: shared NFS files, lift-and-shift, content repos
- Long-term data retention
- Infrequent access
- Use: compliance archives, historical data
- Cost: Very Low
| Criteria | Object Storage | Block Volume | File Storage | Archive Storage |
|---|---|---|---|---|
| Type | Object | Block | File (NFS) | Archive |
| Access | REST API / SDK / CLI | Attached to compute | NFS (v3) | REST API / SDK / CLI |
| Performance | High throughput, large sequential | Low latency, High IOPS | Moderate, good for shared | Low (infrequent) |
| Cost | Low | Moderate | Moderate | Very Low |
- Use Object Storage for unstructured data at scale
- Use Block Volumes for latency-sensitive workloads
- Use File Storage for shared data across instances
- Use Archive Storage for data you rarely need but must keep
- Your isolated, private network in OCI
- You define the IP address range (CIDR)
- Contains subnets, route tables, gateways, security rules
- Horizontally scaled, redundant, highly available
- Enables communication between VCN and Internet
- Defines where network traffic is directed
- Subnets reference a route table to determine next hop
- Allows private subnet resources to connect outbound
- Prevents unsolicited inbound connections
Has a route to an Internet Gateway. Resources can be reached from the Internet.
No direct route to Internet Gateway. Resources are not reachable from the Internet.
| Prefix | Usable IPs (approx.) | Example |
|---|---|---|
| /16 | 65,534 | 10.0.0.0/16 |
| /24 | 254 | 10.0.1.0/24 |
| /26 | 62 | 10.0.1.0/26 |
| /28 | 14 | 10.0.1.0/28 |
| /32 | 1 | 10.0.1.10/32 |
- Inbound public: Internet β Internet Gateway β Public Subnet β Resource
- Outbound private: Private Subnet β NAT Gateway β Internet Gateway β Internet
- VCN local: Stays within 10.0.0.0/16 (uses Local route)
Use public subnets for internet-facing resources. Use private subnets for backend workloads. Route tables + gateways make it work!
- Distributes incoming traffic across healthy backend instances
- Improves availability, reliability and scalability
- Performs health checks and removes unhealthy instances
- Single entry point for applications
- Operates at Layer 7 (HTTP/HTTPS)
- Advanced routing: Path-based, Host-based, Header-based
- SSL/TLS offload, WAF, URL rewrite
- Ideal for modern web applications
- Operates at Layer 4 (TCP/UDP)
- High performance and low latency
- Supports connection draining, source IP preservation
- Ideal for high-throughput applications and APIs
- Automatically adjusts the number of instances in the pool
- Based on Monitoring metrics and Alarm thresholds
- Scale out when load increases, scale in when load decreases
| Aspect | Flexible Load Balancer | Network Load Balancer |
|---|---|---|
| Layer | Layer 7 (Application) | Layer 4 (Transport) |
| Use Case | Web apps, APIs, HTTP/HTTPS | High performance, TCP/UDP |
| Routing | Path, Host, Header-based | IP address, Port (L4) |
| Performance | Optimized for features | Ultra-high performance |
| TLS | TLS termination supported | TLS pass-through only |
- Use Flexible LB for Layer 7 features
- Use Network LB for maximum performance
- Always use Instance Pools across Fault Domains
- Autoscaling + Health Checks = Resilient Apps
- Enable Health Checks on the backend
- Set appropriate Alarm thresholds
- Distribute instances across all Fault Domains
- Regularly review Monitoring and scaling policies
- Translates domain names to IP addresses
- OCI DNS is global, highly available, authoritative
- Foundation for name resolution and traffic management
- Container for your domain and records
- Types: Primary Zone (Read/Write), Secondary Zone (Read-Only)
- Zones are replicated globally by OCI
- A β IPv4 address
- AAAA β IPv6 address
- CNAME β Alias
- MX β Mail exchange
- TXT β Text record
- Monitor health of application endpoints
- Protocols: HTTP, HTTPS, TCP (ping), and more
- Results used for traffic steering decisions
Domain Flow (End-to-End)
- OCI DNS is authoritative and global
- Zones hold your domains and records
- Health checks power intelligent traffic steering
- Traffic Management improves availability and UX
- Use appropriate record types for each need
- Enable Health Checks for critical endpoints
- Use Geolocation, Failover, and Load Balancing together
- Monitor health and review policies regularly