1 / 13
Migration Plan

VIRKSS Assessment Platform

Personal Cloudflare → Corporate Cloud

A complete plan to migrate, deploy, and operate the AI-powered technical assessment platform on corporate infrastructure — powered entirely by Claude Code AI subscription.

Corporate Migration
Google Cloud or AWS
Claude Code Powered
2026

What Is This Application?

An AI-powered platform that automates the entire technical candidate assessment process.

Candidate Management

Admin creates candidate accounts, assigns technical skills and experience levels for assessment.

AI Question Generation

AI generates fresh, unique questions every session — MCQ, Coding, and Theory questions automatically.

Timed Assessment

Candidate logs in, takes a timed assessment with auto-save and auto-submit functionality.

AI Scoring

AI automatically evaluates and scores all answers upon submission — no manual review needed.

Results & Reports

Admin views detailed results, scores, and exportable reports for all candidates.

Secure Authentication

JWT-based login, PBKDF2 password hashing, and AES-GCM encrypted API key storage.

Why Migrate to Corporate Cloud?

Moving from personal hosting to corporate infrastructure delivers security, compliance, and ownership.

Corporate Ownership

Currently hosted on a personal account. Corporate needs full ownership of the application and its data.

Data Security

Candidate assessment data must be stored and controlled under corporate infrastructure policies.

Compliance

Corporate IT policies require all applications to run on approved, auditable cloud infrastructure.

Reliability

Corporate cloud platforms provide enterprise-grade uptime guarantees and SLA commitments.

Accountability

Corporate billing, vendor management, audit logging, and procurement under company control.

Enterprise Agreement

Access to corporate Data Processing Agreements (DPA) with AI vendors — required for HR data.

Current Technical Stack

All components currently running on personal Cloudflare account.

React 18
TypeScript
Vite
Tailwind CSS
shadcn/ui
Framer Motion
Zustand
Hono.js v4
TypeScript
CF Workers
JWT HS256
AES-GCM
Cloudflare D1
SQLite
Wrangler Secrets
OpenRouter API
Claude Haiku
GPT-4o-mini
Gemini Flash

Current vs Corporate Technology

Each component maps cleanly to a corporate cloud equivalent. Core logic remains unchanged.

Layer Current — Cloudflare After Migration — GCP After Migration — AWS
Frontend UIReact 18 + Vite + Tailwind + shadcn/uiUnchangedUnchanged
State ManagementZustandUnchangedUnchanged
Backend FrameworkHono.js v4 + TypeScriptUnchangedUnchanged
Backend RuntimeCloudflare WorkersCloud Run (Node.js 20)App Runner (Node.js 20)
DatabaseCloudflare D1 (SQLite)Cloud SQL — PostgreSQL 15RDS — PostgreSQL 15
AuthenticationJWT HS256 + PBKDF2UnchangedUnchanged
EncryptionAES-GCM Web CryptoUnchangedUnchanged
AI EngineOpenRouter API (multi-model)Keep OpenRouter — or switch to Anthropic direct if IT requiresKeep OpenRouter — or switch to Anthropic direct if IT requires
Frontend HostingCloudflare PagesFirebase HostingS3 + CloudFront
Secrets ManagementWrangler SecretsGoogle Secret ManagerAWS Secrets Manager
Unchanged — zero code modification
Updated — handled by Claude Code

Why PostgreSQL?

The industry-standard open-source database — free software, trusted by the world's largest companies.

Free Software

PostgreSQL itself costs nothing — open source forever

Industry Standard

Used by Google, Apple, Instagram, Spotify

All Clouds

Natively supported on GCP and AWS

30+ Years

Battle-tested, reliable, enterprise-grade

Simple Analogy

PostgreSQL is like a filing cabinet — the cabinet itself is free. You only pay for the room (cloud server) it sits in. The cloud hosting cost is ~$10–15/month.

Google
Apple
Instagram
Spotify
Reddit
Twitter/X
  • Database schema — same tables, same data, same structure
  • All existing data — exported from Cloudflare D1, imported to PostgreSQL
  • SQL format — minor syntax update handled by Claude Code
  • Connection method — updated by Claude Code automatically

Who Does the Migration?

The entire migration, deployment, and testing is handled by Claude Code AI — included in the $20/month subscription.

Convert Database
SQLite → PostgreSQL
Update Backend
Cloudflare → Node.js
AI Engine
Keep OpenRouter or switch — only if IT requires
Update Frontend
New corporate API URL
Execute All Commands
Runs directly — no copy-paste
Deploy Backend
Cloud Run / App Runner
Deploy Frontend
Firebase / S3+CloudFront
Configure Secrets
Secret Manager setup
Configure Security
HTTPS, CORS, database access
Admin Login
Verify full admin access
Candidate Flow
End-to-end assessment test
AI Generation
Question generation verified
AI Scoring
Scoring and results verified
Auto Fix Issues
Resolves any errors automatically

Result — No Developer or DevOps Engineer Needed

All coding, deployment, and testing is handled by Claude Code. The only step the admin performs is logging in to the cloud account once.

Migration Phases

All phases executed by Claude Code. Admin logs in to cloud account once — Claude handles the rest.

1

Cloud Account Setup

Corporate creates GCP or AWS account. Admin logs in once. Claude Code provisions PostgreSQL database, creates Anthropic API account, stores API key securely in Secret Manager, and enables all required cloud services.

2

Code Migration

Database schema converted from SQLite to PostgreSQL. All existing data exported from Cloudflare D1 and imported into PostgreSQL with full verification. Backend updated, AI connection switched to Anthropic direct, frontend updated with corporate API URL.

3

Security Hardening

New JWT secret generated for corporate. Admin password reset — default password removed. CORS configured for corporate domain only. HTTPS verified on all endpoints. Database access locked — not publicly accessible.

4

Deployment

Claude Code executes all deployment commands directly. Backend deployed to Cloud Run or App Runner. Frontend deployed to Firebase Hosting or S3+CloudFront. Secrets configured in Secret Manager. HTTPS and CORS activated.

5

Testing & Verification

Full end-to-end test: admin login, candidate creation, candidate assessment flow, AI question generation, timer and auto-submit, AI scoring, results and reports. Any issues found are fixed automatically by Claude Code.

6

Go Live

New corporate URL shared with all users. Application live on corporate cloud infrastructure.

User Experience & Security

Zero change for users. Significant security improvement for the organisation.

  • Admin login and dashboard — exactly the same
  • Creating and managing candidates — exactly the same
  • Candidate login and assessment — exactly the same
  • AI question generation — exactly the same
  • Assessment timer and auto-submit — exactly the same
  • AI scoring and results — exactly the same
  • Reports and exports — exactly the same

Users Notice No Difference

Only the URL changes to a corporate address. Everything else looks and works identically.

Area
Today
After Migration
Data Ownership
Personal account
Corporate account
AI Data Routing
OpenRouter — keep if IT approves
OpenRouter kept or switched — corporate IT decision
Secrets
Personal Cloudflare
Enterprise Secret Manager
Compliance
Personal ToS
Corporate DPA
Audit Trail
Limited
Full cloud audit logging
DB Encryption
Yes
Yes — at rest + transit

Budget-Optimised Cost Plan

Single VM — Nginx + Node.js + PostgreSQL on one server. All components on one machine, no extra managed services.

Scenario A — 30 Concurrent Users
Budget: $100 / month
$90
GCP e2-standard-2 (2vCPU / 8GB)~$50/mo
Anthropic API (~100 assessments)~$20/mo
Claude Pro (1 user)$20/mo
DB Backup (daily pg_dump → Cloud Storage)~$0/mo
Within $100 budget Total ~$90/mo
AWS Equivalent
t3.large (2vCPU / 8GB) ~$60/mo + API $20 + Claude $20 ~$100/mo
Scenario B — 50 Concurrent Users
Budget: $200 / month
$160
GCP e2-standard-4 (4vCPU / 16GB)~$100/mo
Anthropic API (~200 assessments)~$40/mo
Claude Pro (1 user)$20/mo
DB Backup (daily pg_dump → Cloud Storage)~$0/mo
Well within $200 budget Total ~$160/mo
AWS Equivalent
t3.xlarge (4vCPU / 16GB) ~$120/mo + API $40 + Claude $20 ~$180/mo
Architecture
Single VM · Nginx + Node.js + PostgreSQL
GCP Recommended
30 users → $90/mo  |  50 users → $160/mo
Cost per Assessment
~$0.20 flat — fully predictable
DB Backup
Daily automated — ~$0/mo

Anthropic API — Predictable Cost at Any Volume

Cost per assessment stays flat at ~$0.20 regardless of volume — fully predictable for budgeting.

$0.20
Cost per assessment
$20
100 tests/month
$40
200 tests/month
$100
500 tests/month
50 assessments/month~$10/month
100 assessments/month ← Scenario A (30 users)~$20/month
200 assessments/month ← Scenario B (50 users)~$40/month
350 assessments/month~$70/month
500 assessments/month~$100/month

Scales Linearly — No Surprises

Every assessment costs exactly ~$0.20 in AI API usage. Budget is fully predictable. No minimum commitments, no surge pricing — pay only for what is used.

Licensing Considerations

Standard licensing items to be aware of before corporate deployment. All are straightforward to address.

Anthropic API — Move to Corporate Account

Transfer the existing personal Anthropic API key to a corporate Anthropic API account — company-owned, billed to corporate, same token pricing. One-time setup action.

One-time action

Claude Pro — Fine for 1 User

One person using Claude Pro for development and maintenance in a corporate context is standard. No additional licensing needed for a single user.

No action required — $20/month is sufficient

Anthropic API — Direct & Clean

AI requests go directly to Anthropic's models — no third-party gateway. Single-vendor setup, straightforward for corporate IT to approve.

No concern — standard vendor relationship

Open Source Libraries — No Issue

React, Hono.js, TypeScript, Tailwind, Node.js, PostgreSQL — all use MIT or Apache 2.0 licenses, fully permissive for commercial corporate use.

No action required

GCP / AWS Cloud Platform — No Issue

Both Google Cloud and AWS operate under standard commercial terms. Both are widely used, pre-approved vendors in most corporate IT environments.

No action required — standard cloud procurement

Recommendation & Summary

Amazon Web Services

30 Concurrent Users
$100/mo
t3.large · 2vCPU / 8GB
50 Concurrent Users
$180/mo
t3.xlarge · 4vCPU / 16GB
  • Good fit if corporate uses AWS already
  • Slightly higher VM cost vs GCP
ItemDetail
ApplicationAI-powered Technical Assessment Platform
Current hostingPersonal Cloudflare account
Target hostingCorporate GCP (recommended) or AWS — single VM
Tech stackReact + TypeScript + Hono.js + PostgreSQL + Anthropic API
Who does migrationClaude Code AI — no developer needed
Who does deploymentClaude Code AI — executes all commands
Admin involvementLog in to cloud account once — Claude does the rest
User experienceNo change — works identically
One-time cost$0 — covered by Claude subscription
GCP — 30 users~$90/month (within $100 budget)
GCP — 50 users~$160/month (within $200 budget)

Bottom Line

Single VM on GCP fits comfortably within budget — $90/month for 30 users or $160/month for 50 users (at $0.20/assessment with buffer). Migration and deployment handled entirely by Claude Code AI. Admin only logs in to the cloud account once.