HomeEnterpriseSolution architectures

Solution architectures

Reference designs you can deploy today on Joy — with the components, the reasoning and the rough monthly cost.

Each design below is something we run for customers today. They are starting points, not prescriptions: take the pieces that fit, and ask for a review of your own design by opening a Sales ticket with a diagram attached.

1. Highly available web tier

Two VPS in different Joy regions (for example Mumbai and Noida) sit behind the CDN with origin shield enabled. A managed MySQL primary lives in Mumbai with a read replica in Noida; uploads go to object storage so either web node can serve them. DNS uses a 30-second TTL and health-checked records, so failover is a DNS flip that completes in under a minute. Sessions are stored in Redis on the primary region with a replica alongside the database.

Why it works: the CDN absorbs most reads, the shield protects the small origins, and a regional failure loses at most 30 seconds of new writes. Scale-up path: add web nodes hourly through the API during campaigns; destroy them after.

Bill of materials
  • 2 × Small VPS (2 vCPU / 4 GB) — web
  • 1 × Medium VPS — MySQL primary
  • 1 × Small VPS — replica + Redis
  • CDN with origin shield
  • Object storage (beta) or a Large VPS as file server

From about $50 / month plus CDN egress.

2. DDoS-protected game platform

Bare-metal game nodes sit on a private VLAN with no public addresses. Player traffic enters through Joy scrubbing and is delivered over Virtual Connect (GRE) to a pair of edge VPS running your own load balancer or the game's proxy layer; management traffic uses a separate /29 reachable only from your office IPs. NeuroMesh NetFlow scores flows in real time, so UDP floods are dropped before they reach the game ports.

Why it works: the game servers are unreachable except through the scrubbed path, and the edge VPS can be replaced hourly if an attack pattern changes. Scale-up path: add bare-metal nodes per region; hourly VPS for lobbies at peak.

Bill of materials
  • 2–8 × bare-metal game nodes (Gold, 64 GB, NVMe)
  • 2 × Medium VPS — edge / proxy
  • Virtual Connect (GRE) from $200 / month
  • Private VLAN (included in region)
  • Management /29

From about $600 / month for two nodes.

3. Multi-region API with hourly burst

Baseline capacity runs on monthly VPS in two regions behind the CDN (used here as a global anycast front door with caching disabled for dynamic paths). A queue drives background work; when queue depth crosses a threshold, a small controller calls POST /api/v1/instances with cycle: hourly to add workers, and DELETE them when the queue drains. Workers bootstrap from a snapshot-derived image and register themselves on boot.

Why it works: hourly billing means burst capacity costs cents, and the API's job model lets the controller wait for ready before routing work. Guard-rails: the API allows 10 deployments per hour per account — plan burst sizes accordingly or ask for a higher limit.

Bill of materials
  • 2 × Medium VPS — API baseline (monthly)
  • 1 × Small VPS — queue + controller
  • 0–10 × Small VPS — workers (hourly)
  • CDN as anycast front door
  • API token with orders.write + instances.write

From about $45 / month baseline; burst at $0.0135 / worker-hour.

4. ISP transit and peering

A regional ISP takes 1–10 G of IP transit at the Mumbai IX with Joy DDoS in the path, announces its prefixes with RPKI ROAs, and uses BGP communities for traffic engineering (prepend, no-export to specific upstreams, blackhole for attacked /32s). rDNS is delegated to the ISP's own nameservers. Optionally a second session in Noida provides geographic redundancy over dark fibre or an L2 circuit.

Why it works: deterministic paths through Tier-1 upstreams and 394 peers cut hops; scrubbing is upstream of the ISP's own edge so attacks never fill the transit port. Pricing: transit $500 / Gbps, DDoS-protected transit from $700 / Gbps, IX port from $150 / Gbps, cross-connect $100.

Bill of materials
  • 1–10 G IP transit (95th percentile)
  • DDoS-protected transit or Virtual Connect
  • IX fabric port
  • Cross-connect
  • Optional second site over L2 circuit

From $800 / month for 1 G protected transit with a port.

5. Windows line-of-business stack

A Windows Server 2022 application server and a SQL Server instance on Large VPS, joined to a small Active Directory domain controller on a Micro VPS, all on a private VLAN with only the RDP gateway exposed. Users connect through the gateway with NLA and MFA; nightly snapshots before patch Tuesday, and off-node backups to Joy backup space.

Why it works: Windows licences are per-VM add-ons, private VLANs are free within a region, and snapshots make patching reversible.

Bill of materials
  • 2 × Large VPS with Windows add-on
  • 1 × Micro VPS (domain controller)
  • 1 × Small VPS (RDP gateway)
  • Backup space 200 GB

From about $95 / month.

Design principles we apply

  • Two of everything that matters — two regions, two web nodes, replica databases; single-region designs are for staging.
  • Static IPs are an asset — reinstalls keep them; design DNS and firewalls around that.
  • Snapshots are not backups — use backup space or object storage for anything you cannot recreate.
  • Automate with the API — if a human has to click to scale, the design is not finished.
  • Put scrubbing in the path — every design above assumes DDoS filtering upstream of your edge.

Ask for a review of your design: open a ticket to Sales and attach a diagram. We reply with comments, a bill of materials and a price within a few business days.

Ready to build?

Create an account, verify your email, deploy in under 90 seconds — or talk to us first.