Skip to main content

Virtual Private Cloud (VPC) Networking

Okustera Virtual Private Cloud (VPC) Networking delivers isolated, software-defined virtual networks with distributed routing, stateful micro-segmentation, private service endpoints, and elastic public IP addressing.

Every customer project operates inside its own logically isolated network fabric, enabling engineering teams to build multi-tier VPC topologies, define granular firewall rules, peer VPCs privately, and route ingress traffic cleanly through managed gateways.

Okustera Virtual Private Cloud (VPC) & Multi-Tier Networking Console


Key Capabilities​

  • Multi-Tier Tenant VPC: Declarative VPC topologies with automated subnet tiering (public DMZ, private Application Tier, and isolated Database Tier).
  • Managed SNAT & Internet Gateway (IGW): Automated external gateway attachment for Public DMZ subnets and high-throughput distributed SNAT for outbound traffic from Private Application subnets.
  • Air-Gapped Isolated Data Tier: Strict intra-VPC routing for Managed Databases (relational, in-memory cache, and vector stores) with zero direct internet ingress or egress routes.
  • Line-Rate VPC Peering: Private point-to-point inter-VPC connectivity with mutual handshake authorization and zero NAT encapsulation overhead.
  • Zero-Egress VPC PrivateLink: Private interface endpoints inside your VPC subnets for direct, private access to S3 Object Storage (com.okustera.s3), Universal Artifact Registry (com.okustera.registry), Managed Databases (com.okustera.dbaas), and AI Model Foundry (com.okustera.ai).
  • Integrated Managed Load Balancers: Deploy high-availability Layer 4/7 load balancers inside the Public DMZ in one click, directing external traffic to private application instances.
  • Stateful Security Groups: Distributed, stateful firewall policies enforced directly at every virtual network interface (vNIC).
  • Elastic Floating IPs: Public static IPv4 addresses dynamically attached and detached across compute instances or load balancer VIPs.

VPC Architecture for Tenants​


Managing Networking in the Cloud Portal​

The Okustera Cloud Portal (/network) provides visual management across three primary sections:

1. Tenant VPCs​

  • 1-Click VPC Wizard: Click 1-Click VPC Wizard, provide a VPC name, base CIDR (e.g., 192.168.0.0/16), and topology preset (three_tier_standard). Okustera automatically provisions:
    • Public DMZ: /24 subnet attached to the Internet Gateway.
    • Private App Tier: /24 subnet with managed outbound SNAT.
    • Isolated Database Tier: /24 subnet strictly air-gapped from the public internet.
    • Optional PrivateLink Endpoints for Object Storage and AI Model Foundry.
  • Visual Multi-Tier Topology Canvas: Interactive topology view showing subnet tiers, live instance counts, and active Load Balancer VIPs.
  • Custom Route Tables: Create route tables, define static routes for peering hops or virtual firewall appliances, and associate route tables directly with individual subnets—changes take effect automatically across the VPC datapath.
  • VPC Peering: Initiate point-to-point peering requests with other VPCs or accept incoming invitations. Accepted peerings automatically configure bidirectional routing between both VPCs.
  • PrivateLink Endpoints & Automated Split-Horizon DNS: Attach private service endpoints (com.okustera.s3, com.okustera.ai, com.okustera.registry, com.okustera.dbaas) inside your VPC. Provisioning an endpoint automatically creates split-horizon internal. DNS records (s3.internal., ai.internal., registry.internal., dbaas.internal.) scoped to your VPC.
  • Load Balancers Sub-Tab: Deploy high-availability Managed Load Balancers directly into the Public DMZ subnet in one click.

2. Security Groups & Floating IPs​

  • Manage stateful Layer 4 ingress and egress security group rules and allocate public Floating IPs (including optional custom DNS bindings).

3. Authoritative DNS Zones​

  • Interactive DNS Zone & Recordset Editor: Create authoritative PRIMARY and SECONDARY DNS zones, manage standard DNS recordsets (A, AAAA, CNAME, MX, TXT, SRV, PTR, NS, CAA), and execute 1-click Load Balancer VIP bindings with automatic reverse DNS (PTR) synthesis. See Authoritative DNS (/cloud/dns) for full details.

Declarative Configuration via Terraform​

# 1. Provision a Multi-Tier Tenant VPC
resource "okustera_vpc" "production" {
name = "production-vpc"
cidr_block = "192.168.0.0/16"
topology_preset = "three_tier_standard"
enable_dns_hostnames = true
enable_dns_support = true
enable_s3_endpoint = true
enable_ai_endpoint = true
}

# 2. Deploy Ingress Load Balancer in Public DMZ
resource "okustera_loadbalancer" "web_lb" {
name = "production-web-lb"
description = "Ingress traffic distributor"
vpc_id = okustera_vpc.production.id
tier = "public"
}

# 3. Security Group for Web Servers
resource "okustera_security_group" "web_sg" {
name = "web-server-sg"
description = "Allow inbound HTTP from Load Balancer"
}

resource "okustera_security_group_rule" "allow_http" {
security_group_id = okustera_security_group.web_sg.id
direction = "ingress"
ethertype = "IPv4"
protocol = "tcp"
port_range_min = 8080
port_range_max = 8080
remote_ip_prefix = "192.168.1.0/24" # Only from Public DMZ
}

REST API Reference​

Tenant VPC Endpoints​

  • GET /api/v1/vpcs — List all composite tenant VPCs.
  • POST /api/v1/vpcs — Provision a multi-tier VPC (three_tier_standard, custom CIDR).
  • GET /api/v1/vpcs/{id} — Retrieve detailed VPC topology, subnets, route tables, and endpoints.
  • DELETE /api/v1/vpcs/{id} — Decommission a VPC and its associated routing interfaces.
  • POST /api/v1/vpcs/{id}/subnets — Add a custom subnet to an existing VPC.
  • POST /api/v1/vpcs/{id}/route-tables — Create a custom route table and apply static routes.
  • POST /api/v1/vpcs/{id}/route-tables/{table_id}/routes — Add a static route to a route table.
  • POST /api/v1/vpcs/{id}/route-tables/{table_id}/associate — Associate a route table with a subnet.
  • GET /api/v1/vpcs/{id}/loadbalancers — List load balancers deployed inside VPC subnets.
  • POST /api/v1/vpcs/{id}/loadbalancers — Auto-provision a Managed Load Balancer in the Public DMZ.
  • GET /api/v1/vpcs/peerings — List VPC peering connections.
  • POST /api/v1/vpcs/peerings — Initiate a VPC peering connection.
  • GET /api/v1/vpcs/peerings/incoming — List pending peering requests from other projects.
  • POST /api/v1/vpcs/peerings/{id}/accept — Accept an incoming peering request.
  • DELETE /api/v1/vpcs/peerings/{id} — Terminate a VPC peering connection.
  • GET /api/v1/vpcs/{id}/endpoints — List PrivateLink platform service endpoints.
  • POST /api/v1/vpcs/{id}/endpoints — Provision a PrivateLink endpoint (com.okustera.s3, com.okustera.ai, com.okustera.registry, com.okustera.dbaas).
  • DELETE /api/v1/vpcs/{id}/endpoints/{endpoint_id} — Remove a PrivateLink endpoint.

Core Networks, Security Groups & Authoritative DNS​

  • GET /api/v1/network/networks — List tenant private networks and subnets.
  • POST /api/v1/network/networks — Create a new network with custom CIDR and DHCP.
  • DELETE /api/v1/network/networks/{id} — Delete a private network.
  • GET /api/v1/network/routers — List active virtual routers and gateway bindings.
  • GET /api/v1/network/security-groups — List security groups and attached rules.
  • POST /api/v1/network/security-groups — Create a new stateful security group.
  • POST /api/v1/network/security-groups/{id}/rules — Add a firewall rule (protocol, port range, CIDR).
  • DELETE /api/v1/network/security-groups/rules/{rule_id} — Remove a firewall rule.
  • GET /api/v1/network/floating-ips — List allocated floating IP addresses (including optional dns_domain and dns_name).
  • POST /api/v1/network/floating-ips — Allocate a new public floating IP with optional dns_domain and dns_name.
  • POST /api/v1/network/floating-ips/{id}/associate — Bind a public IP to an instance network port.
  • POST /api/v1/network/floating-ips/{id}/disassociate — Unbind a public IP from an instance network port.
  • DELETE /api/v1/network/floating-ips/{id} — Release a floating IP back to the public pool.
  • GET /api/v1/network/ports — List virtual network ports and IP configurations.
  • GET /api/v1/networking/dns/zones — List authoritative DNS zones.
  • POST /api/v1/networking/dns/zones — Create a new authoritative DNS zone.
  • POST /api/v1/networking/dns/zones/{zone_id}/recordsets — Create or update a DNS recordset.
  • POST /api/v1/networking/dns/zones/{zone_id}/bind-vip — 1-click bind a domain or subdomain to a Managed Load Balancer VIP.