CONTROL PLANE V1.0LOCALSTACK 4.14 + REDIS 7 + PYTHON 3.11ZERO PAYWALL // DUMMY SUBSCRIPTION
ISOLATION: FIRECRACKER MICROVMEPHEMERAL CODE EXECUTION IAAS.
Multi-tenant serverless control plane for isolated Python 3.11 microVM sandboxes. Backed by a DynamoDB Single-Table architecture, Redis Cache-Aside with strict TTL expiration, HS256 JWT authentication, and real-time monthly quota enforcement.
MICROVM TELEMETRY SPECLIVE
COLD BOOT LATENCY
~1.42 MS
REDIS CACHE TTL
300 SEC
FREE QUOTA CAP
14,400 SEC
PRO QUOTA CAP
UNLIMITED
POST /execute HTTP/1.1
Authorization: Bearer <HS256_JWT>
Content-Type: application/json
{
"code": "print('Firecracker MicroVM OK')",
"runtime": "python3.11",
"timeout": 5.0,
"memory_limit_mb": 128
}01 // THREE-CONTAINER STACK & DYNAMODB SINGLE-TABLE SCHEMA
CDKLOCAL DEPLOYDYNAMODB SINGLE-TABLE
PAY_PER_REQUESTUnified storage inside EphemeralSandboxTable partitioned by PK (STRING) and SK (STRING):
ACCOUNT#<id> | SK: METADATA
tier (FREE|PRO), password_hash, email
QUOTA#<id>#<YYYY-MM> | SK: SUMMARY
accumulated_seconds, limit_seconds
EXEC#<exec_id> | SK: METADATA
code, duration, status, stdout, telemetry
REDIS 7 CACHE-ASIDE + TTL
PORT 6379Every account and execution lookup checks Redis first and tags the response payload with _fuente: "cache" | "dynamodb".
1. GET exec:<id> -> HIT: _fuente="cache"
2. MISS -> DynamoDB GetItem(PK="EXEC#<id>")
3. SETEX exec:<id> 300 <json_payload>
4. RETURN _fuente="dynamodb"
EPHEMERAL SANDBOX RUNNER
PYTHON 3.11Executes untrusted Python snippets with strict timeout capping against remaining monthly quota and memory ceilings (RLIMIT_AS + tracemalloc).
effective_timeout = min(req_timeout, remaining_quota)
STATES: CREATING -> BOOTING -> RUNNING -> DESTROYED
HTTP 429 rejected when FREE >= 14,400s
02 // SUBSCRIPTION TIERS — INSTANT DUMMY PURCHASE (NO PAYWALL)
Clicking any plan button below immediately updates your tenant record in DynamoDB and Redis and issues a new JWT with zero payment wall.
TIER 01 // FREE SANDBOX
CAPPED AT 4 HOURS (14,400 SECONDS) PER MONTH
0.00 USD14,400 SEC / MONTH CAP
- 14,400 execution seconds per month (4 hours)
- Strict timeout capped at remaining monthly quota (
min(timeout, remaining)) - HTTP 429 Too Many Requests enforcement when quota is exhausted
- Python 3.11 Ephemeral MicroVM Runner + Redis Cache-Aside
TIER 02 // PRO ENTERPRISE MICROVM
UNLIMITED MONTHLY EXECUTION TIME — ZERO QUOTA REJECTIONS
0.00 USD29.00 USD/MO
DUMMY BUY // NO PAYWALL- UNLIMITED monthly execution seconds (no 14,400s ceiling)
- Up to 512 MB isolated microVM memory ceiling per execution
- Instant dummy activation: updates
ACCOUNT#<id>"A#<id>#<YYYY-MM>immediately - Full Daily, Weekly, Monthly & Projected Cost Telemetry